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,5 @@
|
|
1
|
+
ssh-dss AAAAB3NzaC1kc3MAAACBAJkupmdsJSDXfUy5EU5NTRBDr9Woo3w0YnB8KmnJW9ghU8C7SkWPB1fIHVe+esFfd3qWBseb83PoFX63geZJAg6bjV4/Rdn1zEoa9EO2QyUdYUen4+rpsh3vVKZ6HFNsn3+W5+kPYgE1F/N4INqkbjY3sqCkP/W1BL9+sbVVbuJFAAAAFQCfjWDk5XhvGUkPjNWWVqltBYzHtwAAAIEAg/XL7ky7x9Ad5banzPFAfmM+DGFe0A/JEbLDjKmr5KBM5x4RFohtEvZ8ECuVGUOqBWdgAjyYwsG4oRVjLnKrf/rgmbNRzSFgEWkcAye3BVwk7Dt6hh4knEl+mNfOLq+FH0011UhecOiqTcESMzQDtgQ1vJh2VchElBLjl3x/ZugAAACAAh5jGQC338t5ObP8trSlOefkx0sXmmEzUbo3Mt8mGUuGJPx8m+X0L8Xd+l5rQxytqE3SmV/RD+6REqBuPqHM8RQuqAzfjdOeg/Ajdggx1CRMTVhltZsgQoxO30cz9Qo0SdPoL+Jp1fLuaLZq7m/RmsWYvoLT3jebBlpvvQE8YlI= francois.deppierraz@nimag.net
|
2
|
+
ssh-dss AAAAB3NzaC1kc3MAAACBAJkupmdsJSDXfUy5EU5NTRBDr9Woo3w0YnB8KmnJW9ghU8C7SkWPB1fIHVe+esFfd3qWBseb83PoFX63geZJAg6bjV4/Rdn1zEoa9EO2QyUdYUen4+rpsh3vVKZ6HFNsn3+W5+kPYgE1F/N4INqkbjY3sqCkP/W1BL9+sbVVbuJFAAAAFQCfjWDk5XhvGUkPjNWWVqltBYzHtwAAAIEAg/XL7ky7x9Ad5banzPFAfmM+DGFe0A/JEbLDjKmr5KBM5x4RFohtEvZ8ECuVGUOqBWdgAjyYwsG4oRVjLnKrf/rgmbNRzSFgEWkcAye3BVwk7Dt6hh4knEl+mNfOLq+FH0011UhecOiqTcESMzQDtgQ1vJh2VchElBLjl3x/ZugAAACAAh5jGQC338t5ObP8trSlOefkx0sXmmEzUbo3Mt8mGUuGJPx8m+X0L8Xd+l5rQxytqE3SmV/RD+6REqBuPqHM8RQuqAzfjdOeg/Ajdggx1CRMTVhltZsgQoxO30cz9Qo0SdPoL+Jp1fLuaLZq7m/RmsWYvoLT3jebBlpvvQE8YlI= Francois Deppierraz <francois@ctrlaltdel.ch>
|
3
|
+
from="192.168.1.1",command="/bin/false",no-pty,no-port-forwarding ssh-dss AAAAB3NzaC1kc3MAAACBAJkupmdsJSDXfUy5EU5NTRBDr9Woo3w0YnB8KmnJW9ghU8C7SkWPB1fIHVe+esFfd3qWBseb83PoFX63geZJAg6bjV4/Rdn1zEoa9EO2QyUdYUen4+rpsh3vVKZ6HFNsn3+W5+kPYgE1F/N4INqkbjY3sqCkP/W1BL9+sbVVbuJFAAAAFQCfjWDk5XhvGUkPjNWWVqltBYzHtwAAAIEAg/XL7ky7x9Ad5banzPFAfmM+DGFe0A/JEbLDjKmr5KBM5x4RFohtEvZ8ECuVGUOqBWdgAjyYwsG4oRVjLnKrf/rgmbNRzSFgEWkcAye3BVwk7Dt6hh4knEl+mNfOLq+FH0011UhecOiqTcESMzQDtgQ1vJh2VchElBLjl3x/ZugAAACAAh5jGQC338t5ObP8trSlOefkx0sXmmEzUbo3Mt8mGUuGJPx8m+X0L8Xd+l5rQxytqE3SmV/RD+6REqBuPqHM8RQuqAzfjdOeg/Ajdggx1CRMTVhltZsgQoxO30cz9Qo0SdPoL+Jp1fLuaLZq7m/RmsWYvoLT3jebBlpvvQE8YlI= Francois Deppierraz
|
4
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2Vi+TdC3iOGYcIo5vGTvC9P9rjHl9RxCuZmSfn+YDFQ35RXf0waijtjp9I7GYh6R4hBjA5z0u/Pzi95LET5NfRM0Gdc0DJyvBI7K+ALBxIT383Iz6Yz4iKxe1TEJgHGM2he4+7BHkjc3kdIZqIpZjucCk4VsXSxujO4MKKvtaKK2l+kahlLQHHw/vZkDpIgL52iGVsjW9l8RLJaKHZ4mDHJN/Q/Rzn2W4EvcdHUzwhvGMwZlm8clDwITBrSsawYtnivJrQSYcmTRqJuS8wprNDrLIhTGjrwFg5WpruUuMt6fLuCqwe6TeEL+nh3DQ4g554c5aRp3oU6LGBKTvNZGWQ== francois@korn
|
5
|
+
ssh-dss AAAAB3NzaC1kc3MAAACBAMPpCYnjywOemd8LqbbmC+bePNR3/H1rXsiFwjSLhYE3bbOpvclvOzN1DruFc34m0FopVnMkP+aubjdIYF8pijl+5hg9ggB7Kno2dl0Dd1rGN/swvmhA8OpLAQv7Qt7UnXKVho3as08zYZsrHxYFu0wlnkdbsv4cy4aXyQKd4MPVAAAAFQDSyQFWg8Qt3wU05buhZ10psoR7tQAAAIEAmAhguXwUnI3P2FF5NAW/mpJUmUERdL4pyZARUyAgpf7ezwrh9TJqrvGTQNBF97Xqaivyncm5JWQdMIsTBxEFaXZGkmBta02KnWcn447qvIh7iv8XpNL6M9flCkBEZOJ4t9El0ytTSHHaiCz8A20Et+E8evWyi1kXkFDt8ML2dGgAAACBAK0X4ympbdEjgV/ZyOc+BU22u7vOnfSOUJmyar4Ax1MIDNnoyNWKnGvxRutydQcQOKQHZEU0fE8MhPFn6nLF6CoVfEl/oz0EYz3hjV4WPFpHrF5DY/rhvNj8iuneKJ5P0dy/rG6m5qey25PnHyGFVoIRlkHJvBCJT40dHs40YEjI francois@korn
|
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Puppet::Transaction::Report
|
2
|
+
host: culain.madstop.com
|
3
|
+
logs:
|
4
|
+
- !ruby/object:Puppet::Log
|
5
|
+
level: :notice
|
6
|
+
message: executed successfully
|
7
|
+
objectsource: true
|
8
|
+
source: //culain.madstop.com/puppetserver/exec=/bin/echo testing/returns
|
9
|
+
tags:
|
10
|
+
- :puppetserver
|
11
|
+
- :puppetserver
|
12
|
+
- :basenode
|
13
|
+
- :"culain.madstop.com"
|
14
|
+
- :puppet
|
15
|
+
- :exec
|
16
|
+
- :returns
|
17
|
+
time: 2006-09-21 13:06:59.867782 -05:00
|
18
|
+
- !ruby/object:Puppet::Log
|
19
|
+
level: :notice
|
20
|
+
message: ensure changed 'stopped' to 'running'
|
21
|
+
objectsource: true
|
22
|
+
source: //culain.madstop.com/mailserver/service=spamassassin/ensure
|
23
|
+
tags:
|
24
|
+
- :mailserver
|
25
|
+
- :mailserver
|
26
|
+
- :basenode
|
27
|
+
- :"culain.madstop.com"
|
28
|
+
- :puppet
|
29
|
+
- :service
|
30
|
+
- :ensure
|
31
|
+
time: 2006-09-21 13:07:01.336511 -05:00
|
32
|
+
- !ruby/object:Puppet::Log
|
33
|
+
level: :notice
|
34
|
+
message: ensure changed 'stopped' to 'running'
|
35
|
+
objectsource: true
|
36
|
+
source: //culain.madstop.com/mailserver/service=courier-imap-ssl/ensure
|
37
|
+
tags:
|
38
|
+
- :mailserver
|
39
|
+
- :mailserver
|
40
|
+
- :basenode
|
41
|
+
- :"culain.madstop.com"
|
42
|
+
- :puppet
|
43
|
+
- :service
|
44
|
+
- :ensure
|
45
|
+
time: 2006-09-21 13:07:01.573506 -05:00
|
46
|
+
- !ruby/object:Puppet::Log
|
47
|
+
level: :notice
|
48
|
+
message: ensure changed 'stopped' to 'running'
|
49
|
+
objectsource: true
|
50
|
+
source: //culain.madstop.com/mailserver/service=courier-authdaemon/ensure
|
51
|
+
tags:
|
52
|
+
- :mailserver
|
53
|
+
- :mailserver
|
54
|
+
- :basenode
|
55
|
+
- :"culain.madstop.com"
|
56
|
+
- :puppet
|
57
|
+
- :service
|
58
|
+
- :ensure
|
59
|
+
time: 2006-09-21 13:07:01.680440 -05:00
|
60
|
+
metrics:
|
61
|
+
time: !ruby/object:Puppet::Metric
|
62
|
+
label: Time
|
63
|
+
name: time
|
64
|
+
values:
|
65
|
+
- - :config_retrieval
|
66
|
+
- Config retrieval
|
67
|
+
- 2.26467204093933
|
68
|
+
- - :total
|
69
|
+
- Total
|
70
|
+
- 21.7894113063812
|
71
|
+
changes: !ruby/object:Puppet::Metric
|
72
|
+
label: Changes
|
73
|
+
name: changes
|
74
|
+
values:
|
75
|
+
- - :total
|
76
|
+
- Total
|
77
|
+
- 4
|
78
|
+
objects: !ruby/object:Puppet::Metric
|
79
|
+
label: Objects
|
80
|
+
name: objects
|
81
|
+
values:
|
82
|
+
- - :scheduled
|
83
|
+
- Scheduled
|
84
|
+
- 78
|
85
|
+
- - :applied
|
86
|
+
- Applied
|
87
|
+
- 4
|
88
|
+
- - :restarted
|
89
|
+
- Restarted
|
90
|
+
- 0
|
91
|
+
- - :skipped
|
92
|
+
- Skipped
|
93
|
+
- 0
|
94
|
+
- - :failed_restarts
|
95
|
+
- Failed restarts
|
96
|
+
- 0
|
97
|
+
- - :out_of_sync
|
98
|
+
- Out of sync
|
99
|
+
- 4
|
100
|
+
- - :failed
|
101
|
+
- Failed
|
102
|
+
- 0
|
103
|
+
- - :total
|
104
|
+
- Total
|
105
|
+
- 79
|
106
|
+
records: {}
|
107
|
+
|
108
|
+
time: 2006-09-21 13:07:06.825337 -05:00
|
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Puppet::Transaction::Report
|
2
|
+
host: culain.madstop.com
|
3
|
+
logs:
|
4
|
+
- !ruby/object:Puppet::Log
|
5
|
+
level: :notice
|
6
|
+
message: executed successfully
|
7
|
+
objectsource: true
|
8
|
+
source: //culain.madstop.com/puppetserver/exec=/bin/echo testing/returns
|
9
|
+
tags:
|
10
|
+
- :puppetserver
|
11
|
+
- :puppetserver
|
12
|
+
- :basenode
|
13
|
+
- :"culain.madstop.com"
|
14
|
+
- :puppet
|
15
|
+
- :exec
|
16
|
+
- :returns
|
17
|
+
time: 2006-09-21 13:06:59.867782 -05:00
|
18
|
+
- !ruby/object:Puppet::Log
|
19
|
+
level: :notice
|
20
|
+
message: ensure changed 'stopped' to 'running'
|
21
|
+
objectsource: true
|
22
|
+
source: //culain.madstop.com/mailserver/service=spamassassin/ensure
|
23
|
+
tags:
|
24
|
+
- :mailserver
|
25
|
+
- :mailserver
|
26
|
+
- :basenode
|
27
|
+
- :"culain.madstop.com"
|
28
|
+
- :puppet
|
29
|
+
- :service
|
30
|
+
- :ensure
|
31
|
+
time: 2006-09-21 13:07:01.336511 -05:00
|
32
|
+
- !ruby/object:Puppet::Log
|
33
|
+
level: :notice
|
34
|
+
message: ensure changed 'stopped' to 'running'
|
35
|
+
objectsource: true
|
36
|
+
source: //culain.madstop.com/mailserver/service=courier-imap-ssl/ensure
|
37
|
+
tags:
|
38
|
+
- :mailserver
|
39
|
+
- :mailserver
|
40
|
+
- :basenode
|
41
|
+
- :"culain.madstop.com"
|
42
|
+
- :puppet
|
43
|
+
- :service
|
44
|
+
- :ensure
|
45
|
+
time: 2006-09-21 13:07:01.573506 -05:00
|
46
|
+
- !ruby/object:Puppet::Log
|
47
|
+
level: :notice
|
48
|
+
message: ensure changed 'stopped' to 'running'
|
49
|
+
objectsource: true
|
50
|
+
source: //culain.madstop.com/mailserver/service=courier-authdaemon/ensure
|
51
|
+
tags:
|
52
|
+
- :mailserver
|
53
|
+
- :mailserver
|
54
|
+
- :basenode
|
55
|
+
- :"culain.madstop.com"
|
56
|
+
- :puppet
|
57
|
+
- :service
|
58
|
+
- :ensure
|
59
|
+
time: 2006-09-21 13:07:01.680440 -05:00
|
60
|
+
metrics:
|
61
|
+
time: !ruby/object:Puppet::Metric
|
62
|
+
label: Time
|
63
|
+
name: time
|
64
|
+
values:
|
65
|
+
- - :config_retrieval
|
66
|
+
- Config retrieval
|
67
|
+
- 2.26467204093933
|
68
|
+
- - :total
|
69
|
+
- Total
|
70
|
+
- 21.7894113063812
|
71
|
+
changes: !ruby/object:Puppet::Metric
|
72
|
+
label: Changes
|
73
|
+
name: changes
|
74
|
+
values:
|
75
|
+
- - :total
|
76
|
+
- Total
|
77
|
+
- 4
|
78
|
+
objects: !ruby/object:Puppet::Metric
|
79
|
+
label: Objects
|
80
|
+
name: objects
|
81
|
+
values:
|
82
|
+
- - :scheduled
|
83
|
+
- Scheduled
|
84
|
+
- 78
|
85
|
+
- - :applied
|
86
|
+
- Applied
|
87
|
+
- 4
|
88
|
+
- - :restarted
|
89
|
+
- Restarted
|
90
|
+
- 0
|
91
|
+
- - :skipped
|
92
|
+
- Skipped
|
93
|
+
- 0
|
94
|
+
- - :failed_restarts
|
95
|
+
- Failed restarts
|
96
|
+
- 0
|
97
|
+
- - :out_of_sync
|
98
|
+
- Out of sync
|
99
|
+
- 4
|
100
|
+
- - :failed
|
101
|
+
- Failed
|
102
|
+
- 0
|
103
|
+
- - :total
|
104
|
+
- Total
|
105
|
+
- 79
|
106
|
+
records: {}
|
107
|
+
|
108
|
+
time: 2006-09-21 13:07:06.825337 -05:00
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# A comment
|
2
|
+
# or maybe two
|
3
|
+
# plus some blank lines
|
4
|
+
# with some blanks plus a comment
|
5
|
+
|
6
|
+
# a simple tag report
|
7
|
+
one: abuse@domain.com
|
8
|
+
|
9
|
+
# with weird spacing
|
10
|
+
one : abuse@domain.com
|
11
|
+
|
12
|
+
# with multiple tags
|
13
|
+
one, two: abuse@domain.com
|
14
|
+
|
15
|
+
# again with the weird syntax
|
16
|
+
one , two : abuse@domain.com
|
17
|
+
|
18
|
+
# Some negations
|
19
|
+
one, !two: abuse@domain.com
|
20
|
+
|
21
|
+
# some oddly-formatted tags
|
22
|
+
one, two-three, !four-five, !six: abuse@domain.com
|
23
|
+
|
24
|
+
# multiple addresses
|
25
|
+
one, two: abuse@domain.com, testing@domain.com
|
26
|
+
|
27
|
+
# and with weird spacing
|
28
|
+
one, two: abuse@domain.com , testing@domain.com
|
29
|
+
|
30
|
+
# and a trailing comment
|
@@ -0,0 +1,16 @@
|
|
1
|
+
file { "a file":
|
2
|
+
path => "/tmp/aliastest",
|
3
|
+
ensure => file
|
4
|
+
}
|
5
|
+
|
6
|
+
file { "another":
|
7
|
+
path => "/tmp/aliastest2",
|
8
|
+
ensure => file,
|
9
|
+
require => File["a file"]
|
10
|
+
}
|
11
|
+
|
12
|
+
file { "a third":
|
13
|
+
path => "/tmp/aliastest3",
|
14
|
+
ensure => file,
|
15
|
+
require => File["/tmp/aliastest"]
|
16
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# $Id$
|
2
|
+
|
3
|
+
$var = "value"
|
4
|
+
|
5
|
+
case $var {
|
6
|
+
"nope": {
|
7
|
+
file { "/tmp/fakefile": mode => 644, ensure => file }
|
8
|
+
}
|
9
|
+
"value": {
|
10
|
+
file { "/tmp/existsfile": mode => 755, ensure => file }
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
$ovar = "yayness"
|
15
|
+
|
16
|
+
case $ovar {
|
17
|
+
"fooness": {
|
18
|
+
file { "/tmp/nostillexistsfile": mode => 644, ensure => file }
|
19
|
+
}
|
20
|
+
"booness", "yayness": {
|
21
|
+
case $var {
|
22
|
+
"nep": {
|
23
|
+
file { "/tmp/noexistsfile": mode => 644, ensure => file }
|
24
|
+
}
|
25
|
+
"value": {
|
26
|
+
file { "/tmp/existsfile2": mode => 755, ensure => file }
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
case $ovar {
|
33
|
+
"fooness": {
|
34
|
+
file { "/tmp/nostillexistsfile": mode => 644, ensure => file }
|
35
|
+
}
|
36
|
+
default: {
|
37
|
+
file { "/tmp/existsfile3": mode => 755, ensure => file }
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
$bool = true
|
42
|
+
|
43
|
+
case $bool {
|
44
|
+
true: {
|
45
|
+
file { "/tmp/existsfile4": mode => 755, ensure => file }
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
$yay = yay
|
50
|
+
$a = yay
|
51
|
+
$b = boo
|
52
|
+
|
53
|
+
case $yay {
|
54
|
+
$a: { file { "/tmp/existsfile5": mode => 755, ensure => file } }
|
55
|
+
$b: { file { "/tmp/existsfile5": mode => 644, ensure => file } }
|
56
|
+
default: { file { "/tmp/existsfile5": mode => 711, ensure => file } }
|
57
|
+
|
58
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# $Id$
|
2
|
+
|
3
|
+
class base {
|
4
|
+
file { "/tmp/classheir1": ensure => file, mode => 755 }
|
5
|
+
}
|
6
|
+
|
7
|
+
class sub1 inherits base {
|
8
|
+
file { "/tmp/classheir2": ensure => file, mode => 755 }
|
9
|
+
}
|
10
|
+
|
11
|
+
class sub2 inherits base {
|
12
|
+
file { "/tmp/classheir3": ensure => file, mode => 755 }
|
13
|
+
}
|
14
|
+
|
15
|
+
include sub1, sub2
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# $Id$
|
2
|
+
|
3
|
+
class base {
|
4
|
+
file { "/tmp/classincludes1": ensure => file, mode => 755 }
|
5
|
+
}
|
6
|
+
|
7
|
+
class sub1 inherits base {
|
8
|
+
file { "/tmp/classincludes2": ensure => file, mode => 755 }
|
9
|
+
}
|
10
|
+
|
11
|
+
class sub2 inherits base {
|
12
|
+
file { "/tmp/classincludes3": ensure => file, mode => 755 }
|
13
|
+
}
|
14
|
+
|
15
|
+
$sub = "sub2"
|
16
|
+
|
17
|
+
include sub1, $sub
|
@@ -0,0 +1,20 @@
|
|
1
|
+
define test($name) {
|
2
|
+
file {"/tmp/collection_within_virtual_definitions1_$name.txt":
|
3
|
+
content => "File name $name\n"
|
4
|
+
}
|
5
|
+
Test2 <||>
|
6
|
+
}
|
7
|
+
|
8
|
+
define test2() {
|
9
|
+
file {"/tmp/collection_within_virtual_definitions2_$name.txt":
|
10
|
+
content => "This is a test\n"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
node default {
|
15
|
+
@test {"foo":
|
16
|
+
name => "foo"
|
17
|
+
}
|
18
|
+
@test2 {"foo2": }
|
19
|
+
Test <||>
|
20
|
+
}
|