diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-17 02:50:48 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-17 02:50:48 +0000 |
| commit | 86c63ce2d9e93786cb27f9056b90f6887cbc8826 (patch) | |
| tree | 2457fcfa3098bc1f6da35a6dff7ce1fcc2f52c90 /test/data | |
| parent | ba23a5ac276e59fdda8186750c6d0fd2cfecdeac (diff) | |
| download | puppet-86c63ce2d9e93786cb27f9056b90f6887cbc8826.tar.gz puppet-86c63ce2d9e93786cb27f9056b90f6887cbc8826.tar.xz puppet-86c63ce2d9e93786cb27f9056b90f6887cbc8826.zip | |
Fixing cron support (I hope). It now uses providers, and seems to work, at least on my os x box.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2284 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/providers/cron/crontab.allthree | 17 | ||||
| -rw-r--r-- | test/data/providers/cron/crontab.envNcomment | 12 | ||||
| -rw-r--r-- | test/data/providers/cron/crontab.envNname | 11 | ||||
| -rw-r--r-- | test/data/providers/cron/crontab.multirecords | 12 | ||||
| -rw-r--r-- | test/data/providers/cron/examples/freebsd (renamed from test/data/types/cron/freebsd) | 0 | ||||
| -rw-r--r-- | test/data/providers/cron/examples/one (renamed from test/data/types/cron/one) | 0 |
6 files changed, 52 insertions, 0 deletions
diff --git a/test/data/providers/cron/crontab.allthree b/test/data/providers/cron/crontab.allthree new file mode 100644 index 000000000..dd2a40466 --- /dev/null +++ b/test/data/providers/cron/crontab.allthree @@ -0,0 +1,17 @@ +--- +- | + # comment 1 + # Puppet Name: name2 + env3=val + * * * * * command4 + # comment 5 + +- - :record_type: :comment + :line: "# comment 1" + - :command: command4 + :environment: + - env3=val + :name: name2 + :record_type: :crontab + - :record_type: :comment + :line: "# comment 5" diff --git a/test/data/providers/cron/crontab.envNcomment b/test/data/providers/cron/crontab.envNcomment new file mode 100644 index 000000000..63effe076 --- /dev/null +++ b/test/data/providers/cron/crontab.envNcomment @@ -0,0 +1,12 @@ +--- +- | + # comment 9 + env10=val + * * * * * command11 + +- - :record_type: :comment + :line: "# comment 9" + - :record_type: :environment + :line: env10=val + - :command: command11 + :record_type: :crontab diff --git a/test/data/providers/cron/crontab.envNname b/test/data/providers/cron/crontab.envNname new file mode 100644 index 000000000..cc058248e --- /dev/null +++ b/test/data/providers/cron/crontab.envNname @@ -0,0 +1,11 @@ +--- +- | + env6=val + # Puppet Name: name7 + * * * * * command8 + +- - :record_type: :environment + :line: env6=val + - :command: command8 + :record_type: :crontab + :name: name7 diff --git a/test/data/providers/cron/crontab.multirecords b/test/data/providers/cron/crontab.multirecords new file mode 100644 index 000000000..63effe076 --- /dev/null +++ b/test/data/providers/cron/crontab.multirecords @@ -0,0 +1,12 @@ +--- +- | + # comment 9 + env10=val + * * * * * command11 + +- - :record_type: :comment + :line: "# comment 9" + - :record_type: :environment + :line: env10=val + - :command: command11 + :record_type: :crontab diff --git a/test/data/types/cron/freebsd b/test/data/providers/cron/examples/freebsd index fba1e310b..fba1e310b 100644 --- a/test/data/types/cron/freebsd +++ b/test/data/providers/cron/examples/freebsd diff --git a/test/data/types/cron/one b/test/data/providers/cron/examples/one index 9cddf97e7..9cddf97e7 100644 --- a/test/data/types/cron/one +++ b/test/data/providers/cron/examples/one |
