puppet 0.9.2 → 0.13.0
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 +58 -0
- data/README +21 -18
- data/Rakefile +176 -36
- data/bin/puppet +34 -48
- data/bin/puppetca +41 -28
- data/bin/puppetd +87 -65
- data/bin/puppetdoc +99 -23
- data/bin/puppetmasterd +72 -91
- data/conf/redhat/client.init +80 -0
- data/conf/redhat/client.sysconfig +11 -0
- data/conf/redhat/fileserver.conf +12 -0
- data/conf/redhat/puppet.spec +130 -0
- data/conf/redhat/server.init +89 -0
- data/conf/redhat/server.sysconfig +9 -0
- data/examples/code/allatonce +2 -2
- data/examples/code/assignments +1 -1
- data/examples/code/classing +2 -2
- data/examples/code/components +2 -2
- data/examples/code/file.bl +5 -5
- data/examples/code/filedefaults +2 -2
- data/examples/code/fileparsing +1 -1
- data/examples/code/filerecursion +1 -1
- data/examples/code/functions +1 -1
- data/examples/code/groups +1 -1
- data/examples/code/importing +1 -1
- data/examples/code/nodes +1 -1
- data/examples/code/one +1 -1
- data/examples/code/relationships +2 -2
- data/examples/code/simpletests +5 -5
- data/examples/code/snippets/argumentdefaults +2 -2
- data/examples/code/snippets/casestatement +16 -8
- data/examples/code/snippets/classheirarchy.pp +4 -4
- data/examples/code/snippets/classincludes.pp +4 -4
- data/examples/code/snippets/classpathtest +2 -2
- data/examples/code/snippets/componentmetaparams.pp +11 -0
- data/examples/code/snippets/dirchmod +5 -5
- data/examples/code/snippets/emptyclass.pp +9 -0
- data/examples/code/snippets/failmissingexecpath.pp +1 -1
- data/examples/code/snippets/falsevalues.pp +1 -1
- data/examples/code/snippets/filecreate +5 -5
- data/examples/code/snippets/implicititeration +5 -5
- data/examples/code/snippets/multipleinstances +4 -4
- data/examples/code/snippets/namevartest +3 -3
- data/examples/code/snippets/scopetest +1 -1
- data/examples/code/snippets/selectorvalues.pp +3 -3
- data/examples/code/snippets/simpledefaults +2 -2
- data/examples/code/snippets/simpleselector +5 -5
- data/examples/code/snippets/singleary.pp +19 -0
- data/examples/root/etc/init.d/sleeper +3 -2
- data/ext/emacs/puppet-mode-init.el +6 -0
- data/ext/emacs/puppet-mode.el +189 -0
- data/ext/ldap/puppet.schema +17 -0
- data/ext/{module:puppet → module_puppet} +30 -31
- data/ext/vim/filetype.vim +9 -0
- data/ext/vim/puppet.vim +87 -0
- data/install.rb +63 -30
- data/lib/puppet.rb +216 -122
- data/lib/puppet/client.rb +51 -416
- data/lib/puppet/client/ca.rb +17 -0
- data/lib/puppet/client/dipper.rb +78 -0
- data/lib/puppet/client/file.rb +20 -0
- data/lib/puppet/client/log.rb +17 -0
- data/lib/puppet/client/master.rb +246 -0
- data/lib/puppet/client/proxy.rb +27 -0
- data/lib/puppet/client/status.rb +7 -0
- data/lib/puppet/config.rb +563 -13
- data/lib/puppet/daemon.rb +50 -22
- data/lib/puppet/element.rb +4 -4
- data/lib/puppet/event-loop.rb +1 -0
- data/lib/puppet/event-loop/better-definers.rb +367 -0
- data/lib/puppet/event-loop/event-loop.rb +355 -0
- data/lib/puppet/event-loop/signal-system.rb +220 -0
- data/lib/puppet/event.rb +9 -11
- data/lib/puppet/filetype.rb +195 -0
- data/lib/puppet/log.rb +35 -12
- data/lib/puppet/metric.rb +2 -2
- data/lib/puppet/networkclient.rb +145 -0
- data/lib/puppet/parameter.rb +335 -0
- data/lib/puppet/parser/ast.rb +42 -1453
- data/lib/puppet/parser/ast/astarray.rb +88 -0
- data/lib/puppet/parser/ast/branch.rb +47 -0
- data/lib/puppet/parser/ast/caseopt.rb +66 -0
- data/lib/puppet/parser/ast/casestatement.rb +78 -0
- data/lib/puppet/parser/ast/classdef.rb +78 -0
- data/lib/puppet/parser/ast/compdef.rb +111 -0
- data/lib/puppet/parser/ast/component.rb +105 -0
- data/lib/puppet/parser/ast/hostclass.rb +82 -0
- data/lib/puppet/parser/ast/leaf.rb +86 -0
- data/lib/puppet/parser/ast/node.rb +103 -0
- data/lib/puppet/parser/ast/nodedef.rb +68 -0
- data/lib/puppet/parser/ast/objectdef.rb +336 -0
- data/lib/puppet/parser/ast/objectparam.rb +30 -0
- data/lib/puppet/parser/ast/objectref.rb +76 -0
- data/lib/puppet/parser/ast/selector.rb +60 -0
- data/lib/puppet/parser/ast/typedefaults.rb +45 -0
- data/lib/puppet/parser/ast/vardef.rb +44 -0
- data/lib/puppet/parser/interpreter.rb +31 -14
- data/lib/puppet/parser/lexer.rb +2 -4
- data/lib/puppet/parser/parser.rb +332 -242
- data/lib/puppet/parser/scope.rb +55 -38
- data/lib/puppet/server.rb +43 -44
- data/lib/puppet/server/authstore.rb +3 -6
- data/lib/puppet/server/ca.rb +5 -2
- data/lib/puppet/server/filebucket.rb +2 -4
- data/lib/puppet/server/fileserver.rb +28 -12
- data/lib/puppet/server/logger.rb +15 -4
- data/lib/puppet/server/master.rb +62 -7
- data/lib/puppet/sslcertificates.rb +41 -607
- data/lib/puppet/sslcertificates/ca.rb +291 -0
- data/lib/puppet/sslcertificates/certificate.rb +283 -0
- data/lib/puppet/statechange.rb +6 -1
- data/lib/puppet/storage.rb +67 -56
- data/lib/puppet/transaction.rb +25 -9
- data/lib/puppet/transportable.rb +102 -22
- data/lib/puppet/type.rb +1096 -315
- data/lib/puppet/type/component.rb +30 -21
- data/lib/puppet/type/cron.rb +409 -448
- data/lib/puppet/type/exec.rb +234 -174
- data/lib/puppet/type/group.rb +65 -82
- data/lib/puppet/type/nameservice.rb +247 -3
- data/lib/puppet/type/nameservice/netinfo.rb +29 -40
- data/lib/puppet/type/nameservice/objectadd.rb +52 -66
- data/lib/puppet/type/nameservice/posix.rb +6 -194
- data/lib/puppet/type/package.rb +447 -295
- data/lib/puppet/type/package/apt.rb +51 -50
- data/lib/puppet/type/package/bsd.rb +82 -0
- data/lib/puppet/type/package/dpkg.rb +85 -88
- data/lib/puppet/type/package/rpm.rb +67 -63
- data/lib/puppet/type/package/sun.rb +119 -98
- data/lib/puppet/type/package/yum.rb +41 -37
- data/lib/puppet/type/parsedtype.rb +295 -0
- data/lib/puppet/type/parsedtype/host.rb +143 -0
- data/lib/puppet/type/parsedtype/port.rb +232 -0
- data/lib/puppet/type/parsedtype/sshkey.rb +129 -0
- data/lib/puppet/type/pfile.rb +484 -460
- data/lib/puppet/type/pfile/checksum.rb +237 -181
- data/lib/puppet/type/pfile/content.rb +67 -0
- data/lib/puppet/type/pfile/ensure.rb +212 -0
- data/lib/puppet/type/pfile/group.rb +106 -105
- data/lib/puppet/type/pfile/mode.rb +98 -101
- data/lib/puppet/type/pfile/source.rb +228 -209
- data/lib/puppet/type/pfile/type.rb +18 -21
- data/lib/puppet/type/pfile/uid.rb +127 -130
- data/lib/puppet/type/pfilebucket.rb +68 -63
- data/lib/puppet/type/schedule.rb +341 -0
- data/lib/puppet/type/service.rb +351 -255
- data/lib/puppet/type/service/base.rb +9 -14
- data/lib/puppet/type/service/debian.rb +32 -38
- data/lib/puppet/type/service/init.rb +130 -130
- data/lib/puppet/type/service/smf.rb +48 -20
- data/lib/puppet/type/state.rb +229 -16
- data/lib/puppet/type/symlink.rb +51 -63
- data/lib/puppet/type/tidy.rb +105 -102
- data/lib/puppet/type/user.rb +118 -180
- data/lib/puppet/util.rb +100 -6
- data/test/certmgr/certmgr.rb +0 -1
- data/test/client/client.rb +4 -4
- data/test/executables/puppetbin.rb +7 -14
- data/test/executables/puppetca.rb +18 -24
- data/test/executables/puppetd.rb +7 -16
- data/test/executables/puppetmasterd.rb +7 -9
- data/test/executables/puppetmodule.rb +11 -16
- data/test/language/ast.rb +11 -7
- data/test/language/interpreter.rb +1 -1
- data/test/language/scope.rb +2 -0
- data/test/language/snippets.rb +30 -5
- data/test/language/transportable.rb +77 -0
- data/test/other/config.rb +316 -0
- data/test/other/events.rb +22 -21
- data/test/other/log.rb +14 -14
- data/test/other/metrics.rb +4 -8
- data/test/other/overrides.rb +5 -5
- data/test/other/relationships.rb +4 -2
- data/test/other/storage.rb +64 -3
- data/test/other/transactions.rb +20 -20
- data/test/parser/parser.rb +7 -4
- data/test/puppet/conffiles.rb +12 -12
- data/test/puppet/defaults.rb +13 -11
- data/test/puppet/utiltest.rb +14 -11
- data/test/puppettest.rb +156 -48
- data/test/server/bucket.rb +2 -2
- data/test/server/fileserver.rb +6 -6
- data/test/server/logger.rb +19 -11
- data/test/server/master.rb +33 -4
- data/test/server/server.rb +2 -7
- data/test/types/basic.rb +5 -7
- data/test/types/component.rb +22 -18
- data/test/types/cron.rb +111 -44
- data/test/types/exec.rb +116 -59
- data/test/types/file.rb +262 -137
- data/test/types/filebucket.rb +13 -15
- data/test/types/fileignoresource.rb +12 -16
- data/test/types/filesources.rb +73 -48
- data/test/types/filetype.rb +13 -15
- data/test/types/group.rb +15 -13
- data/test/types/host.rb +146 -0
- data/test/types/package.rb +74 -63
- data/test/types/port.rb +139 -0
- data/test/types/query.rb +8 -8
- data/test/types/schedule.rb +335 -0
- data/test/types/service.rb +137 -21
- data/test/types/sshkey.rb +140 -0
- data/test/types/symlink.rb +3 -5
- data/test/types/tidy.rb +5 -14
- data/test/types/type.rb +67 -11
- data/test/types/user.rb +25 -23
- metadata +186 -122
- data/lib/puppet/type/pfile/create.rb +0 -108
- data/lib/puppet/type/pprocess.rb +0 -97
- data/lib/puppet/type/typegen.rb +0 -149
- data/lib/puppet/type/typegen/filerecord.rb +0 -243
- data/lib/puppet/type/typegen/filetype.rb +0 -316
- data/test/other/state.rb +0 -106
data/test/types/user.rb
CHANGED
@@ -4,7 +4,7 @@ if __FILE__ == $0
|
|
4
4
|
$puppetbase = "../../../../language/trunk"
|
5
5
|
end
|
6
6
|
|
7
|
-
# $Id: user.rb
|
7
|
+
# $Id: user.rb 831 2006-01-16 20:01:20Z luke $
|
8
8
|
|
9
9
|
require 'etc'
|
10
10
|
require 'puppet/type'
|
@@ -25,6 +25,7 @@ class TestUser < Test::Unit::TestCase
|
|
25
25
|
end
|
26
26
|
}
|
27
27
|
super
|
28
|
+
#Puppet.type(:user).clear
|
28
29
|
end
|
29
30
|
|
30
31
|
case Facter["operatingsystem"].value
|
@@ -42,7 +43,7 @@ class TestUser < Test::Unit::TestCase
|
|
42
43
|
end
|
43
44
|
|
44
45
|
def current?(param, name)
|
45
|
-
state = Puppet
|
46
|
+
state = Puppet.type(:user).states.find { |st|
|
46
47
|
st.name == param
|
47
48
|
}
|
48
49
|
|
@@ -80,7 +81,7 @@ class TestUser < Test::Unit::TestCase
|
|
80
81
|
end
|
81
82
|
|
82
83
|
def current?(param, name)
|
83
|
-
state = Puppet
|
84
|
+
state = Puppet.type(:user).states.find { |st|
|
84
85
|
st.name == param
|
85
86
|
}
|
86
87
|
|
@@ -112,7 +113,7 @@ class TestUser < Test::Unit::TestCase
|
|
112
113
|
def mkuser(name)
|
113
114
|
user = nil
|
114
115
|
assert_nothing_raised {
|
115
|
-
user = Puppet
|
116
|
+
user = Puppet.type(:user).create(
|
116
117
|
:name => name,
|
117
118
|
:comment => "Puppet Testing User",
|
118
119
|
:gid => Process.gid,
|
@@ -130,7 +131,7 @@ class TestUser < Test::Unit::TestCase
|
|
130
131
|
|
131
132
|
comp = newcomp("commenttest", user)
|
132
133
|
|
133
|
-
trans = assert_events(
|
134
|
+
trans = assert_events([:user_modified], comp, "user")
|
134
135
|
|
135
136
|
assert_equal("A different comment", current?(:comment, user[:name]),
|
136
137
|
"Comment was not changed")
|
@@ -148,11 +149,11 @@ class TestUser < Test::Unit::TestCase
|
|
148
149
|
old = current?(:home, user[:name])
|
149
150
|
user[:home] = old
|
150
151
|
|
151
|
-
trans = assert_events(
|
152
|
+
trans = assert_events([], comp, "user")
|
152
153
|
|
153
154
|
user[:home] = "/tmp"
|
154
155
|
|
155
|
-
trans = assert_events(
|
156
|
+
trans = assert_events([:user_modified], comp, "user")
|
156
157
|
|
157
158
|
assert_equal("/tmp", current?(:home, user[:name]), "Home was not changed")
|
158
159
|
|
@@ -167,7 +168,7 @@ class TestUser < Test::Unit::TestCase
|
|
167
168
|
|
168
169
|
user[:shell] = old
|
169
170
|
|
170
|
-
trans = assert_events(
|
171
|
+
trans = assert_events([], comp, "user")
|
171
172
|
|
172
173
|
newshell = findshell(old)
|
173
174
|
|
@@ -178,7 +179,7 @@ class TestUser < Test::Unit::TestCase
|
|
178
179
|
|
179
180
|
user[:shell] = newshell
|
180
181
|
|
181
|
-
trans = assert_events(
|
182
|
+
trans = assert_events([:user_modified], comp, "user")
|
182
183
|
|
183
184
|
assert_equal(newshell, current?(:shell, user[:name]),
|
184
185
|
"Shell was not changed")
|
@@ -197,7 +198,7 @@ class TestUser < Test::Unit::TestCase
|
|
197
198
|
|
198
199
|
user[:gid] = old
|
199
200
|
|
200
|
-
trans = assert_events(
|
201
|
+
trans = assert_events([], comp, "user")
|
201
202
|
|
202
203
|
newgid = %w{nogroup nobody staff users daemon}.find { |gid|
|
203
204
|
begin
|
@@ -218,7 +219,7 @@ class TestUser < Test::Unit::TestCase
|
|
218
219
|
user[:gid] = newgid
|
219
220
|
}
|
220
221
|
|
221
|
-
trans = assert_events(
|
222
|
+
trans = assert_events([:user_modified], comp, "user")
|
222
223
|
|
223
224
|
# then by id
|
224
225
|
newgid = Etc.getgrnam(newgid).gid
|
@@ -229,7 +230,7 @@ class TestUser < Test::Unit::TestCase
|
|
229
230
|
|
230
231
|
user.retrieve
|
231
232
|
|
232
|
-
assert_events(
|
233
|
+
assert_events([], comp, "user")
|
233
234
|
|
234
235
|
assert_equal(newgid, current?(:gid,user[:name]), "GID was not changed")
|
235
236
|
|
@@ -245,10 +246,11 @@ class TestUser < Test::Unit::TestCase
|
|
245
246
|
old = current?(:uid, user[:name])
|
246
247
|
user[:uid] = old
|
247
248
|
|
248
|
-
trans = assert_events(
|
249
|
+
trans = assert_events([], comp, "user")
|
249
250
|
|
250
251
|
newuid = old
|
251
252
|
while true
|
253
|
+
Puppet.warning newuid.inspect
|
252
254
|
newuid += 1
|
253
255
|
|
254
256
|
if newuid - old > 1000
|
@@ -266,7 +268,7 @@ class TestUser < Test::Unit::TestCase
|
|
266
268
|
user[:uid] = newuid
|
267
269
|
}
|
268
270
|
|
269
|
-
trans = assert_events(
|
271
|
+
trans = assert_events([:user_modified], comp, "user")
|
270
272
|
|
271
273
|
assert_equal(newuid, current?(:uid, user[:name]), "UID was not changed")
|
272
274
|
|
@@ -281,7 +283,7 @@ class TestUser < Test::Unit::TestCase
|
|
281
283
|
|
282
284
|
assert(obj, "Could not retrieve test group object")
|
283
285
|
|
284
|
-
Puppet
|
286
|
+
Puppet.type(:user).validstates.each { |name|
|
285
287
|
assert_nothing_raised {
|
286
288
|
method = state.posixmethod
|
287
289
|
assert(method, "State %s has no infomethod" % name)
|
@@ -301,8 +303,8 @@ class TestUser < Test::Unit::TestCase
|
|
301
303
|
}
|
302
304
|
user = nil
|
303
305
|
assert_nothing_raised {
|
304
|
-
checks = Puppet
|
305
|
-
user = Puppet
|
306
|
+
checks = Puppet.type(:user).validstates
|
307
|
+
user = Puppet.type(:user).create(
|
306
308
|
:name => name,
|
307
309
|
:check => checks
|
308
310
|
)
|
@@ -327,12 +329,12 @@ class TestUser < Test::Unit::TestCase
|
|
327
329
|
|
328
330
|
comp = newcomp("usercomp", user)
|
329
331
|
|
330
|
-
trans = assert_events(
|
332
|
+
trans = assert_events([:user_created], comp, "user")
|
331
333
|
|
332
334
|
assert_equal("Puppet Testing User", current?(:comment, user[:name]),
|
333
335
|
"Comment was not set")
|
334
336
|
|
335
|
-
assert_rollback_events(trans, [:
|
337
|
+
assert_rollback_events(trans, [:user_removed], "user")
|
336
338
|
|
337
339
|
assert(missing?(user[:name]))
|
338
340
|
end
|
@@ -349,19 +351,19 @@ class TestUser < Test::Unit::TestCase
|
|
349
351
|
|
350
352
|
comp = newcomp("usercomp", user)
|
351
353
|
|
352
|
-
trans = assert_events(
|
354
|
+
trans = assert_events([:user_created], comp, "user")
|
353
355
|
|
356
|
+
user.retrieve
|
354
357
|
assert_equal("Puppet Testing User", current?(:comment, user[:name]),
|
355
358
|
"Comment was not set")
|
356
359
|
|
357
|
-
tests = Puppet
|
360
|
+
tests = Puppet.type(:user).validstates
|
358
361
|
|
359
|
-
user.retrieve
|
360
362
|
tests.each { |test|
|
361
363
|
if self.respond_to?("attrtest_%s" % test)
|
362
364
|
self.send("attrtest_%s" % test, user)
|
363
365
|
else
|
364
|
-
|
366
|
+
Puppet.err "Not testing attr %s of user" % test
|
365
367
|
end
|
366
368
|
}
|
367
369
|
end
|
metadata
CHANGED
@@ -3,20 +3,20 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: puppet
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date:
|
6
|
+
version: 0.13.0
|
7
|
+
date: 2006-02-08 00:00:00 -06:00
|
8
8
|
summary: Puppet is a server configuration management tool.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: dev@reductivelabs.com
|
12
12
|
homepage: http://reductivelabs.com/projects/puppet
|
13
|
-
rubyforge_project:
|
13
|
+
rubyforge_project: puppet
|
14
14
|
description: "Puppet is a declarative language for expressing system configuration, a client
|
15
15
|
and server for distributing it, and a library for realizing the configuration."
|
16
16
|
autorequire: puppet
|
17
17
|
default_executable: puppet
|
18
18
|
bindir: bin
|
19
|
-
has_rdoc:
|
19
|
+
has_rdoc: true
|
20
20
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
21
|
requirements:
|
22
22
|
-
|
@@ -31,196 +31,260 @@ authors:
|
|
31
31
|
- Luke Kanies
|
32
32
|
files:
|
33
33
|
- install.rb
|
34
|
-
-
|
35
|
-
- Rakefile
|
34
|
+
- TODO
|
36
35
|
- LICENSE
|
36
|
+
- Rakefile
|
37
37
|
- README
|
38
|
-
-
|
38
|
+
- CHANGELOG
|
39
39
|
- COPYING
|
40
40
|
- lib/puppet.rb
|
41
41
|
- lib/puppet/transportable.rb
|
42
|
-
- lib/puppet/transaction.rb
|
43
|
-
- lib/puppet/client.rb
|
44
42
|
- lib/puppet/statechange.rb
|
43
|
+
- lib/puppet/parameter.rb
|
44
|
+
- lib/puppet/config.rb
|
45
|
+
- lib/puppet/daemon.rb
|
46
|
+
- lib/puppet/server.rb
|
47
|
+
- lib/puppet/transaction.rb
|
48
|
+
- lib/puppet/filetype.rb
|
49
|
+
- lib/puppet/event-loop.rb
|
50
|
+
- lib/puppet/log.rb
|
45
51
|
- lib/puppet/event.rb
|
52
|
+
- lib/puppet/networkclient.rb
|
53
|
+
- lib/puppet/sslcertificates.rb
|
46
54
|
- lib/puppet/type.rb
|
47
55
|
- lib/puppet/storage.rb
|
48
|
-
- lib/puppet/
|
49
|
-
- lib/puppet/log.rb
|
50
|
-
- lib/puppet/metric.rb
|
51
|
-
- lib/puppet/server.rb
|
52
|
-
- lib/puppet/daemon.rb
|
53
|
-
- lib/puppet/parsedfile.rb
|
56
|
+
- lib/puppet/client.rb
|
54
57
|
- lib/puppet/util.rb
|
55
|
-
- lib/puppet/
|
58
|
+
- lib/puppet/parsedfile.rb
|
59
|
+
- lib/puppet/element.rb
|
56
60
|
- lib/puppet/base64.rb
|
57
|
-
- lib/puppet/
|
61
|
+
- lib/puppet/metric.rb
|
62
|
+
- lib/puppet/type/parsedtype.rb
|
63
|
+
- lib/puppet/type/cron.rb
|
64
|
+
- lib/puppet/type/nameservice.rb
|
58
65
|
- lib/puppet/type/component.rb
|
66
|
+
- lib/puppet/type/pfilebucket.rb
|
67
|
+
- lib/puppet/type/group.rb
|
59
68
|
- lib/puppet/type/tidy.rb
|
60
69
|
- lib/puppet/type/exec.rb
|
70
|
+
- lib/puppet/type/symlink.rb
|
61
71
|
- lib/puppet/type/service.rb
|
62
72
|
- lib/puppet/type/state.rb
|
73
|
+
- lib/puppet/type/user.rb
|
74
|
+
- lib/puppet/type/schedule.rb
|
63
75
|
- lib/puppet/type/package.rb
|
64
|
-
- lib/puppet/type/typegen.rb
|
65
76
|
- lib/puppet/type/pfile.rb
|
66
|
-
- lib/puppet/type/
|
67
|
-
- lib/puppet/type/
|
68
|
-
- lib/puppet/type/
|
69
|
-
- lib/puppet/type/
|
70
|
-
- lib/puppet/type/
|
71
|
-
- lib/puppet/type/
|
72
|
-
- lib/puppet/type/
|
73
|
-
- lib/puppet/type/
|
74
|
-
- lib/puppet/type/
|
75
|
-
- lib/puppet/type/
|
76
|
-
- lib/puppet/type/
|
77
|
-
- lib/puppet/type/
|
77
|
+
- lib/puppet/type/parsedtype/sshkey.rb
|
78
|
+
- lib/puppet/type/parsedtype/host.rb
|
79
|
+
- lib/puppet/type/parsedtype/port.rb
|
80
|
+
- lib/puppet/type/pfile/group.rb
|
81
|
+
- lib/puppet/type/pfile/content.rb
|
82
|
+
- lib/puppet/type/pfile/checksum.rb
|
83
|
+
- lib/puppet/type/pfile/mode.rb
|
84
|
+
- lib/puppet/type/pfile/source.rb
|
85
|
+
- lib/puppet/type/pfile/type.rb
|
86
|
+
- lib/puppet/type/pfile/uid.rb
|
87
|
+
- lib/puppet/type/pfile/ensure.rb
|
88
|
+
- lib/puppet/type/service/debian.rb
|
78
89
|
- lib/puppet/type/service/smf.rb
|
79
|
-
- lib/puppet/type/service/init.rb
|
80
90
|
- lib/puppet/type/service/base.rb
|
81
|
-
- lib/puppet/type/service/
|
91
|
+
- lib/puppet/type/service/init.rb
|
92
|
+
- lib/puppet/type/nameservice/posix.rb
|
93
|
+
- lib/puppet/type/nameservice/objectadd.rb
|
94
|
+
- lib/puppet/type/nameservice/netinfo.rb
|
82
95
|
- lib/puppet/type/package/dpkg.rb
|
83
96
|
- lib/puppet/type/package/apt.rb
|
97
|
+
- lib/puppet/type/package/bsd.rb
|
84
98
|
- lib/puppet/type/package/rpm.rb
|
85
99
|
- lib/puppet/type/package/sun.rb
|
86
100
|
- lib/puppet/type/package/yum.rb
|
87
|
-
- lib/puppet/
|
88
|
-
- lib/puppet/
|
89
|
-
- lib/puppet/
|
90
|
-
- lib/puppet/
|
91
|
-
- lib/puppet/
|
92
|
-
- lib/puppet/
|
93
|
-
- lib/puppet/
|
94
|
-
- lib/puppet/
|
95
|
-
- lib/puppet/
|
96
|
-
- lib/puppet/parser/ast.rb
|
97
|
-
- lib/puppet/parser/scope.rb
|
101
|
+
- lib/puppet/client/ca.rb
|
102
|
+
- lib/puppet/client/file.rb
|
103
|
+
- lib/puppet/client/master.rb
|
104
|
+
- lib/puppet/client/log.rb
|
105
|
+
- lib/puppet/client/dipper.rb
|
106
|
+
- lib/puppet/client/status.rb
|
107
|
+
- lib/puppet/client/proxy.rb
|
108
|
+
- lib/puppet/sslcertificates/ca.rb
|
109
|
+
- lib/puppet/sslcertificates/certificate.rb
|
98
110
|
- lib/puppet/parser/parser.rb
|
99
|
-
- lib/puppet/
|
111
|
+
- lib/puppet/parser/scope.rb
|
112
|
+
- lib/puppet/parser/ast.rb
|
113
|
+
- lib/puppet/parser/lexer.rb
|
114
|
+
- lib/puppet/parser/interpreter.rb
|
115
|
+
- lib/puppet/parser/ast/hostclass.rb
|
116
|
+
- lib/puppet/parser/ast/leaf.rb
|
117
|
+
- lib/puppet/parser/ast/compdef.rb
|
118
|
+
- lib/puppet/parser/ast/astarray.rb
|
119
|
+
- lib/puppet/parser/ast/component.rb
|
120
|
+
- lib/puppet/parser/ast/objectparam.rb
|
121
|
+
- lib/puppet/parser/ast/vardef.rb
|
122
|
+
- lib/puppet/parser/ast/selector.rb
|
123
|
+
- lib/puppet/parser/ast/caseopt.rb
|
124
|
+
- lib/puppet/parser/ast/casestatement.rb
|
125
|
+
- lib/puppet/parser/ast/objectdef.rb
|
126
|
+
- lib/puppet/parser/ast/node.rb
|
127
|
+
- lib/puppet/parser/ast/typedefaults.rb
|
128
|
+
- lib/puppet/parser/ast/branch.rb
|
129
|
+
- lib/puppet/parser/ast/objectref.rb
|
130
|
+
- lib/puppet/parser/ast/classdef.rb
|
131
|
+
- lib/puppet/parser/ast/nodedef.rb
|
132
|
+
- lib/puppet/server/fileserver.rb
|
100
133
|
- lib/puppet/server/ca.rb
|
101
134
|
- lib/puppet/server/logger.rb
|
102
|
-
- lib/puppet/server/filebucket.rb
|
103
|
-
- lib/puppet/server/fileserver.rb
|
104
135
|
- lib/puppet/server/master.rb
|
136
|
+
- lib/puppet/server/filebucket.rb
|
137
|
+
- lib/puppet/server/servlet.rb
|
105
138
|
- lib/puppet/server/authstore.rb
|
139
|
+
- lib/puppet/event-loop/better-definers.rb
|
140
|
+
- lib/puppet/event-loop/event-loop.rb
|
141
|
+
- lib/puppet/event-loop/signal-system.rb
|
106
142
|
- test/puppettest.rb
|
107
|
-
- test/other/
|
108
|
-
- test/other/state.rb
|
143
|
+
- test/other/config.rb
|
109
144
|
- test/other/events.rb
|
145
|
+
- test/other/log.rb
|
110
146
|
- test/other/metrics.rb
|
111
147
|
- test/other/storage.rb
|
148
|
+
- test/other/parsedfile.rb
|
149
|
+
- test/other/transactions.rb
|
112
150
|
- test/other/relationships.rb
|
113
151
|
- test/other/overrides.rb
|
114
|
-
- test/
|
115
|
-
- test/
|
116
|
-
- test/types/
|
152
|
+
- test/types/cron.rb
|
153
|
+
- test/types/sshkey.rb
|
154
|
+
- test/types/component.rb
|
155
|
+
- test/types/group.rb
|
117
156
|
- test/types/file.rb
|
118
|
-
- test/types/
|
119
|
-
- test/types/basic.rb
|
120
|
-
- test/types/filetype.rb
|
121
|
-
- test/types/type.rb
|
122
|
-
- test/types/query.rb
|
123
|
-
- test/types/symlink.rb
|
157
|
+
- test/types/tidy.rb
|
124
158
|
- test/types/exec.rb
|
159
|
+
- test/types/filetype.rb
|
125
160
|
- test/types/fileignoresource.rb
|
126
|
-
- test/types/
|
127
|
-
- test/types/
|
128
|
-
- test/types/
|
161
|
+
- test/types/symlink.rb
|
162
|
+
- test/types/filebucket.rb
|
163
|
+
- test/types/service.rb
|
164
|
+
- test/types/type.rb
|
129
165
|
- test/types/user.rb
|
166
|
+
- test/types/query.rb
|
167
|
+
- test/types/host.rb
|
168
|
+
- test/types/schedule.rb
|
130
169
|
- test/types/package.rb
|
131
|
-
- test/types/
|
132
|
-
- test/types/
|
133
|
-
- test/
|
134
|
-
- test/
|
135
|
-
- test/puppet/defaults.rb
|
136
|
-
- test/puppet/utiltest.rb
|
137
|
-
- test/puppet/error.rb
|
138
|
-
- test/certmgr/certmgr.rb
|
170
|
+
- test/types/basic.rb
|
171
|
+
- test/types/port.rb
|
172
|
+
- test/types/filesources.rb
|
173
|
+
- test/tagging/tagging.rb
|
139
174
|
- test/executables/puppetbin.rb
|
140
|
-
- test/executables/puppetd.rb
|
141
175
|
- test/executables/puppetmodule.rb
|
142
176
|
- test/executables/puppetca.rb
|
143
177
|
- test/executables/puppetmasterd.rb
|
144
|
-
- test/
|
145
|
-
- test/
|
146
|
-
- test/language/ast.rb
|
147
|
-
- test/language/interpreter.rb
|
178
|
+
- test/executables/puppetd.rb
|
179
|
+
- test/client/client.rb
|
148
180
|
- test/parser/parser.rb
|
149
181
|
- test/parser/lexer.rb
|
182
|
+
- test/puppet/error.rb
|
183
|
+
- test/puppet/defaults.rb
|
184
|
+
- test/puppet/utiltest.rb
|
185
|
+
- test/puppet/conffiles.rb
|
186
|
+
- test/server/fileserver.rb
|
187
|
+
- test/server/ca.rb
|
188
|
+
- test/server/server.rb
|
150
189
|
- test/server/logger.rb
|
151
|
-
- test/server/authstore.rb
|
152
190
|
- test/server/master.rb
|
153
|
-
- test/server/ca.rb
|
154
191
|
- test/server/bucket.rb
|
155
|
-
- test/server/
|
156
|
-
- test/
|
157
|
-
- test/
|
158
|
-
-
|
192
|
+
- test/server/authstore.rb
|
193
|
+
- test/language/transportable.rb
|
194
|
+
- test/language/snippets.rb
|
195
|
+
- test/language/scope.rb
|
196
|
+
- test/language/ast.rb
|
197
|
+
- test/language/interpreter.rb
|
198
|
+
- test/certmgr/certmgr.rb
|
159
199
|
- bin/puppetd
|
160
|
-
- bin/puppetdoc
|
161
|
-
- bin/puppet
|
162
|
-
- bin/cf2puppet
|
163
200
|
- bin/puppetca
|
164
|
-
-
|
165
|
-
-
|
201
|
+
- bin/cf2puppet
|
202
|
+
- bin/puppet
|
203
|
+
- bin/puppetdoc
|
204
|
+
- bin/puppetmasterd
|
205
|
+
- ext/vim
|
206
|
+
- ext/ldap
|
207
|
+
- ext/emacs
|
208
|
+
- ext/module_puppet
|
209
|
+
- ext/vim/filetype.vim
|
210
|
+
- ext/vim/puppet.vim
|
211
|
+
- ext/ldap/puppet.schema
|
212
|
+
- ext/emacs/puppet-mode-init.el
|
213
|
+
- ext/emacs/puppet-mode.el
|
166
214
|
- examples/code
|
167
|
-
- examples/root
|
168
|
-
- examples/root/etc
|
169
|
-
- examples/root/bin/sleeper
|
170
|
-
- examples/root/etc/init.d
|
171
|
-
- examples/root/etc/puppet
|
172
|
-
- examples/root/etc/debian-syslog.conf
|
173
|
-
- examples/root/etc/debian-passwd
|
174
|
-
- examples/root/etc/otherfile
|
175
|
-
- examples/root/etc/configfile
|
176
|
-
- examples/root/etc/init.d/sleeper
|
177
|
-
- examples/root/etc/puppet/fileserver.conf
|
178
|
-
- examples/root/etc/puppet/puppetmasterd.conf
|
179
|
-
- examples/code/relationships
|
180
|
-
- examples/code/components
|
181
|
-
- examples/code/groups
|
215
|
+
- examples/root
|
182
216
|
- examples/code/one
|
183
|
-
- examples/code/assignments
|
184
|
-
- examples/code/filerecursion
|
185
|
-
- examples/code/classing
|
186
217
|
- examples/code/head
|
187
218
|
- examples/code/selectors
|
188
|
-
- examples/code/
|
189
|
-
- examples/code/file.bl
|
219
|
+
- examples/code/execs
|
190
220
|
- examples/code/nodes
|
191
|
-
- examples/code/
|
192
|
-
- examples/code/functions
|
221
|
+
- examples/code/filerecursion
|
193
222
|
- examples/code/failers
|
223
|
+
- examples/code/components
|
224
|
+
- examples/code/file.bl
|
225
|
+
- examples/code/groups
|
226
|
+
- examples/code/functions
|
227
|
+
- examples/code/fileparsing
|
194
228
|
- examples/code/svncommit
|
195
|
-
- examples/code/execs
|
196
|
-
- examples/code/snippets
|
197
229
|
- examples/code/filedefaults
|
198
230
|
- examples/code/simpletests
|
231
|
+
- examples/code/assignments
|
232
|
+
- examples/code/relationships
|
233
|
+
- examples/code/importing
|
234
|
+
- examples/code/classing
|
235
|
+
- examples/code/snippets
|
199
236
|
- examples/code/allatonce
|
237
|
+
- examples/code/failers/badcompnoparam
|
200
238
|
- examples/code/failers/badcompparam
|
201
239
|
- examples/code/failers/badtypeparam
|
202
|
-
- examples/code/failers/badcompnoparam
|
203
|
-
- examples/code/failers/badclassnoparam
|
204
240
|
- examples/code/failers/badclassparam
|
205
|
-
- examples/code/
|
206
|
-
- examples/code/snippets/dirchmod
|
241
|
+
- examples/code/failers/badclassnoparam
|
207
242
|
- examples/code/snippets/simpleselector
|
208
|
-
- examples/code/snippets/filecreate
|
209
243
|
- examples/code/snippets/argumentdefaults
|
244
|
+
- examples/code/snippets/selectorvalues.pp
|
245
|
+
- examples/code/snippets/failmissingexecpath.pp
|
210
246
|
- examples/code/snippets/classpathtest
|
211
|
-
- examples/code/snippets/
|
212
|
-
- examples/code/snippets/
|
247
|
+
- examples/code/snippets/dirchmod
|
248
|
+
- examples/code/snippets/filecreate
|
249
|
+
- examples/code/snippets/classincludes.pp
|
250
|
+
- examples/code/snippets/scopetest
|
213
251
|
- examples/code/snippets/multipleinstances
|
252
|
+
- examples/code/snippets/classheirarchy.pp
|
253
|
+
- examples/code/snippets/implicititeration
|
254
|
+
- examples/code/snippets/simpledefaults
|
255
|
+
- examples/code/snippets/emptyclass.pp
|
256
|
+
- examples/code/snippets/casestatement
|
214
257
|
- examples/code/snippets/namevartest
|
215
|
-
- examples/code/snippets/
|
258
|
+
- examples/code/snippets/singleary.pp
|
216
259
|
- examples/code/snippets/falsevalues.pp
|
217
|
-
- examples/code/snippets/
|
218
|
-
- examples/
|
219
|
-
- examples/
|
220
|
-
- examples/
|
260
|
+
- examples/code/snippets/componentmetaparams.pp
|
261
|
+
- examples/root/bin
|
262
|
+
- examples/root/etc
|
263
|
+
- examples/root/bin/sleeper
|
264
|
+
- examples/root/etc/otherfile
|
265
|
+
- examples/root/etc/configfile
|
266
|
+
- examples/root/etc/init.d
|
267
|
+
- examples/root/etc/debian-passwd
|
268
|
+
- examples/root/etc/puppet
|
269
|
+
- examples/root/etc/debian-syslog.conf
|
270
|
+
- examples/root/etc/init.d/sleeper
|
271
|
+
- examples/root/etc/puppet/fileserver.conf
|
272
|
+
- examples/root/etc/puppet/puppetmasterd.conf
|
273
|
+
- conf/redhat
|
274
|
+
- conf/redhat/fileserver.conf
|
275
|
+
- conf/redhat/client.init
|
276
|
+
- conf/redhat/server.init
|
277
|
+
- conf/redhat/client.sysconfig
|
278
|
+
- conf/redhat/puppet.spec
|
279
|
+
- conf/redhat/server.sysconfig
|
221
280
|
test_files:
|
222
281
|
- test/test
|
223
|
-
rdoc_options:
|
282
|
+
rdoc_options:
|
283
|
+
- "--title"
|
284
|
+
- "Puppet - Configuration Management"
|
285
|
+
- "--main"
|
286
|
+
- README
|
287
|
+
- "--line-numbers"
|
224
288
|
extra_rdoc_files: []
|
225
289
|
executables:
|
226
290
|
- puppet
|
@@ -239,5 +303,5 @@ dependencies:
|
|
239
303
|
-
|
240
304
|
- ">="
|
241
305
|
- !ruby/object:Gem::Version
|
242
|
-
version: 1.
|
306
|
+
version: 1.1.0
|
243
307
|
version:
|