puppet 0.24.4 → 0.24.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- data/CHANGELOG +170 -0
- data/Rakefile +6 -4
- data/bin/filebucket +3 -2
- data/bin/puppet +7 -4
- data/bin/puppetca +32 -14
- data/bin/puppetd +12 -34
- data/bin/puppetmasterd +3 -2
- data/bin/puppetrun +5 -43
- data/bin/ralsh +2 -2
- data/conf/debian/README.source +2 -0
- data/conf/debian/TODO.Debian +1 -0
- data/conf/debian/changelog +257 -0
- data/conf/debian/compat +1 -0
- data/conf/debian/control +45 -0
- data/conf/debian/copyright +17 -0
- data/conf/debian/docs +1 -0
- data/conf/debian/fileserver.conf +12 -0
- data/conf/debian/puppet.NEWS +63 -0
- data/conf/debian/puppet.conf +8 -0
- data/conf/debian/puppet.dirs +7 -0
- data/conf/debian/puppet.files +6 -0
- data/conf/debian/puppet.init +64 -0
- data/conf/debian/puppet.logrotate +11 -0
- data/conf/debian/puppet.postinst +9 -0
- data/conf/debian/puppet.postrm +21 -0
- data/conf/debian/puppet.preinst +25 -0
- data/conf/debian/puppetmaster.files +4 -0
- data/conf/debian/puppetmaster.init +58 -0
- data/conf/debian/rules +115 -0
- data/conf/debian/watch +2 -0
- data/conf/gentoo/init.d/puppet +1 -1
- data/conf/gentoo/init.d/puppetmaster +32 -31
- data/conf/redhat/client.init +10 -2
- data/conf/redhat/puppet.spec +4 -1
- data/conf/redhat/server.init +9 -1
- data/examples/{code/allatonce → allatonce} +0 -0
- data/examples/{code/assignments → assignments} +0 -0
- data/examples/{code/components → components} +0 -0
- data/examples/{root/etc → etc}/init.d/sleeper +0 -0
- data/examples/{root/etc → etc}/otherfile +0 -0
- data/examples/{root/etc → etc}/puppet/fileserver.conf +0 -0
- data/examples/{root/etc → etc}/puppet/namespaceauth.conf +0 -0
- data/examples/{root/etc → etc}/puppet/puppet.conf +0 -0
- data/examples/{root/etc → etc}/puppet/tagmail.conf +0 -0
- data/examples/{code/execs → execs} +0 -0
- data/examples/{code/file.bl → file.bl} +0 -0
- data/examples/{code/filedefaults → filedefaults} +0 -0
- data/examples/{code/fileparsing → fileparsing} +0 -0
- data/examples/{code/filerecursion → filerecursion} +0 -0
- data/examples/{code/functions → functions} +0 -0
- data/examples/{code/groups → groups} +0 -0
- data/examples/{code/head → head} +0 -0
- data/examples/{code/importing → importing} +0 -0
- data/examples/{code/mac_automount.pp → mac_automount.pp} +0 -0
- data/examples/{code/mac_dscl.pp → mac_dscl.pp} +0 -0
- data/examples/{code/mac_dscl_revert.pp → mac_dscl_revert.pp} +0 -0
- data/examples/{code/mac_netinfo.pp → mac_netinfo.pp} +0 -0
- data/examples/{code/mac_pkgdmg.pp → mac_pkgdmg.pp} +0 -0
- data/examples/{code/modules → modules}/sample-module.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/README.txt +0 -0
- data/examples/{code/modules → modules}/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +0 -0
- data/examples/{code/modules → modules}/sample-module/manifests/init.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/templates/sample.erb +0 -0
- data/examples/{code/nodes → nodes} +0 -0
- data/examples/{code/one → one} +0 -0
- data/examples/{code/relationships → relationships} +0 -0
- data/examples/{code/selectors → selectors} +0 -0
- data/examples/{code/simpletests → simpletests} +0 -0
- data/examples/{code/svncommit → svncommit} +0 -0
- data/ext/autotest/Rakefile +8 -0
- data/ext/autotest/config +43 -0
- data/ext/autotest/readme.rst +16 -0
- data/{examples/root → ext}/bin/sleeper +1 -1
- data/ext/emacs/puppet-mode.el +246 -184
- data/ext/ldap/puppet.schema +7 -2
- data/ext/module_puppet +4 -3
- data/ext/nagios/check_puppet.rb +117 -0
- data/ext/puppetlast +40 -0
- data/install.rb +12 -3
- data/lib/puppet.rb +1 -44
- data/lib/puppet/defaults.rb +23 -10
- data/lib/puppet/dsl.rb +2 -2
- data/lib/puppet/executables/client/certhandler.rb +77 -0
- data/lib/puppet/external/nagios.rb +1 -1
- data/lib/puppet/external/nagios/base.rb +60 -46
- data/lib/puppet/file_serving/indirection_hooks.rb +4 -2
- data/lib/puppet/file_serving/metadata.rb +0 -9
- data/lib/puppet/file_serving/terminus_helper.rb +4 -4
- data/lib/puppet/indirector.rb +26 -28
- data/lib/puppet/indirector/catalog/compiler.rb +6 -28
- data/lib/puppet/indirector/checksum/file.rb +2 -2
- data/lib/puppet/indirector/direct_file_server.rb +7 -7
- data/lib/puppet/indirector/envelope.rb +13 -0
- data/lib/puppet/indirector/exec.rb +2 -2
- data/lib/puppet/indirector/facts/facter.rb +2 -2
- data/lib/puppet/indirector/file.rb +17 -14
- data/lib/puppet/indirector/file_metadata/file.rb +2 -2
- data/lib/puppet/indirector/file_server.rb +14 -14
- data/lib/puppet/indirector/indirection.rb +113 -48
- data/lib/puppet/indirector/ldap.rb +13 -25
- data/lib/puppet/indirector/memory.rb +7 -7
- data/lib/puppet/indirector/module_files.rb +14 -14
- data/lib/puppet/indirector/node/exec.rb +3 -10
- data/lib/puppet/indirector/node/ldap.rb +138 -41
- data/lib/puppet/indirector/node/plain.rb +1 -8
- data/lib/puppet/indirector/node/rest.rb +1 -1
- data/lib/puppet/indirector/plain.rb +2 -2
- data/lib/puppet/indirector/report/processor.rb +2 -2
- data/lib/puppet/indirector/request.rb +42 -0
- data/lib/puppet/indirector/rest.rb +51 -3
- data/lib/puppet/indirector/terminus.rb +0 -27
- data/lib/puppet/indirector/yaml.rb +12 -17
- data/lib/puppet/metatype/attributes.rb +3 -7
- data/lib/puppet/metatype/evaluation.rb +2 -2
- data/lib/puppet/module.rb +6 -2
- data/lib/puppet/network/client/master.rb +29 -81
- data/lib/puppet/network/handler/master.rb +12 -43
- data/lib/puppet/network/http.rb +8 -6
- data/lib/puppet/network/http/handler.rb +42 -32
- data/lib/puppet/network/http/mongrel.rb +8 -9
- data/lib/puppet/network/http/mongrel/rest.rb +42 -15
- data/lib/puppet/network/http/webrick.rb +27 -16
- data/lib/puppet/network/http/webrick/rest.rb +38 -14
- data/lib/puppet/network/http_pool.rb +3 -2
- data/lib/puppet/network/server.rb +24 -22
- data/lib/puppet/network/xmlrpc/client.rb +6 -1
- data/lib/puppet/node.rb +38 -79
- data/lib/puppet/node/catalog.rb +9 -0
- data/lib/puppet/node/facts.rb +9 -1
- data/lib/puppet/parser/ast/function.rb +1 -1
- data/lib/puppet/parser/collector.rb +6 -0
- data/lib/puppet/parser/compiler.rb +1 -1
- data/lib/puppet/parser/functions.rb +25 -1
- data/lib/puppet/parser/interpreter.rb +2 -17
- data/lib/puppet/parser/parser.rb +4 -4
- data/lib/puppet/parser/parser_support.rb +6 -2
- data/lib/puppet/parser/resource.rb +6 -0
- data/lib/puppet/parser/templatewrapper.rb +9 -0
- data/lib/puppet/pgraph.rb +1 -1
- data/lib/puppet/property.rb +0 -1
- data/lib/puppet/provider.rb +9 -95
- data/lib/puppet/provider/confine.rb +77 -0
- data/lib/puppet/provider/confine/exists.rb +22 -0
- data/lib/puppet/provider/confine/false.rb +19 -0
- data/lib/puppet/provider/confine/feature.rb +17 -0
- data/lib/puppet/provider/confine/true.rb +20 -0
- data/lib/puppet/provider/confine/variable.rb +42 -0
- data/lib/puppet/provider/confine_collection.rb +47 -0
- data/lib/puppet/provider/confiner.rb +20 -0
- data/lib/puppet/provider/cron/crontab.rb +6 -2
- data/lib/puppet/provider/group/groupadd.rb +1 -1
- data/lib/puppet/provider/group/ldap.rb +48 -0
- data/lib/puppet/provider/ldap.rb +137 -0
- data/lib/puppet/provider/nameservice.rb +1 -2
- data/lib/puppet/provider/nameservice/objectadd.rb +2 -5
- data/lib/puppet/provider/package/dpkg.rb +16 -1
- data/lib/puppet/provider/package/freebsd.rb +15 -4
- data/lib/puppet/provider/package/gem.rb +33 -12
- data/lib/puppet/provider/package/pkgdmg.rb +1 -60
- data/lib/puppet/provider/package/ports.rb +6 -1
- data/lib/puppet/provider/package/rpm.rb +14 -13
- data/lib/puppet/provider/package/urpmi.rb +3 -3
- data/lib/puppet/provider/service/base.rb +4 -4
- data/lib/puppet/provider/service/debian.rb +1 -1
- data/lib/puppet/provider/service/init.rb +5 -3
- data/lib/puppet/provider/service/redhat.rb +35 -7
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +69 -0
- data/lib/puppet/provider/user/ldap.rb +133 -0
- data/lib/puppet/provider/user/useradd.rb +1 -1
- data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +14 -14
- data/lib/puppet/rails/database/schema.rb +9 -0
- data/lib/puppet/rails/resource.rb +1 -0
- data/lib/puppet/reference/providers.rb +8 -2
- data/lib/puppet/reference/report.rb +23 -0
- data/lib/puppet/reports/rrdgraph.rb +4 -2
- data/lib/puppet/sslcertificates/ca.rb +9 -4
- data/lib/puppet/sslcertificates/support.rb +26 -2
- data/lib/puppet/transaction.rb +11 -16
- data/lib/puppet/transaction/change.rb +94 -0
- data/lib/puppet/transaction/event.rb +21 -0
- data/lib/puppet/transaction/report.rb +4 -0
- data/lib/puppet/type.rb +0 -2
- data/lib/puppet/type/file/ensure.rb +0 -5
- data/lib/puppet/type/file/group.rb +13 -7
- data/lib/puppet/type/file/source.rb +8 -15
- data/lib/puppet/type/file/target.rb +2 -0
- data/lib/puppet/type/group.rb +1 -1
- data/lib/puppet/type/mount.rb +4 -2
- data/lib/puppet/type/nagios_hostescalation.rb +3 -0
- data/lib/puppet/type/nagios_servicegroup.rb +3 -0
- data/lib/puppet/type/ssh_authorized_key.rb +56 -0
- data/lib/puppet/type/user.rb +3 -0
- data/lib/puppet/type/yumrepo.rb +0 -1
- data/lib/puppet/util.rb +1 -1
- data/lib/puppet/util/ldap.rb +5 -0
- data/lib/puppet/util/ldap/connection.rb +69 -0
- data/lib/puppet/util/ldap/generator.rb +45 -0
- data/lib/puppet/util/ldap/manager.rb +281 -0
- data/lib/puppet/util/posix.rb +2 -2
- data/lib/puppet/util/resource_template.rb +61 -0
- data/lib/puppet/util/settings.rb +63 -3
- data/lib/puppet/util/storage.rb +4 -0
- data/lib/puppet/util/warnings.rb +7 -0
- data/man/man8/filebucket.8 +116 -0
- data/man/man8/pi.8 +34 -0
- data/man/man8/puppet.8 +78 -0
- data/man/man8/puppet.conf.8 +1747 -0
- data/man/man8/puppetca.8 +118 -0
- data/man/man8/puppetd.8 +184 -0
- data/man/man8/puppetdoc.8 +62 -0
- data/man/man8/puppetmasterd.8 +87 -0
- data/man/man8/puppetrun.8 +151 -0
- data/man/man8/ralsh.8 +135 -0
- data/test/README +24 -0
- data/test/certmgr/support.rb +28 -1
- data/test/data/failers/badclassnoparam +10 -0
- data/test/data/failers/badclassparam +10 -0
- data/test/data/failers/badcompnoparam +9 -0
- data/test/data/failers/badcompparam +9 -0
- data/test/data/failers/badtypeparam +3 -0
- data/test/data/failers/noobjectrvalue +1 -0
- data/test/data/providers/cron/crontab.allthree +17 -0
- data/test/data/providers/cron/crontab.envNcomment +12 -0
- data/test/data/providers/cron/crontab.envNname +11 -0
- data/test/data/providers/cron/crontab.multirecords +12 -0
- data/test/data/providers/cron/crontab_collections.yaml +44 -0
- data/test/data/providers/cron/crontab_multiple_with_env.yaml +54 -0
- data/test/data/providers/cron/crontab_sample_records.yaml +272 -0
- data/test/data/providers/cron/examples/freebsd +2 -0
- data/test/data/providers/cron/examples/one +14 -0
- data/test/data/providers/cron/examples/openbsd +20 -0
- data/test/data/providers/package/testpackages.yaml +65 -0
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +5 -0
- data/test/data/reports/1.yaml +108 -0
- data/test/data/reports/2.yaml +108 -0
- data/test/data/reports/tagmail_failers.conf +3 -0
- data/test/data/reports/tagmail_passers.conf +30 -0
- data/test/data/snippets/aliastest.pp +16 -0
- data/test/data/snippets/argumentdefaults +14 -0
- data/test/data/snippets/casestatement.pp +58 -0
- data/test/data/snippets/classheirarchy.pp +15 -0
- data/test/data/snippets/classincludes.pp +17 -0
- data/test/data/snippets/classpathtest +11 -0
- data/test/data/snippets/collection.pp +10 -0
- data/test/data/snippets/collection_within_virtual_definitions.pp +20 -0
- data/test/data/snippets/componentmetaparams.pp +11 -0
- data/test/data/snippets/componentrequire.pp +8 -0
- data/test/data/snippets/deepclassheirarchy.pp +23 -0
- data/test/data/snippets/defineoverrides.pp +17 -0
- data/test/data/snippets/emptyclass.pp +9 -0
- data/test/data/snippets/emptyexec.pp +3 -0
- data/test/data/snippets/falsevalues.pp +3 -0
- data/test/data/snippets/filecreate +11 -0
- data/test/data/snippets/fqdefinition.pp +5 -0
- data/test/data/snippets/fqparents.pp +11 -0
- data/test/data/snippets/implicititeration +15 -0
- data/test/data/snippets/multipleinstances +7 -0
- data/test/data/snippets/multisubs.pp +13 -0
- data/test/data/snippets/namevartest +9 -0
- data/test/data/snippets/scopetest +13 -0
- data/test/data/snippets/selectorvalues.pp +42 -0
- data/test/data/snippets/simpledefaults +5 -0
- data/test/data/snippets/simpleselector +38 -0
- data/test/data/snippets/singleary.pp +19 -0
- data/test/data/snippets/singlequote.pp +11 -0
- data/test/data/snippets/singleselector.pp +22 -0
- data/test/data/snippets/subclass_name_duplication.pp +11 -0
- data/test/data/snippets/tag.pp +9 -0
- data/test/data/snippets/tagged.pp +35 -0
- data/test/data/snippets/virtualresources.pp +14 -0
- data/test/data/types/hosts/1 +3 -0
- data/test/data/types/hosts/2 +13 -0
- data/test/data/types/hosts/solaris +5 -0
- data/test/data/types/mailalias/file1 +183 -0
- data/test/data/types/mount/freebsd.fstab +7 -0
- data/test/data/types/mount/linux.fstab +11 -0
- data/test/data/types/mount/solaris.fstab +11 -0
- data/test/data/types/port/1 +533 -0
- data/test/data/types/port/darwin +11866 -0
- data/test/data/types/ssh_authorized_key/1 +2 -0
- data/test/data/types/sshkey/1 +21 -0
- data/test/data/types/yumrepos/fedora-devel.repo +26 -0
- data/test/data/types/yumrepos/fedora.repo +9 -0
- data/test/language/parser.rb +8 -1
- data/test/lib/puppettest/runnable_test.rb +3 -0
- data/test/lib/puppettest/support/utils.rb +1 -1
- data/test/lib/rake/puppet_testtask.rb +3 -0
- data/test/lib/stubba.rb +1 -1
- data/test/network/client/ca.rb +1 -0
- data/test/network/client/master.rb +13 -127
- data/test/network/handler/master.rb +61 -80
- data/test/other/provider.rb +0 -45
- data/test/other/transactions.rb +53 -15
- data/test/rails/host.rb +0 -37
- data/test/ral/providers/cron/crontab.rb +32 -3
- data/test/ral/providers/provider.rb +28 -7
- data/test/ral/type/filesources.rb +2 -18
- data/test/ral/type/sshkey.rb +0 -1
- data/test/ral/type/user.rb +6 -0
- data/test/test +241 -0
- metadata +289 -113
- data/examples/root/etc/configfile +0 -0
- data/examples/root/etc/debian-passwd +0 -29
- data/examples/root/etc/debian-syslog.conf +0 -71
- data/lib/puppet/event.rb +0 -28
- data/lib/puppet/network/handler/configuration.rb +0 -184
- data/lib/puppet/network/http/mongrel/xmlrpc.rb +0 -4
- data/lib/puppet/network/http/webrick/xmlrpc.rb +0 -4
- data/lib/puppet/propertychange.rb +0 -141
- data/lib/puppet/provider/interface/redhat.rb +0 -250
- data/lib/puppet/provider/interface/sunos.rb +0 -133
- data/lib/puppet/type/interface.rb +0 -60
- data/lib/puppet/util/variables.rb +0 -38
- data/test/network/handler/configuration.rb +0 -160
- data/test/other/propertychange.rb +0 -140
- data/test/util/loadedfile.rb +0 -121
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
:with_name:
|
3
|
+
- :name
|
4
|
+
- :spaces_in_command_with_times
|
5
|
+
:with_env:
|
6
|
+
- :environment
|
7
|
+
- :spaces_in_command_with_times
|
8
|
+
:simple:
|
9
|
+
- :spaces_in_command_with_times
|
10
|
+
:with_multiple_envs:
|
11
|
+
- :environment
|
12
|
+
- :lowercase_environment
|
13
|
+
- :spaces_in_command_with_times
|
14
|
+
:with_name_and_env:
|
15
|
+
- :name_with_spaces
|
16
|
+
- :another_env
|
17
|
+
- :spaces_in_command_with_times
|
18
|
+
:with_name_and_multiple_envs:
|
19
|
+
- :long_name
|
20
|
+
- :another_env
|
21
|
+
- :fourth_env
|
22
|
+
- :spaces_in_command_with_times
|
23
|
+
---
|
24
|
+
:with_name:
|
25
|
+
- :name
|
26
|
+
- :spaces_in_command_with_times
|
27
|
+
:with_env:
|
28
|
+
- :environment
|
29
|
+
- :spaces_in_command_with_times
|
30
|
+
:simple:
|
31
|
+
- :spaces_in_command_with_times
|
32
|
+
:with_multiple_envs:
|
33
|
+
- :environment
|
34
|
+
- :lowercase_environment
|
35
|
+
- :spaces_in_command_with_times
|
36
|
+
:with_name_and_env:
|
37
|
+
- :name_with_spaces
|
38
|
+
- :another_env
|
39
|
+
- :spaces_in_command_with_times
|
40
|
+
:with_name_and_multiple_envs:
|
41
|
+
- :long_name
|
42
|
+
- :another_env
|
43
|
+
- :fourth_env
|
44
|
+
- :spaces_in_command_with_times
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
- |
|
3
|
+
# comment 1
|
4
|
+
# Puppet Name: name2
|
5
|
+
env3=val
|
6
|
+
* * * * * command4
|
7
|
+
# Puppet Name: name with spaces
|
8
|
+
env3=val
|
9
|
+
env4=other
|
10
|
+
* * * * * command5
|
11
|
+
# comment 5
|
12
|
+
|
13
|
+
- - :record_type: :comment
|
14
|
+
:line: "# comment 1"
|
15
|
+
- :command: command4
|
16
|
+
:environment:
|
17
|
+
- env3=val
|
18
|
+
:name: name2
|
19
|
+
:record_type: :crontab
|
20
|
+
- :command: command5
|
21
|
+
:environment:
|
22
|
+
- env3=val
|
23
|
+
- env4=other
|
24
|
+
:name: name with spaces
|
25
|
+
:record_type: :crontab
|
26
|
+
- :record_type: :comment
|
27
|
+
:line: "# comment 5"
|
28
|
+
---
|
29
|
+
- |
|
30
|
+
# comment 1
|
31
|
+
# Puppet Name: name2
|
32
|
+
env3=val
|
33
|
+
* * * * * command4
|
34
|
+
# Puppet Name: name with spaces
|
35
|
+
env3=val
|
36
|
+
env4=other
|
37
|
+
* * * * * command5
|
38
|
+
# comment 5
|
39
|
+
|
40
|
+
- - :record_type: :comment
|
41
|
+
:line: "# comment 1"
|
42
|
+
- :command: command4
|
43
|
+
:environment:
|
44
|
+
- env3=val
|
45
|
+
:name: name2
|
46
|
+
:record_type: :crontab
|
47
|
+
- :command: command5
|
48
|
+
:environment:
|
49
|
+
- env3=val
|
50
|
+
- env4=other
|
51
|
+
:name: name with spaces
|
52
|
+
:record_type: :crontab
|
53
|
+
- :record_type: :comment
|
54
|
+
:line: "# comment 5"
|
@@ -0,0 +1,272 @@
|
|
1
|
+
---
|
2
|
+
:longcommment:
|
3
|
+
:text: "# This is a comment"
|
4
|
+
:record:
|
5
|
+
:line: "# This is a comment"
|
6
|
+
:record_type: :comment
|
7
|
+
:special:
|
8
|
+
:text: "@hourly /bin/date"
|
9
|
+
:record:
|
10
|
+
:special: hourly
|
11
|
+
:command: /bin/date
|
12
|
+
:record_type: :freebsd_special
|
13
|
+
:long_name:
|
14
|
+
:text: "# Puppet Name: long_name"
|
15
|
+
:record:
|
16
|
+
:line: "# Puppet Name: long_name"
|
17
|
+
:name: long_name
|
18
|
+
:record_type: :comment
|
19
|
+
:multiple_minutes:
|
20
|
+
:text: 5,15 * * * * /bin/date
|
21
|
+
:record:
|
22
|
+
:minute:
|
23
|
+
- "5"
|
24
|
+
- "15"
|
25
|
+
:command: /bin/date
|
26
|
+
:record_type: :crontab
|
27
|
+
:environment:
|
28
|
+
:text: ONE=TWO
|
29
|
+
:record:
|
30
|
+
:line: ONE=TWO
|
31
|
+
:record_type: :environment
|
32
|
+
:empty:
|
33
|
+
:text: ""
|
34
|
+
:record:
|
35
|
+
:line: ""
|
36
|
+
:record_type: :blank
|
37
|
+
:simple:
|
38
|
+
:text: "* * * * * /bin/date"
|
39
|
+
:record:
|
40
|
+
:command: /bin/date
|
41
|
+
:record_type: :crontab
|
42
|
+
:whitespace:
|
43
|
+
:text: " "
|
44
|
+
:record:
|
45
|
+
:line: " "
|
46
|
+
:record_type: :blank
|
47
|
+
:minute_and_hour:
|
48
|
+
:text: 5 15 * * * /bin/date
|
49
|
+
:record:
|
50
|
+
:minute:
|
51
|
+
- "5"
|
52
|
+
:hour:
|
53
|
+
- "15"
|
54
|
+
:command: /bin/date
|
55
|
+
:record_type: :crontab
|
56
|
+
:lowercase_environment:
|
57
|
+
:text: a=b
|
58
|
+
:record:
|
59
|
+
:line: a=b
|
60
|
+
:record_type: :environment
|
61
|
+
:special_with_spaces:
|
62
|
+
:text: "@daily /bin/echo testing"
|
63
|
+
:record:
|
64
|
+
:special: daily
|
65
|
+
:command: /bin/echo testing
|
66
|
+
:record_type: :freebsd_special
|
67
|
+
:tabs:
|
68
|
+
:text: !binary |
|
69
|
+
CQ==
|
70
|
+
|
71
|
+
:record:
|
72
|
+
:line: !binary |
|
73
|
+
CQ==
|
74
|
+
|
75
|
+
:record_type: :blank
|
76
|
+
:multiple_minute_and_hour:
|
77
|
+
:text: 5,10 15,20 * * * /bin/date
|
78
|
+
:record:
|
79
|
+
:minute:
|
80
|
+
- "5"
|
81
|
+
- "10"
|
82
|
+
:hour:
|
83
|
+
- "15"
|
84
|
+
- "20"
|
85
|
+
:command: /bin/date
|
86
|
+
:record_type: :crontab
|
87
|
+
:name:
|
88
|
+
:text: "# Puppet Name: testing"
|
89
|
+
:record:
|
90
|
+
:line: "# Puppet Name: testing"
|
91
|
+
:name: testing
|
92
|
+
:record_type: :comment
|
93
|
+
:another_env:
|
94
|
+
:text: Testing=True
|
95
|
+
:record:
|
96
|
+
:line: Testing=True
|
97
|
+
:record_type: :environment
|
98
|
+
:shortcomment:
|
99
|
+
:text: "#"
|
100
|
+
:record:
|
101
|
+
:line: "#"
|
102
|
+
:record_type: :comment
|
103
|
+
:spaces_in_command:
|
104
|
+
:text: "* * * * * /bin/echo testing"
|
105
|
+
:record:
|
106
|
+
:command: /bin/echo testing
|
107
|
+
:record_type: :crontab
|
108
|
+
:fourth_env:
|
109
|
+
:text: True=False
|
110
|
+
:record:
|
111
|
+
:line: True=False
|
112
|
+
:record_type: :environment
|
113
|
+
:simple_with_minute:
|
114
|
+
:text: 5 * * * * /bin/date
|
115
|
+
:record:
|
116
|
+
:minute:
|
117
|
+
- "5"
|
118
|
+
:command: /bin/date
|
119
|
+
:record_type: :crontab
|
120
|
+
:spaces_in_command_with_times:
|
121
|
+
:text: 5,10 15,20 * * * /bin/echo testing
|
122
|
+
:record:
|
123
|
+
:minute:
|
124
|
+
- "5"
|
125
|
+
- "10"
|
126
|
+
:hour:
|
127
|
+
- "15"
|
128
|
+
- "20"
|
129
|
+
:command: /bin/echo testing
|
130
|
+
:record_type: :crontab
|
131
|
+
:name_with_spaces:
|
132
|
+
:text: "# Puppet Name: another name"
|
133
|
+
:record:
|
134
|
+
:line: "# Puppet Name: another name"
|
135
|
+
:name: another name
|
136
|
+
:record_type: :comment
|
137
|
+
---
|
138
|
+
:longcommment:
|
139
|
+
:text: "# This is a comment"
|
140
|
+
:record:
|
141
|
+
:line: "# This is a comment"
|
142
|
+
:record_type: :comment
|
143
|
+
:special:
|
144
|
+
:text: "@hourly /bin/date"
|
145
|
+
:record:
|
146
|
+
:special: hourly
|
147
|
+
:command: /bin/date
|
148
|
+
:record_type: :freebsd_special
|
149
|
+
:long_name:
|
150
|
+
:text: "# Puppet Name: long_name"
|
151
|
+
:record:
|
152
|
+
:line: "# Puppet Name: long_name"
|
153
|
+
:name: long_name
|
154
|
+
:record_type: :comment
|
155
|
+
:multiple_minutes:
|
156
|
+
:text: 5,15 * * * * /bin/date
|
157
|
+
:record:
|
158
|
+
:minute:
|
159
|
+
- "5"
|
160
|
+
- "15"
|
161
|
+
:command: /bin/date
|
162
|
+
:record_type: :crontab
|
163
|
+
:environment:
|
164
|
+
:text: ONE=TWO
|
165
|
+
:record:
|
166
|
+
:line: ONE=TWO
|
167
|
+
:record_type: :environment
|
168
|
+
:empty:
|
169
|
+
:text: ""
|
170
|
+
:record:
|
171
|
+
:line: ""
|
172
|
+
:record_type: :blank
|
173
|
+
:simple:
|
174
|
+
:text: "* * * * * /bin/date"
|
175
|
+
:record:
|
176
|
+
:command: /bin/date
|
177
|
+
:record_type: :crontab
|
178
|
+
:whitespace:
|
179
|
+
:text: " "
|
180
|
+
:record:
|
181
|
+
:line: " "
|
182
|
+
:record_type: :blank
|
183
|
+
:minute_and_hour:
|
184
|
+
:text: 5 15 * * * /bin/date
|
185
|
+
:record:
|
186
|
+
:minute:
|
187
|
+
- "5"
|
188
|
+
:hour:
|
189
|
+
- "15"
|
190
|
+
:command: /bin/date
|
191
|
+
:record_type: :crontab
|
192
|
+
:lowercase_environment:
|
193
|
+
:text: a=b
|
194
|
+
:record:
|
195
|
+
:line: a=b
|
196
|
+
:record_type: :environment
|
197
|
+
:special_with_spaces:
|
198
|
+
:text: "@daily /bin/echo testing"
|
199
|
+
:record:
|
200
|
+
:special: daily
|
201
|
+
:command: /bin/echo testing
|
202
|
+
:record_type: :freebsd_special
|
203
|
+
:tabs:
|
204
|
+
:text: !binary |
|
205
|
+
CQ==
|
206
|
+
|
207
|
+
:record:
|
208
|
+
:line: !binary |
|
209
|
+
CQ==
|
210
|
+
|
211
|
+
:record_type: :blank
|
212
|
+
:multiple_minute_and_hour:
|
213
|
+
:text: 5,10 15,20 * * * /bin/date
|
214
|
+
:record:
|
215
|
+
:minute:
|
216
|
+
- "5"
|
217
|
+
- "10"
|
218
|
+
:hour:
|
219
|
+
- "15"
|
220
|
+
- "20"
|
221
|
+
:command: /bin/date
|
222
|
+
:record_type: :crontab
|
223
|
+
:name:
|
224
|
+
:text: "# Puppet Name: testing"
|
225
|
+
:record:
|
226
|
+
:line: "# Puppet Name: testing"
|
227
|
+
:name: testing
|
228
|
+
:record_type: :comment
|
229
|
+
:another_env:
|
230
|
+
:text: Testing=True
|
231
|
+
:record:
|
232
|
+
:line: Testing=True
|
233
|
+
:record_type: :environment
|
234
|
+
:shortcomment:
|
235
|
+
:text: "#"
|
236
|
+
:record:
|
237
|
+
:line: "#"
|
238
|
+
:record_type: :comment
|
239
|
+
:spaces_in_command:
|
240
|
+
:text: "* * * * * /bin/echo testing"
|
241
|
+
:record:
|
242
|
+
:command: /bin/echo testing
|
243
|
+
:record_type: :crontab
|
244
|
+
:fourth_env:
|
245
|
+
:text: True=False
|
246
|
+
:record:
|
247
|
+
:line: True=False
|
248
|
+
:record_type: :environment
|
249
|
+
:simple_with_minute:
|
250
|
+
:text: 5 * * * * /bin/date
|
251
|
+
:record:
|
252
|
+
:minute:
|
253
|
+
- "5"
|
254
|
+
:command: /bin/date
|
255
|
+
:record_type: :crontab
|
256
|
+
:spaces_in_command_with_times:
|
257
|
+
:text: 5,10 15,20 * * * /bin/echo testing
|
258
|
+
:record:
|
259
|
+
:minute:
|
260
|
+
- "5"
|
261
|
+
- "10"
|
262
|
+
:hour:
|
263
|
+
- "15"
|
264
|
+
- "20"
|
265
|
+
:command: /bin/echo testing
|
266
|
+
:record_type: :crontab
|
267
|
+
:name_with_spaces:
|
268
|
+
:text: "# Puppet Name: another name"
|
269
|
+
:record:
|
270
|
+
:line: "# Puppet Name: another name"
|
271
|
+
:name: another name
|
272
|
+
:record_type: :comment
|
@@ -0,0 +1,14 @@
|
|
1
|
+
TZ=Europe/Paris
|
2
|
+
#
|
3
|
+
# Some comments
|
4
|
+
# and more comments
|
5
|
+
#
|
6
|
+
SHELL=/bin/sh
|
7
|
+
0 0 * * * /usr/local/bin/savelogs --period --postmovehook="/usr/local/apache/bin/apachectl graceful" --apacheconf=/www/conf/httpd.conf
|
8
|
+
58 23 * * * /usr/bin/diff /var/log/slow-queries.log /backup/var/log/slow-queries.log
|
9
|
+
59 23 * * * /usr/bin/diff /var/db/mysql/*.err /backup/var/db/mysql/*.err
|
10
|
+
0 7 * * Mon cd /usr/local/install; find . -maxdepth 1 -type f -mtime -30 -exec ls -l {} \; | mail -E -s 'Recent vinstall kits' vinstall@domain.com
|
11
|
+
#* * * * * /bin/ls|mail -s 'test !!' gg@domain.com
|
12
|
+
47 4 * * 1 /usr/local/bin/wget 'ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY' -O /home/installman/www/install.domain.com/inst/MIRRORED.BY
|
13
|
+
25 */2 * * * /usr/local/bin/freshclam --quiet
|
14
|
+
#* * * * * /root/top.sh
|
@@ -0,0 +1,20 @@
|
|
1
|
+
#
|
2
|
+
SHELL=/bin/sh
|
3
|
+
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
4
|
+
HOME=/var/log
|
5
|
+
#
|
6
|
+
#minute hour mday month wday command
|
7
|
+
#
|
8
|
+
# sendmail clientmqueue runner
|
9
|
+
*/30 * * * * /usr/sbin/sendmail -L sm-msp-queue -Ac -q
|
10
|
+
#
|
11
|
+
# rotate log files every hour, if necessary
|
12
|
+
0 * * * * /usr/bin/newsyslog
|
13
|
+
# send log file notifications, if necessary
|
14
|
+
#1-59 * * * * /usr/bin/newsyslog -m
|
15
|
+
#
|
16
|
+
# do daily/weekly/monthly maintenance
|
17
|
+
30 1 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "`/bin/hostname` daily output" root
|
18
|
+
30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "`/bin/hostname` weekly output" root
|
19
|
+
30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root
|
20
|
+
#0 * * * * /usr/libexec/spamd-setup
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
- :operatingsystem: Solaris
|
3
|
+
:files:
|
4
|
+
- /usr/local/pkg/rdesktop-1.3.1-sol10-intel-local
|
5
|
+
- /usr/local/pkg/rdesktop-1.4.1-sol10-x86-local
|
6
|
+
:hardwareisa: i386
|
7
|
+
:name: SMCrdesk
|
8
|
+
:operatingsystemrelease: "5.10"
|
9
|
+
:provider: :sun
|
10
|
+
- :operatingsystem: Solaris
|
11
|
+
:name: cabextract
|
12
|
+
:provider: :blastwave
|
13
|
+
- :operatingsystem: Solaris
|
14
|
+
:files:
|
15
|
+
- /usr/local/pkg/arc-5.21e-sol8-sparc-local
|
16
|
+
:hardwareisa: sparc
|
17
|
+
:name: SMCarc
|
18
|
+
:operatingsystemrelease: "5.8"
|
19
|
+
:provider: :sun
|
20
|
+
- :operatingsystem: Solaris
|
21
|
+
:files:
|
22
|
+
- /usr/local/pkg/arc-5.21e-sol8-intel-local
|
23
|
+
:hardwareisa: i386
|
24
|
+
:name: SMCarc
|
25
|
+
:operatingsystemrelease: "5.8"
|
26
|
+
:provider: :sun
|
27
|
+
- :operatingsystem: OpenBSD
|
28
|
+
:files:
|
29
|
+
- ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.8/packages/i386/aalib-1.2-no_x11.tgz
|
30
|
+
:name: aalib
|
31
|
+
:provider: :openbsd
|
32
|
+
- :operatingsystem: Debian
|
33
|
+
:name: zec
|
34
|
+
:provider: :apt
|
35
|
+
- :operatingsystem: Debian
|
36
|
+
:name: zec
|
37
|
+
:provider: :aptitude
|
38
|
+
- :operatingsystem: Fedora
|
39
|
+
:name: wv
|
40
|
+
:provider: :yum
|
41
|
+
- :operatingsystem:
|
42
|
+
- Fedora
|
43
|
+
- CentOS
|
44
|
+
- RedHat
|
45
|
+
:files:
|
46
|
+
- /home/luke/rpm/RPMS/noarch/enhost-1.0.1-1.noarch.rpm
|
47
|
+
- /home/luke/rpm/RPMS/noarch/enhost-1.0.2-1.noarch.rpm
|
48
|
+
:name: enhost
|
49
|
+
:provider: :rpm
|
50
|
+
- :operatingsystem: Darwin
|
51
|
+
:name: aop
|
52
|
+
:provider: :darwinports
|
53
|
+
- :operatingsystem: FreeBSD
|
54
|
+
:name: yahtzee
|
55
|
+
:provider: :ports
|
56
|
+
- :provider: :apple
|
57
|
+
:files:
|
58
|
+
- /Users/luke/Documents/Puppet/pkgtesting.pkg
|
59
|
+
:name: pkgtesting
|
60
|
+
:cleanup: rm -rf /Library/Receipts/pkgtesting.pkg/ /tmp/file
|
61
|
+
- :provider: :gem
|
62
|
+
:name: wxrubylayouts
|
63
|
+
:versions:
|
64
|
+
- 0.0.2
|
65
|
+
- 0.0.3
|