puppet 0.24.1 → 0.24.2
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 +94 -0
- data/Rakefile +0 -4
- data/bin/puppet +18 -10
- data/bin/puppetd +1 -1
- data/bin/puppetdoc +14 -4
- data/bin/puppetmasterd +1 -1
- data/bin/puppetrun +3 -8
- data/bin/ralsh +12 -11
- data/conf/freebsd/puppetd +1 -1
- data/conf/freebsd/puppetmasterd +1 -1
- data/conf/gentoo/puppet/puppet.conf +29 -0
- data/conf/namespaceauth.conf +20 -0
- data/conf/redhat/puppet.spec +4 -1
- data/conf/solaris/smf/puppetd.xml +1 -1
- data/conf/solaris/smf/puppetmasterd.xml +1 -1
- data/conf/suse/puppet.spec +10 -8
- data/examples/root/etc/puppet/{puppetmasterd.conf → puppet.conf} +6 -3
- data/ext/logcheck/puppet +7 -0
- data/ext/puppet-test +28 -5
- data/lib/puppet.rb +2 -1
- data/lib/puppet/defaults.rb +12 -5
- data/lib/puppet/dsl.rb +43 -45
- data/lib/puppet/external/{gratr/rdot.rb → dot.rb} +0 -0
- data/lib/puppet/external/nagios.rb +50 -0
- data/lib/puppet/external/nagios/base.rb +421 -0
- data/lib/puppet/external/nagios/parser.rb +816 -0
- data/lib/puppet/file_serving/file_base.rb +16 -3
- data/lib/puppet/file_serving/metadata.rb +29 -11
- data/lib/puppet/indirector/terminus.rb +1 -0
- data/lib/puppet/metatype/closure.rb +4 -0
- data/lib/puppet/metatype/evaluation.rb +2 -17
- data/lib/puppet/metatype/metaparams.rb +1 -1
- data/lib/puppet/network.rb +3 -0
- data/lib/puppet/network/client.rb +4 -5
- data/lib/puppet/network/client/master.rb +10 -7
- data/lib/puppet/network/handler/fileserver.rb +22 -45
- data/lib/puppet/network/http_pool.rb +3 -0
- data/lib/puppet/network/http_server/mongrel.rb +7 -1
- data/lib/puppet/network/http_server/webrick.rb +4 -3
- data/lib/puppet/network/xmlrpc/client.rb +12 -1
- data/lib/puppet/node/catalog.rb +51 -40
- data/lib/puppet/parser/ast.rb +27 -49
- data/lib/puppet/parser/ast/astarray.rb +5 -24
- data/lib/puppet/parser/ast/caseopt.rb +4 -4
- data/lib/puppet/parser/ast/casestatement.rb +4 -5
- data/lib/puppet/parser/ast/collection.rb +3 -5
- data/lib/puppet/parser/ast/collexpr.rb +3 -5
- data/lib/puppet/parser/ast/definition.rb +148 -159
- data/lib/puppet/parser/ast/else.rb +2 -3
- data/lib/puppet/parser/ast/function.rb +3 -10
- data/lib/puppet/parser/ast/hostclass.rb +66 -59
- data/lib/puppet/parser/ast/ifstatement.rb +4 -5
- data/lib/puppet/parser/ast/leaf.rb +6 -6
- data/lib/puppet/parser/ast/node.rb +26 -58
- data/lib/puppet/parser/ast/resource.rb +5 -7
- data/lib/puppet/parser/ast/resource_defaults.rb +2 -4
- data/lib/puppet/parser/ast/resource_override.rb +4 -6
- data/lib/puppet/parser/ast/resource_reference.rb +2 -4
- data/lib/puppet/parser/ast/resourceparam.rb +2 -4
- data/lib/puppet/parser/ast/selector.rb +5 -6
- data/lib/puppet/parser/ast/tag.rb +2 -4
- data/lib/puppet/parser/ast/vardef.rb +3 -4
- data/lib/puppet/parser/collector.rb +5 -5
- data/lib/puppet/parser/{compile.rb → compiler.rb} +69 -107
- data/lib/puppet/parser/functions.rb +3 -3
- data/lib/puppet/parser/interpreter.rb +32 -23
- data/lib/puppet/parser/lexer.rb +391 -282
- data/lib/puppet/parser/parser.rb +5 -4
- data/lib/puppet/parser/parser_support.rb +3 -6
- data/lib/puppet/parser/resource.rb +24 -36
- data/lib/puppet/parser/resource/param.rb +1 -1
- data/lib/puppet/parser/resource/reference.rb +7 -3
- data/lib/puppet/parser/scope.rb +12 -7
- data/lib/puppet/parser/templatewrapper.rb +1 -1
- data/lib/puppet/pgraph.rb +9 -98
- data/lib/puppet/provider/interface/redhat.rb +65 -65
- data/lib/puppet/provider/mount/parsed.rb +1 -1
- data/lib/puppet/provider/naginator.rb +55 -0
- data/lib/puppet/provider/nameservice/directoryservice.rb +6 -7
- data/lib/puppet/provider/package/fink.rb +0 -2
- data/lib/puppet/provider/package/gem.rb +9 -5
- data/lib/puppet/provider/package/openbsd.rb +1 -1
- data/lib/puppet/provider/package/pkgdmg.rb +3 -8
- data/lib/puppet/provider/package/portage.rb +4 -4
- data/lib/puppet/provider/package/yumhelper.py +8 -6
- data/lib/puppet/provider/parsedfile.rb +7 -1
- data/lib/puppet/provider/service/debian.rb +2 -0
- data/lib/puppet/provider/service/gentoo.rb +4 -0
- data/lib/puppet/provider/service/init.rb +1 -1
- data/lib/puppet/provider/sshkey/parsed.rb +2 -0
- data/lib/puppet/provider/user/useradd.rb +1 -1
- data/lib/puppet/rails.rb +4 -0
- data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +17 -0
- data/lib/puppet/rails/fact_value.rb +4 -0
- data/lib/puppet/rails/host.rb +1 -2
- data/lib/puppet/rails/param_value.rb +4 -0
- data/lib/puppet/rails/resource_tag.rb +4 -0
- data/lib/puppet/rails/source_file.rb +4 -1
- data/lib/puppet/relationship.rb +5 -1
- data/lib/puppet/reports/tagmail.rb +12 -1
- data/lib/puppet/resource_reference.rb +1 -1
- data/lib/puppet/simple_graph.rb +78 -11
- data/lib/puppet/sslcertificates.rb +1 -1
- data/lib/puppet/sslcertificates/ca.rb +3 -3
- data/lib/puppet/transaction.rb +7 -4
- data/lib/puppet/transportable.rb +1 -1
- data/lib/puppet/type.rb +3 -10
- data/lib/puppet/type/cron.rb +18 -0
- data/lib/puppet/type/exec.rb +18 -12
- data/lib/puppet/type/{pfile.rb → file.rb} +66 -84
- data/lib/puppet/type/file/checksum.rb +271 -0
- data/lib/puppet/type/{pfile → file}/content.rb +10 -15
- data/lib/puppet/type/{pfile → file}/ensure.rb +15 -8
- data/lib/puppet/type/{pfile → file}/group.rb +0 -0
- data/lib/puppet/type/{pfile → file}/mode.rb +0 -0
- data/lib/puppet/type/{pfile → file}/owner.rb +0 -0
- data/lib/puppet/type/{pfile → file}/source.rb +34 -48
- data/lib/puppet/type/{pfile → file}/target.rb +0 -0
- data/lib/puppet/type/{pfile → file}/type.rb +0 -0
- data/lib/puppet/type/{pfilebucket.rb → filebucket.rb} +0 -0
- data/lib/puppet/type/host.rb +13 -0
- data/lib/puppet/type/mailalias.rb +1 -1
- data/lib/puppet/type/nagios_command.rb +3 -0
- data/lib/puppet/type/nagios_contact.rb +3 -0
- data/lib/puppet/type/nagios_contactgroup.rb +3 -0
- data/lib/puppet/type/nagios_host.rb +3 -0
- data/lib/puppet/type/nagios_hostextinfo.rb +3 -0
- data/lib/puppet/type/nagios_hostgroup.rb +3 -0
- data/lib/puppet/type/nagios_hostgroupescalation.rb +3 -0
- data/lib/puppet/type/nagios_service.rb +3 -0
- data/lib/puppet/type/nagios_servicedependency.rb +3 -0
- data/lib/puppet/type/nagios_serviceescalation.rb +3 -0
- data/lib/puppet/type/nagios_serviceextinfo.rb +3 -0
- data/lib/puppet/type/nagios_timeperiod.rb +3 -0
- data/lib/puppet/type/package.rb +4 -12
- data/lib/puppet/type/service.rb +9 -0
- data/lib/puppet/type/sshkey.rb +3 -3
- data/lib/puppet/util/autoload.rb +5 -5
- data/lib/puppet/util/checksums.rb +51 -13
- data/lib/puppet/util/constant_inflector.rb +14 -0
- data/lib/puppet/util/filetype.rb +1 -1
- data/lib/puppet/util/graph.rb +3 -9
- data/lib/puppet/util/nagios_maker.rb +57 -0
- data/lib/puppet/util/settings.rb +19 -16
- data/lib/puppet/util/tagging.rb +39 -0
- data/test/executables/puppetbin.rb +17 -0
- data/test/language/ast.rb +8 -58
- data/test/language/ast/casestatement.rb +3 -3
- data/test/language/ast/resource.rb +6 -7
- data/test/language/ast/resource_reference.rb +12 -12
- data/test/language/ast/selector.rb +2 -2
- data/test/language/ast/variable.rb +2 -2
- data/test/language/functions.rb +24 -24
- data/test/language/parser.rb +20 -8
- data/test/language/resource.rb +5 -42
- data/test/language/scope.rb +21 -37
- data/test/language/snippets.rb +7 -0
- data/test/lib/puppettest.rb +28 -14
- data/test/lib/puppettest/parsertesting.rb +10 -10
- data/test/lib/puppettest/support/resources.rb +1 -1
- data/test/network/client/master.rb +10 -0
- data/test/network/handler/fileserver.rb +51 -49
- data/test/network/server/webrick.rb +1 -1
- data/test/other/dsl.rb +3 -4
- data/test/other/transactions.rb +6 -4
- data/test/rails/ast.rb +2 -2
- data/test/rails/configuration.rb +1 -1
- data/test/rails/railsparameter.rb +2 -0
- data/test/rails/railsresource.rb +1 -0
- data/test/ral/manager/type.rb +4 -4
- data/test/ral/providers/cron/crontab.rb +3 -1
- data/test/ral/providers/package.rb +1 -1
- data/test/ral/{types → type}/basic.rb +2 -2
- data/test/ral/{types → type}/cron.rb +0 -0
- data/test/ral/{types → type}/exec.rb +42 -2
- data/test/ral/{types → type}/file.rb +34 -79
- data/test/ral/{types → type}/file/target.rb +0 -0
- data/test/ral/{types → type}/filebucket.rb +0 -0
- data/test/ral/{types → type}/fileignoresource.rb +0 -0
- data/test/ral/{types → type}/filesources.rb +8 -27
- data/test/ral/{types → type}/group.rb +0 -0
- data/test/ral/{types → type}/host.rb +16 -0
- data/test/ral/{types → type}/mailalias.rb +0 -0
- data/test/ral/{types → type}/parameter.rb +0 -0
- data/test/ral/{types → type}/port.rb +0 -0
- data/test/ral/{types → type}/property.rb +0 -0
- data/test/ral/{types → type}/resources.rb +0 -0
- data/test/ral/{types → type}/service.rb +0 -0
- data/test/ral/{types → type}/sshkey.rb +0 -0
- data/test/ral/{types → type}/tidy.rb +1 -0
- data/test/ral/{types → type}/user.rb +0 -0
- data/test/ral/{types → type}/yumrepo.rb +0 -0
- data/test/ral/{types → type}/zone.rb +0 -0
- data/test/util/autoload.rb +24 -5
- metadata +60 -107
- data/conf/gentoo/puppet/puppetca.conf +0 -29
- data/conf/gentoo/puppet/puppetd.conf +0 -29
- data/conf/gentoo/puppet/puppetmasterd.conf +0 -29
- data/examples/root/etc/puppet/puppetd.conf +0 -4
- data/lib/puppet/external/gratr.rb +0 -33
- data/lib/puppet/external/gratr/adjacency_graph.rb +0 -257
- data/lib/puppet/external/gratr/base.rb +0 -34
- data/lib/puppet/external/gratr/biconnected.rb +0 -116
- data/lib/puppet/external/gratr/chinese_postman.rb +0 -123
- data/lib/puppet/external/gratr/common.rb +0 -73
- data/lib/puppet/external/gratr/comparability.rb +0 -92
- data/lib/puppet/external/gratr/digraph.rb +0 -116
- data/lib/puppet/external/gratr/digraph_distance.rb +0 -185
- data/lib/puppet/external/gratr/dot.rb +0 -90
- data/lib/puppet/external/gratr/edge.rb +0 -145
- data/lib/puppet/external/gratr/graph.rb +0 -303
- data/lib/puppet/external/gratr/graph_api.rb +0 -83
- data/lib/puppet/external/gratr/import.rb +0 -44
- data/lib/puppet/external/gratr/labels.rb +0 -90
- data/lib/puppet/external/gratr/maximum_flow.rb +0 -64
- data/lib/puppet/external/gratr/search.rb +0 -409
- data/lib/puppet/external/gratr/strong_components.rb +0 -127
- data/lib/puppet/external/gratr/undirected_graph.rb +0 -153
- data/lib/puppet/rails/external/tagging/acts_as_taggable.rb +0 -62
- data/lib/puppet/rails/external/tagging/init.rb +0 -5
- data/lib/puppet/rails/external/tagging/tag.rb +0 -50
- data/lib/puppet/rails/external/tagging/tagging.rb +0 -12
- data/lib/puppet/rails/puppet_class.rb +0 -6
- data/lib/puppet/reference/node_source.rb +0 -9
- data/lib/puppet/reference/report.rb +0 -21
- data/lib/puppet/type/pfile/checksum.rb +0 -326
- data/test/language/ast/definition.rb +0 -166
- data/test/language/ast/hostclass.rb +0 -184
- data/test/language/compile.rb +0 -569
- data/test/language/lexer.rb +0 -276
- data/test/lib/mocha.rb +0 -19
- data/test/lib/mocha/any_instance_method.rb +0 -35
- data/test/lib/mocha/auto_verify.rb +0 -113
- data/test/lib/mocha/central.rb +0 -35
- data/test/lib/mocha/class_method.rb +0 -62
- data/test/lib/mocha/deprecation.rb +0 -22
- data/test/lib/mocha/exception_raiser.rb +0 -17
- data/test/lib/mocha/expectation.rb +0 -378
- data/test/lib/mocha/expectation_error.rb +0 -6
- data/test/lib/mocha/infinite_range.rb +0 -25
- data/test/lib/mocha/inspect.rb +0 -39
- data/test/lib/mocha/instance_method.rb +0 -8
- data/test/lib/mocha/is_a.rb +0 -9
- data/test/lib/mocha/metaclass.rb +0 -7
- data/test/lib/mocha/missing_expectation.rb +0 -27
- data/test/lib/mocha/mock.rb +0 -207
- data/test/lib/mocha/multiple_yields.rb +0 -20
- data/test/lib/mocha/no_yields.rb +0 -11
- data/test/lib/mocha/object.rb +0 -110
- data/test/lib/mocha/parameter_matchers.rb +0 -9
- data/test/lib/mocha/parameter_matchers/all_of.rb +0 -39
- data/test/lib/mocha/parameter_matchers/any_of.rb +0 -44
- data/test/lib/mocha/parameter_matchers/anything.rb +0 -30
- data/test/lib/mocha/parameter_matchers/has_entry.rb +0 -39
- data/test/lib/mocha/parameter_matchers/has_key.rb +0 -39
- data/test/lib/mocha/parameter_matchers/has_value.rb +0 -39
- data/test/lib/mocha/parameter_matchers/includes.rb +0 -37
- data/test/lib/mocha/pretty_parameters.rb +0 -28
- data/test/lib/mocha/return_values.rb +0 -31
- data/test/lib/mocha/setup_and_teardown.rb +0 -23
- data/test/lib/mocha/single_return_value.rb +0 -24
- data/test/lib/mocha/single_yield.rb +0 -18
- data/test/lib/mocha/standalone.rb +0 -32
- data/test/lib/mocha/stub.rb +0 -18
- data/test/lib/mocha/test_case_adapter.rb +0 -49
- data/test/lib/mocha/yield_parameters.rb +0 -31
File without changes
|
@@ -138,8 +138,24 @@ class TestHost < Test::Unit::TestCase
|
|
138
138
|
host[:ensure] = :absent
|
139
139
|
assert_events([:host_removed], host)
|
140
140
|
end
|
141
|
+
|
142
|
+
def test_invalid_ipaddress
|
143
|
+
host = mkhost()
|
144
|
+
|
145
|
+
assert_raise(Puppet::Error) {
|
146
|
+
host[:ip] = "abc.def.ghi.jkl"
|
147
|
+
}
|
148
|
+
end
|
149
|
+
|
150
|
+
def test_invalid_hostname
|
151
|
+
host = mkhost()
|
152
|
+
|
153
|
+
assert_raise(Puppet::Error) {
|
154
|
+
host[:name] = "!invalid.hostname.$$$"
|
155
|
+
}
|
141
156
|
end
|
142
157
|
|
158
|
+
end
|
143
159
|
def test_aliasisproperty
|
144
160
|
assert_equal(:property, @hosttype.attrtype(:alias))
|
145
161
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/util/autoload.rb
CHANGED
@@ -103,10 +103,10 @@ TestAutoload.newthing(:#{name.to_s})
|
|
103
103
|
assert(loader.send(:searchpath).include?(dir), "searchpath does not include the libdir")
|
104
104
|
end
|
105
105
|
|
106
|
-
# This
|
107
|
-
#
|
108
|
-
#
|
109
|
-
def
|
106
|
+
# This tests #1027, which was caused by using the unqualified
|
107
|
+
# path for requires, which was initially done so that the kernel
|
108
|
+
# would keep track of which files got loaded.
|
109
|
+
def test_require_uses_full_path
|
110
110
|
loadname = "testing"
|
111
111
|
loader = Puppet::Util::Autoload.new(self.class, loadname)
|
112
112
|
|
@@ -120,7 +120,26 @@ TestAutoload.newthing(:#{name.to_s})
|
|
120
120
|
|
121
121
|
Dir.expects(:glob).with("#{dir}/*.rb").returns(file)
|
122
122
|
|
123
|
-
Kernel.expects(:require).with(
|
123
|
+
Kernel.expects(:require).with(file)
|
124
124
|
loader.loadall
|
125
125
|
end
|
126
|
+
|
127
|
+
def test_searchpath_includes_plugin_dirs
|
128
|
+
moddir = "/what/ever"
|
129
|
+
libdir = "/other/dir"
|
130
|
+
Puppet.settings.stubs(:value).with(:modulepath).returns(moddir)
|
131
|
+
Puppet.settings.stubs(:value).with(:libdir).returns(libdir)
|
132
|
+
|
133
|
+
loadname = "testing"
|
134
|
+
loader = Puppet::Util::Autoload.new(self.class, loadname)
|
135
|
+
|
136
|
+
# Currently, include both plugins and libs.
|
137
|
+
paths = %w{plugins lib}.inject({}) { |hash, d| hash[d] = File.join(moddir, "testing", d); FileTest.stubs(:directory?).with(hash[d]).returns(true); hash }
|
138
|
+
Dir.expects(:glob).with("#{moddir}/*/{plugins,lib}").returns(paths.values)
|
139
|
+
|
140
|
+
searchpath = loader.searchpath
|
141
|
+
paths.each do |dir, path|
|
142
|
+
assert(searchpath.include?(path), "search path did not include path for %s" % dir)
|
143
|
+
end
|
144
|
+
end
|
126
145
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: puppet
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.24.
|
7
|
-
date:
|
6
|
+
version: 0.24.2
|
7
|
+
date: 2008-03-03 00:00:00 +01:00
|
8
8
|
summary: System Automation and Configuration Management Software
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -37,77 +37,72 @@ files:
|
|
37
37
|
- CHANGELOG
|
38
38
|
- lib/puppet.rb
|
39
39
|
- lib/puppet/parameter.rb
|
40
|
+
- lib/puppet/network.rb
|
40
41
|
- lib/puppet/node/catalog.rb
|
41
42
|
- lib/puppet/node/environment.rb
|
42
43
|
- lib/puppet/node/facts.rb
|
43
44
|
- lib/puppet/reports.rb
|
44
45
|
- lib/puppet/type/tidy.rb
|
45
46
|
- lib/puppet/type/zone.rb
|
47
|
+
- lib/puppet/type/nagios_serviceescalation.rb
|
46
48
|
- lib/puppet/type/group.rb
|
49
|
+
- lib/puppet/type/nagios_service.rb
|
50
|
+
- lib/puppet/type/file.rb
|
47
51
|
- lib/puppet/type/service.rb
|
48
52
|
- lib/puppet/type/k5login.rb
|
49
53
|
- lib/puppet/type/yumrepo.rb
|
54
|
+
- lib/puppet/type/nagios_command.rb
|
55
|
+
- lib/puppet/type/nagios_hostgroup.rb
|
50
56
|
- lib/puppet/type/resources.rb
|
51
57
|
- lib/puppet/type/host.rb
|
52
58
|
- lib/puppet/type/interface.rb
|
59
|
+
- lib/puppet/type/nagios_timeperiod.rb
|
60
|
+
- lib/puppet/type/nagios_contactgroup.rb
|
53
61
|
- lib/puppet/type/notify.rb
|
54
62
|
- lib/puppet/type/component.rb
|
55
63
|
- lib/puppet/type/user.rb
|
56
|
-
- lib/puppet/type/pfilebucket.rb
|
57
64
|
- lib/puppet/type/package.rb
|
58
65
|
- lib/puppet/type/schedule.rb
|
59
|
-
- lib/puppet/type/pfile/mode.rb
|
60
|
-
- lib/puppet/type/pfile/target.rb
|
61
|
-
- lib/puppet/type/pfile/group.rb
|
62
|
-
- lib/puppet/type/pfile/ensure.rb
|
63
|
-
- lib/puppet/type/pfile/checksum.rb
|
64
|
-
- lib/puppet/type/pfile/type.rb
|
65
|
-
- lib/puppet/type/pfile/source.rb
|
66
|
-
- lib/puppet/type/pfile/owner.rb
|
67
|
-
- lib/puppet/type/pfile/content.rb
|
68
66
|
- lib/puppet/type/sshkey.rb
|
69
|
-
- lib/puppet/type/
|
67
|
+
- lib/puppet/type/nagios_hostextinfo.rb
|
68
|
+
- lib/puppet/type/nagios_servicedependency.rb
|
69
|
+
- lib/puppet/type/filebucket.rb
|
70
|
+
- lib/puppet/type/file/mode.rb
|
71
|
+
- lib/puppet/type/file/target.rb
|
72
|
+
- lib/puppet/type/file/group.rb
|
73
|
+
- lib/puppet/type/file/ensure.rb
|
74
|
+
- lib/puppet/type/file/checksum.rb
|
75
|
+
- lib/puppet/type/file/type.rb
|
76
|
+
- lib/puppet/type/file/source.rb
|
77
|
+
- lib/puppet/type/file/owner.rb
|
78
|
+
- lib/puppet/type/file/content.rb
|
70
79
|
- lib/puppet/type/cron.rb
|
71
80
|
- lib/puppet/type/exec.rb
|
81
|
+
- lib/puppet/type/nagios_hostgroupescalation.rb
|
72
82
|
- lib/puppet/type/mount.rb
|
83
|
+
- lib/puppet/type/nagios_host.rb
|
73
84
|
- lib/puppet/type/mailalias.rb
|
85
|
+
- lib/puppet/type/nagios_serviceextinfo.rb
|
86
|
+
- lib/puppet/type/nagios_contact.rb
|
74
87
|
- lib/puppet/type/maillist.rb
|
75
88
|
- lib/puppet/type/port.rb
|
76
89
|
- lib/puppet/node.rb
|
77
90
|
- lib/puppet/reference/function.rb
|
78
91
|
- lib/puppet/reference/network.rb
|
79
92
|
- lib/puppet/reference/providers.rb
|
80
|
-
- lib/puppet/reference/report.rb
|
81
93
|
- lib/puppet/reference/type.rb
|
82
94
|
- lib/puppet/reference/indirection.rb
|
83
|
-
- lib/puppet/reference/node_source.rb
|
84
95
|
- lib/puppet/reference/configuration.rb
|
85
96
|
- lib/puppet/simple_graph.rb
|
86
|
-
- lib/puppet/external/
|
97
|
+
- lib/puppet/external/nagios/base.rb
|
98
|
+
- lib/puppet/external/nagios/parser.rb
|
87
99
|
- lib/puppet/external/lock.rb
|
88
100
|
- lib/puppet/external/event-loop/better-definers.rb
|
89
101
|
- lib/puppet/external/event-loop/event-loop.rb
|
90
102
|
- lib/puppet/external/event-loop/signal-system.rb
|
91
|
-
- lib/puppet/external/
|
92
|
-
- lib/puppet/external/gratr/adjacency_graph.rb
|
93
|
-
- lib/puppet/external/gratr/digraph.rb
|
94
|
-
- lib/puppet/external/gratr/base.rb
|
95
|
-
- lib/puppet/external/gratr/graph.rb
|
96
|
-
- lib/puppet/external/gratr/undirected_graph.rb
|
97
|
-
- lib/puppet/external/gratr/digraph_distance.rb
|
98
|
-
- lib/puppet/external/gratr/dot.rb
|
99
|
-
- lib/puppet/external/gratr/chinese_postman.rb
|
100
|
-
- lib/puppet/external/gratr/comparability.rb
|
101
|
-
- lib/puppet/external/gratr/strong_components.rb
|
102
|
-
- lib/puppet/external/gratr/search.rb
|
103
|
-
- lib/puppet/external/gratr/common.rb
|
104
|
-
- lib/puppet/external/gratr/import.rb
|
105
|
-
- lib/puppet/external/gratr/biconnected.rb
|
106
|
-
- lib/puppet/external/gratr/edge.rb
|
107
|
-
- lib/puppet/external/gratr/maximum_flow.rb
|
108
|
-
- lib/puppet/external/gratr/labels.rb
|
109
|
-
- lib/puppet/external/gratr/rdot.rb
|
103
|
+
- lib/puppet/external/dot.rb
|
110
104
|
- lib/puppet/external/base64.rb
|
105
|
+
- lib/puppet/external/nagios.rb
|
111
106
|
- lib/puppet/external/event-loop.rb
|
112
107
|
- lib/puppet/pgraph.rb
|
113
108
|
- lib/puppet/reports/store.rb
|
@@ -119,6 +114,7 @@ files:
|
|
119
114
|
- lib/puppet/feature/rails.rb
|
120
115
|
- lib/puppet/transportable.rb
|
121
116
|
- lib/puppet/event.rb
|
117
|
+
- lib/puppet/provider/naginator.rb
|
122
118
|
- lib/puppet/provider/interface/redhat.rb
|
123
119
|
- lib/puppet/provider/interface/sunos.rb
|
124
120
|
- lib/puppet/provider/port/parsed.rb
|
@@ -269,6 +265,7 @@ files:
|
|
269
265
|
- lib/puppet/util/logging.rb
|
270
266
|
- lib/puppet/util/storage.rb
|
271
267
|
- lib/puppet/util/log_paths.rb
|
268
|
+
- lib/puppet/util/nagios_maker.rb
|
272
269
|
- lib/puppet/util/plist.rb
|
273
270
|
- lib/puppet/util/metric.rb
|
274
271
|
- lib/puppet/util/fileparsing.rb
|
@@ -280,6 +277,8 @@ files:
|
|
280
277
|
- lib/puppet/util/rails/collection_merger.rb
|
281
278
|
- lib/puppet/util/plist/parser.rb
|
282
279
|
- lib/puppet/util/plist/generator.rb
|
280
|
+
- lib/puppet/util/constant_inflector.rb
|
281
|
+
- lib/puppet/util/tagging.rb
|
283
282
|
- lib/puppet/util/execution.rb
|
284
283
|
- lib/puppet/dsl.rb
|
285
284
|
- lib/puppet/sslcertificates.rb
|
@@ -327,16 +326,12 @@ files:
|
|
327
326
|
- lib/puppet/rails/param_name.rb
|
328
327
|
- lib/puppet/rails/fact_value.rb
|
329
328
|
- lib/puppet/rails/host.rb
|
330
|
-
- lib/puppet/rails/external/tagging/tag.rb
|
331
|
-
- lib/puppet/rails/external/tagging/acts_as_taggable.rb
|
332
|
-
- lib/puppet/rails/external/tagging/init.rb
|
333
|
-
- lib/puppet/rails/external/tagging/tagging.rb
|
334
|
-
- lib/puppet/rails/puppet_class.rb
|
335
329
|
- lib/puppet/rails/param_value.rb
|
336
330
|
- lib/puppet/rails/puppet_tag.rb
|
337
331
|
- lib/puppet/rails/resource_tag.rb
|
338
332
|
- lib/puppet/rails/resource.rb
|
339
333
|
- lib/puppet/rails/database/schema.rb
|
334
|
+
- lib/puppet/rails/database/001_add_created_at_to_all_tables.rb
|
340
335
|
- lib/puppet/rails/fact_name.rb
|
341
336
|
- lib/puppet/rails/source_file.rb
|
342
337
|
- lib/puppet/file_serving/terminus_helper.rb
|
@@ -362,7 +357,6 @@ files:
|
|
362
357
|
- lib/puppet/parser/parser.rb
|
363
358
|
- lib/puppet/parser/resource/reference.rb
|
364
359
|
- lib/puppet/parser/resource/param.rb
|
365
|
-
- lib/puppet/parser/compile.rb
|
366
360
|
- lib/puppet/parser/functions.rb
|
367
361
|
- lib/puppet/parser/templatewrapper.rb
|
368
362
|
- lib/puppet/parser/resource.rb
|
@@ -388,6 +382,7 @@ files:
|
|
388
382
|
- lib/puppet/parser/ast/resource_reference.rb
|
389
383
|
- lib/puppet/parser/ast/resource_override.rb
|
390
384
|
- lib/puppet/parser/collector.rb
|
385
|
+
- lib/puppet/parser/compiler.rb
|
391
386
|
- lib/puppet/provider/package/yumhelper.py
|
392
387
|
- test/ral/providers/group.rb
|
393
388
|
- test/ral/providers/port/parsed.rb
|
@@ -409,27 +404,27 @@ files:
|
|
409
404
|
- test/ral/providers/parsedfile.rb
|
410
405
|
- test/ral/providers/cron/crontab.rb
|
411
406
|
- test/ral/providers/provider.rb
|
412
|
-
- test/ral/
|
413
|
-
- test/ral/
|
414
|
-
- test/ral/
|
415
|
-
- test/ral/
|
416
|
-
- test/ral/
|
417
|
-
- test/ral/
|
418
|
-
- test/ral/
|
419
|
-
- test/ral/
|
420
|
-
- test/ral/
|
421
|
-
- test/ral/
|
422
|
-
- test/ral/
|
423
|
-
- test/ral/
|
424
|
-
- test/ral/
|
425
|
-
- test/ral/
|
426
|
-
- test/ral/
|
427
|
-
- test/ral/
|
428
|
-
- test/ral/
|
429
|
-
- test/ral/
|
430
|
-
- test/ral/
|
431
|
-
- test/ral/
|
432
|
-
- test/ral/
|
407
|
+
- test/ral/type/parameter.rb
|
408
|
+
- test/ral/type/tidy.rb
|
409
|
+
- test/ral/type/filesources.rb
|
410
|
+
- test/ral/type/zone.rb
|
411
|
+
- test/ral/type/group.rb
|
412
|
+
- test/ral/type/file.rb
|
413
|
+
- test/ral/type/service.rb
|
414
|
+
- test/ral/type/yumrepo.rb
|
415
|
+
- test/ral/type/resources.rb
|
416
|
+
- test/ral/type/host.rb
|
417
|
+
- test/ral/type/user.rb
|
418
|
+
- test/ral/type/basic.rb
|
419
|
+
- test/ral/type/sshkey.rb
|
420
|
+
- test/ral/type/property.rb
|
421
|
+
- test/ral/type/filebucket.rb
|
422
|
+
- test/ral/type/file/target.rb
|
423
|
+
- test/ral/type/cron.rb
|
424
|
+
- test/ral/type/fileignoresource.rb
|
425
|
+
- test/ral/type/exec.rb
|
426
|
+
- test/ral/type/mailalias.rb
|
427
|
+
- test/ral/type/port.rb
|
433
428
|
- test/ral/manager/attributes.rb
|
434
429
|
- test/ral/manager/manager.rb
|
435
430
|
- test/ral/manager/type.rb
|
@@ -477,44 +472,8 @@ files:
|
|
477
472
|
- test/executables/puppetd.rb
|
478
473
|
- test/executables/puppetmodule.rb
|
479
474
|
- test/lib/puppettest.rb
|
480
|
-
- test/lib/mocha.rb
|
481
475
|
- test/lib/mocha_standalone.rb
|
482
476
|
- test/lib/stubba.rb
|
483
|
-
- test/lib/mocha/expectation.rb
|
484
|
-
- test/lib/mocha/pretty_parameters.rb
|
485
|
-
- test/lib/mocha/central.rb
|
486
|
-
- test/lib/mocha/yield_parameters.rb
|
487
|
-
- test/lib/mocha/mock.rb
|
488
|
-
- test/lib/mocha/setup_and_teardown.rb
|
489
|
-
- test/lib/mocha/any_instance_method.rb
|
490
|
-
- test/lib/mocha/metaclass.rb
|
491
|
-
- test/lib/mocha/infinite_range.rb
|
492
|
-
- test/lib/mocha/is_a.rb
|
493
|
-
- test/lib/mocha/no_yields.rb
|
494
|
-
- test/lib/mocha/exception_raiser.rb
|
495
|
-
- test/lib/mocha/standalone.rb
|
496
|
-
- test/lib/mocha/single_yield.rb
|
497
|
-
- test/lib/mocha/expectation_error.rb
|
498
|
-
- test/lib/mocha/class_method.rb
|
499
|
-
- test/lib/mocha/missing_expectation.rb
|
500
|
-
- test/lib/mocha/instance_method.rb
|
501
|
-
- test/lib/mocha/test_case_adapter.rb
|
502
|
-
- test/lib/mocha/parameter_matchers.rb
|
503
|
-
- test/lib/mocha/inspect.rb
|
504
|
-
- test/lib/mocha/auto_verify.rb
|
505
|
-
- test/lib/mocha/multiple_yields.rb
|
506
|
-
- test/lib/mocha/single_return_value.rb
|
507
|
-
- test/lib/mocha/stub.rb
|
508
|
-
- test/lib/mocha/deprecation.rb
|
509
|
-
- test/lib/mocha/return_values.rb
|
510
|
-
- test/lib/mocha/parameter_matchers/has_value.rb
|
511
|
-
- test/lib/mocha/parameter_matchers/anything.rb
|
512
|
-
- test/lib/mocha/parameter_matchers/includes.rb
|
513
|
-
- test/lib/mocha/parameter_matchers/all_of.rb
|
514
|
-
- test/lib/mocha/parameter_matchers/has_entry.rb
|
515
|
-
- test/lib/mocha/parameter_matchers/has_key.rb
|
516
|
-
- test/lib/mocha/parameter_matchers/any_of.rb
|
517
|
-
- test/lib/mocha/object.rb
|
518
477
|
- test/lib/puppettest/testcase.rb
|
519
478
|
- test/lib/puppettest/resourcetesting.rb
|
520
479
|
- test/lib/puppettest/reporttesting.rb
|
@@ -558,19 +517,15 @@ files:
|
|
558
517
|
- test/certmgr/inventory.rb
|
559
518
|
- test/certmgr/certmgr.rb
|
560
519
|
- test/language/ast.rb
|
561
|
-
- test/language/lexer.rb
|
562
520
|
- test/language/scope.rb
|
563
521
|
- test/language/parser.rb
|
564
522
|
- test/language/transportable.rb
|
565
|
-
- test/language/compile.rb
|
566
523
|
- test/language/functions.rb
|
567
524
|
- test/language/resource.rb
|
568
525
|
- test/language/snippets.rb
|
569
|
-
- test/language/ast/definition.rb
|
570
526
|
- test/language/ast/selector.rb
|
571
527
|
- test/language/ast/casestatement.rb
|
572
528
|
- test/language/ast/resource.rb
|
573
|
-
- test/language/ast/hostclass.rb
|
574
529
|
- test/language/ast/variable.rb
|
575
530
|
- test/language/ast/resource_reference.rb
|
576
531
|
- test/puppet/conffiles.rb
|
@@ -655,9 +610,8 @@ files:
|
|
655
610
|
- examples/root/etc/configfile
|
656
611
|
- examples/root/etc/puppet
|
657
612
|
- examples/root/etc/puppet/tagmail.conf
|
658
|
-
- examples/root/etc/puppet/puppetmasterd.conf
|
659
613
|
- examples/root/etc/puppet/namespaceauth.conf
|
660
|
-
- examples/root/etc/puppet/
|
614
|
+
- examples/root/etc/puppet/puppet.conf
|
661
615
|
- examples/root/etc/puppet/fileserver.conf
|
662
616
|
- conf/suse
|
663
617
|
- conf/suse/server.init
|
@@ -671,9 +625,7 @@ files:
|
|
671
625
|
- conf/gentoo/init.d/puppetmaster
|
672
626
|
- conf/gentoo/init.d/puppet
|
673
627
|
- conf/gentoo/puppet
|
674
|
-
- conf/gentoo/puppet/
|
675
|
-
- conf/gentoo/puppet/puppetca.conf
|
676
|
-
- conf/gentoo/puppet/puppetd.conf
|
628
|
+
- conf/gentoo/puppet/puppet.conf
|
677
629
|
- conf/gentoo/puppet/fileserver.conf
|
678
630
|
- conf/redhat
|
679
631
|
- conf/redhat/client.sysconfig
|
@@ -694,6 +646,7 @@ files:
|
|
694
646
|
- conf/solaris/smf/puppetmasterd.xml
|
695
647
|
- conf/solaris/smf/svc-puppetd
|
696
648
|
- conf/solaris/pkginfo
|
649
|
+
- conf/namespaceauth.conf
|
697
650
|
- conf/freebsd
|
698
651
|
- conf/freebsd/puppetmasterd
|
699
652
|
- conf/freebsd/puppetd
|
@@ -1,29 +0,0 @@
|
|
1
|
-
[puppet]
|
2
|
-
# Where Puppet stores dynamic and growing data.
|
3
|
-
# The default value is '/var/puppet'.
|
4
|
-
vardir = /var/lib/puppet
|
5
|
-
|
6
|
-
# The Puppet log directory.
|
7
|
-
# The default value is '$vardir/log'.
|
8
|
-
logdir = /var/log/puppet
|
9
|
-
|
10
|
-
# Where Puppet PID files are kept.
|
11
|
-
# The default value is '$vardir/run'.
|
12
|
-
rundir = /var/run/puppet
|
13
|
-
|
14
|
-
# Where SSL certificates are kept.
|
15
|
-
# The default value is '$confdir/ssl'.
|
16
|
-
ssldir = $vardir/ssl
|
17
|
-
|
18
|
-
[puppetd]
|
19
|
-
# The file in which puppetd stores a list of the classes
|
20
|
-
# associated with the retrieved configuratiion. Can be loaded in
|
21
|
-
# the separate ``puppet`` executable using the ``--loadclasses``
|
22
|
-
# option.
|
23
|
-
# The default value is '$confdir/classes.txt'.
|
24
|
-
classfile = $vardir/classes.txt
|
25
|
-
|
26
|
-
# Where puppetd caches the local configuration. An
|
27
|
-
# extension indicating the cache format is added automatically.
|
28
|
-
# The default value is '$confdir/localconfig'.
|
29
|
-
localconfig = $vardir/localconfig
|
@@ -1,29 +0,0 @@
|
|
1
|
-
[puppet]
|
2
|
-
# Where Puppet stores dynamic and growing data.
|
3
|
-
# The default value is '/var/puppet'.
|
4
|
-
vardir = /var/lib/puppet
|
5
|
-
|
6
|
-
# The Puppet log directory.
|
7
|
-
# The default value is '$vardir/log'.
|
8
|
-
logdir = /var/log/puppet
|
9
|
-
|
10
|
-
# Where Puppet PID files are kept.
|
11
|
-
# The default value is '$vardir/run'.
|
12
|
-
rundir = /var/run/puppet
|
13
|
-
|
14
|
-
# Where SSL certificates are kept.
|
15
|
-
# The default value is '$confdir/ssl'.
|
16
|
-
ssldir = $vardir/ssl
|
17
|
-
|
18
|
-
[puppetd]
|
19
|
-
# The file in which puppetd stores a list of the classes
|
20
|
-
# associated with the retrieved configuratiion. Can be loaded in
|
21
|
-
# the separate ``puppet`` executable using the ``--loadclasses``
|
22
|
-
# option.
|
23
|
-
# The default value is '$confdir/classes.txt'.
|
24
|
-
classfile = $vardir/classes.txt
|
25
|
-
|
26
|
-
# Where puppetd caches the local configuration. An
|
27
|
-
# extension indicating the cache format is added automatically.
|
28
|
-
# The default value is '$confdir/localconfig'.
|
29
|
-
localconfig = $vardir/localconfig
|