puppet 2.6.3 → 2.6.4
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 +9 -0
- data/ext/nagios/naggen +1 -1
- data/ext/puppet-test +1 -1
- data/install.rb +38 -7
- data/lib/puppet.rb +1 -1
- data/lib/puppet/network/rest_authconfig.rb +0 -1
- data/lib/puppet/util/command_line/filebucket +1 -1
- data/lib/puppet/util/command_line/pi +1 -1
- data/lib/puppet/util/command_line/puppet +1 -1
- data/lib/puppet/util/command_line/puppetca +1 -1
- data/lib/puppet/util/command_line/puppetd +1 -1
- data/lib/puppet/util/command_line/puppetdoc +2 -2
- data/lib/puppet/util/command_line/puppetmasterd +1 -1
- data/lib/puppet/util/command_line/puppetqd +1 -1
- data/lib/puppet/util/command_line/puppetrun +1 -1
- data/lib/puppet/util/command_line/ralsh +1 -1
- data/man/man8/filebucket.8 +1 -1
- data/man/man8/pi.8 +1 -1
- data/man/man8/puppetca.8 +1 -1
- data/man/man8/puppetd.8 +1 -1
- data/man/man8/puppetdoc.8 +2 -2
- data/man/man8/puppetmasterd.8 +1 -1
- data/man/man8/puppetqd.8 +1 -1
- data/man/man8/puppetrun.8 +1 -1
- data/man/man8/ralsh.8 +1 -1
- data/spec/unit/network/rest_authconfig_spec.rb +0 -1
- data/test/test +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
+
2.6.4
|
2
|
+
=====
|
3
|
+
76890a5 Revert "(#5304) Use internal_name rather than real_name for maillist provider"
|
4
|
+
19f3879 Disable remote ralsh by default
|
5
|
+
eee1a9c (#5424) Ship auth.conf as part of installing from source
|
6
|
+
779fea8 (#5304) Use internal_name rather than real_name for maillist provider
|
7
|
+
83f878e Renamed Reductive to Puppet
|
8
|
+
|
1
9
|
2.6.3
|
2
10
|
=====
|
11
|
+
53bb805 Incremented CHANGELOG for 2.6.3
|
3
12
|
184733c [#5322] (#5322) Remove spec file that adds little value and causes failures
|
4
13
|
178c2a6 Fix test failures that fixing #4726 exposed.
|
5
14
|
74b6c09 (#4726) Fix RRD legacy support
|
data/ext/nagios/naggen
CHANGED
data/ext/puppet-test
CHANGED
data/install.rb
CHANGED
@@ -79,6 +79,7 @@ def glob(list)
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# Set these values to what you want installed.
|
82
|
+
configs = glob(%w{conf/auth.conf})
|
82
83
|
sbins = glob(%w{sbin/*})
|
83
84
|
bins = glob(%w{bin/*})
|
84
85
|
rdoc = glob(%w{bin/* sbin/* lib/**/*.rb README README-library CHANGELOG TODO Install}).reject { |e| e=~ /\.(bat|cmd)$/ }
|
@@ -87,6 +88,14 @@ man = glob(%w{man/man[0-9]/*})
|
|
87
88
|
libs = glob(%w{lib/**/*.rb lib/**/*.py lib/puppet/util/command_line/*})
|
88
89
|
tests = glob(%w{test/**/*.rb})
|
89
90
|
|
91
|
+
def do_configs(configs, target, strip = 'conf/')
|
92
|
+
Dir.mkdir(target) unless File.directory? target
|
93
|
+
configs.each do |cf|
|
94
|
+
ocf = File.join(InstallOptions.config_dir, cf.gsub(/#{strip}/, ''))
|
95
|
+
File.install(cf, ocf, 0644, true)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
90
99
|
def do_bins(bins, target, strip = 's?bin/')
|
91
100
|
Dir.mkdir(target) unless File.directory? target
|
92
101
|
bins.each do |bf|
|
@@ -157,6 +166,8 @@ end
|
|
157
166
|
def prepare_installation
|
158
167
|
$operatingsystem = Facter["operatingsystem"].value
|
159
168
|
|
169
|
+
InstallOptions.configs = true
|
170
|
+
|
160
171
|
# Only try to do docs if we're sure they have rdoc
|
161
172
|
if $haverdoc
|
162
173
|
InstallOptions.rdoc = true
|
@@ -193,9 +204,15 @@ def prepare_installation
|
|
193
204
|
opts.on('--[no-]tests', 'Prevents the execution of unit tests.', 'Default on.') do |ontest|
|
194
205
|
InstallOptions.tests = ontest
|
195
206
|
end
|
207
|
+
opts.on('--[no-]configs', 'Prevents the installation of config files', 'Default off.') do |ontest|
|
208
|
+
InstallOptions.configs = ontest
|
209
|
+
end
|
196
210
|
opts.on('--destdir[=OPTIONAL]', 'Installation prefix for all targets', 'Default essentially /') do |destdir|
|
197
211
|
InstallOptions.destdir = destdir
|
198
212
|
end
|
213
|
+
opts.on('--configdir[=OPTIONAL]', 'Installation directory for config files', 'Default /etc/puppet') do |configdir|
|
214
|
+
InstallOptions.configdir = configdir
|
215
|
+
end
|
199
216
|
opts.on('--bindir[=OPTIONAL]', 'Installation directory for binaries', 'overrides Config::CONFIG["bindir"]') do |bindir|
|
200
217
|
InstallOptions.bindir = bindir
|
201
218
|
end
|
@@ -209,15 +226,17 @@ def prepare_installation
|
|
209
226
|
InstallOptions.mandir = mandir
|
210
227
|
end
|
211
228
|
opts.on('--quick', 'Performs a quick installation. Only the', 'installation is done.') do |quick|
|
212
|
-
InstallOptions.rdoc
|
213
|
-
InstallOptions.ri
|
214
|
-
InstallOptions.tests
|
229
|
+
InstallOptions.rdoc = false
|
230
|
+
InstallOptions.ri = false
|
231
|
+
InstallOptions.tests = false
|
232
|
+
InstallOptions.configs = true
|
215
233
|
end
|
216
234
|
opts.on('--full', 'Performs a full installation. All', 'optional installation steps are run.') do |full|
|
217
|
-
InstallOptions.rdoc
|
218
|
-
InstallOptions.man
|
219
|
-
InstallOptions.ri
|
220
|
-
InstallOptions.tests
|
235
|
+
InstallOptions.rdoc = true
|
236
|
+
InstallOptions.man = true
|
237
|
+
InstallOptions.ri = true
|
238
|
+
InstallOptions.tests = true
|
239
|
+
InstallOptions.configs = true
|
221
240
|
end
|
222
241
|
opts.separator("")
|
223
242
|
opts.on_tail('--help', "Shows this help text.") do
|
@@ -243,6 +262,12 @@ def prepare_installation
|
|
243
262
|
Config::CONFIG['sbindir'] = "/usr/sbin"
|
244
263
|
end
|
245
264
|
|
265
|
+
if not InstallOptions.configdir.nil?
|
266
|
+
configdir = InstallOptions.configdir
|
267
|
+
else
|
268
|
+
configdir = "/etc/puppet"
|
269
|
+
end
|
270
|
+
|
246
271
|
if not InstallOptions.bindir.nil?
|
247
272
|
bindir = InstallOptions.bindir
|
248
273
|
else
|
@@ -277,22 +302,26 @@ def prepare_installation
|
|
277
302
|
|
278
303
|
# To be deprecated once people move over to using --destdir option
|
279
304
|
if (destdir = ENV['DESTDIR'])
|
305
|
+
configdir = "#{destdir}#{configdir}"
|
280
306
|
bindir = "#{destdir}#{bindir}"
|
281
307
|
sbindir = "#{destdir}#{sbindir}"
|
282
308
|
mandir = "#{destdir}#{mandir}"
|
283
309
|
sitelibdir = "#{destdir}#{sitelibdir}"
|
284
310
|
|
311
|
+
FileUtils.makedirs(configdir) if InstallOptions.configs
|
285
312
|
FileUtils.makedirs(bindir)
|
286
313
|
FileUtils.makedirs(sbindir)
|
287
314
|
FileUtils.makedirs(mandir)
|
288
315
|
FileUtils.makedirs(sitelibdir)
|
289
316
|
# This is the new way forward
|
290
317
|
elsif (destdir = InstallOptions.destdir)
|
318
|
+
configdir = "#{destdir}#{configdir}"
|
291
319
|
bindir = "#{destdir}#{bindir}"
|
292
320
|
sbindir = "#{destdir}#{sbindir}"
|
293
321
|
mandir = "#{destdir}#{mandir}"
|
294
322
|
sitelibdir = "#{destdir}#{sitelibdir}"
|
295
323
|
|
324
|
+
FileUtils.makedirs(configdir) if InstallOptions.configs
|
296
325
|
FileUtils.makedirs(bindir)
|
297
326
|
FileUtils.makedirs(sbindir)
|
298
327
|
FileUtils.makedirs(mandir)
|
@@ -303,6 +332,7 @@ def prepare_installation
|
|
303
332
|
|
304
333
|
InstallOptions.tmp_dirs = tmpdirs.compact
|
305
334
|
InstallOptions.site_dir = sitelibdir
|
335
|
+
InstallOptions.config_dir = configdir
|
306
336
|
InstallOptions.bin_dir = bindir
|
307
337
|
InstallOptions.sbin_dir = sbindir
|
308
338
|
InstallOptions.lib_dir = libdir
|
@@ -459,6 +489,7 @@ prepare_installation
|
|
459
489
|
#build_rdoc(rdoc) if InstallOptions.rdoc
|
460
490
|
#build_ri(ri) if InstallOptions.ri
|
461
491
|
#build_man(bins, sbins) if InstallOptions.man
|
492
|
+
do_configs(configs, InstallOptions.config_dir) if InstallOptions.configs
|
462
493
|
do_bins(sbins, InstallOptions.sbin_dir)
|
463
494
|
do_bins(bins, InstallOptions.bin_dir)
|
464
495
|
do_libs(libs)
|
data/lib/puppet.rb
CHANGED
@@ -17,7 +17,6 @@ module Puppet
|
|
17
17
|
{ :acl => "/certificate/", :method => :find, :authenticated => false },
|
18
18
|
{ :acl => "/certificate_request", :method => [:find, :save], :authenticated => false },
|
19
19
|
{ :acl => "/status", :method => [:find], :authenticated => true },
|
20
|
-
{ :acl => "/resource", :method => [:find, :save, :search], :authenticated => true },
|
21
20
|
]
|
22
21
|
|
23
22
|
def self.main
|
@@ -3,7 +3,7 @@
|
|
3
3
|
#
|
4
4
|
# = Synopsis
|
5
5
|
#
|
6
|
-
# Generate a reference for all Puppet types. Largely meant for internal
|
6
|
+
# Generate a reference for all Puppet types. Largely meant for internal Puppet
|
7
7
|
# Labs use.
|
8
8
|
#
|
9
9
|
# = Usage
|
@@ -61,7 +61,7 @@
|
|
61
61
|
#
|
62
62
|
# = Copyright
|
63
63
|
#
|
64
|
-
# Copyright (c) 2005-2007
|
64
|
+
# Copyright (c) 2005-2007 Puppet Labs, LLC
|
65
65
|
# Licensed under the GNU Public License
|
66
66
|
|
67
67
|
#Puppet::Application[:doc].run
|
data/man/man8/filebucket.8
CHANGED
@@ -102,4 +102,4 @@ server: The server to send the file to, instead of locally\.
|
|
102
102
|
verbose: Print extra information\.
|
103
103
|
.
|
104
104
|
.P
|
105
|
-
version: Print version information\.puppet filebucket \-b /tmp/filebucket /my/fileLuke KaniesCopyright (c) 2005
|
105
|
+
version: Print version information\.puppet filebucket \-b /tmp/filebucket /my/fileLuke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/pi.8
CHANGED
@@ -14,4 +14,4 @@ list: List all types
|
|
14
14
|
meta: List all metaparameters
|
15
15
|
.
|
16
16
|
.P
|
17
|
-
short: List only parameters without detailpuppet describe \-\-list puppet describe file \-\-providers puppet describe user \-s \-mDavid LutterkortCopyright (c) 2005
|
17
|
+
short: List only parameters without detailpuppet describe \-\-list puppet describe file \-\-providers puppet describe user \-s \-mDavid LutterkortCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetca.8
CHANGED
@@ -166,4 +166,4 @@ verify: Verify the named certificate against the local CA
|
|
166
166
|
.fi
|
167
167
|
.
|
168
168
|
.IP "" 0
|
169
|
-
$ puppet cert \-l culain\.madstop\.com $ puppet cert \-s culain\.madstop\.comLuke KaniesCopyright (c) 2005
|
169
|
+
$ puppet cert \-l culain\.madstop\.com $ puppet cert \-s culain\.madstop\.comLuke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetd.8
CHANGED
@@ -280,4 +280,4 @@ waitforcert: This option only matters for daemons that do not yet
|
|
280
280
|
.fi
|
281
281
|
.
|
282
282
|
.IP "" 0
|
283
|
-
puppet agent \-\-server puppet\.domain\.comLuke KaniesCopyright (c) 2005, 2006
|
283
|
+
puppet agent \-\-server puppet\.domain\.comLuke KaniesCopyright (c) 2005, 2006 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetdoc.8
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
4
|
.TH "PUPPETDOC" "8" "August 2010" "" ""
|
5
|
-
Generate a reference for all Puppet types\. Largely meant for internal
|
5
|
+
Generate a reference for all Puppet types\. Largely meant for internal Puppet Labs use\.puppet doc [\-a|\-\-all] [\-h|\-\-help] [\-o|\-\-outputdir \fIrdoc outputdir\fR] [\-m|\-\-mode \fItext|pdf|rdoc\fR]
|
6
6
|
.
|
7
7
|
.IP "" 4
|
8
8
|
.
|
@@ -105,4 +105,4 @@ $ puppet doc /etc/puppet/manifests/site\.pp
|
|
105
105
|
or
|
106
106
|
.
|
107
107
|
.P
|
108
|
-
$ puppet doc \-m pdf \-r configurationLuke KaniesCopyright (c) 2005\-2007
|
108
|
+
$ puppet doc \-m pdf \-r configurationLuke KaniesCopyright (c) 2005\-2007 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetmasterd.8
CHANGED
@@ -49,4 +49,4 @@ logdest: Where to send messages\. Choose between syslog, the
|
|
49
49
|
verbose: Enable verbosity\.
|
50
50
|
.
|
51
51
|
.P
|
52
|
-
version: Print the puppet version number and exit\.puppet masterLuke KaniesCopyright (c) 2005
|
52
|
+
version: Print the puppet version number and exit\.puppet masterLuke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetqd.8
CHANGED
@@ -17,4 +17,4 @@ help: Print this help message
|
|
17
17
|
verbose: Turn on verbose reporting\.
|
18
18
|
.
|
19
19
|
.P
|
20
|
-
version: Print the puppet version number and exit\.puppet queueLuke KaniesCopyright (c) 2009
|
20
|
+
version: Print the puppet version number and exit\.puppet queueLuke KaniesCopyright (c) 2009 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/puppetrun.8
CHANGED
@@ -170,4 +170,4 @@ test: Print the hosts you would connect to but do not
|
|
170
170
|
ping::
|
171
171
|
.
|
172
172
|
.P
|
173
|
-
Do a ICMP echo against the target host\. Skip hosts that don\'t respond to ping\.sudo puppet kick \-p 10 \-t remotefile \-t webserver host1 host2Luke KaniesCopyright (c) 2005
|
173
|
+
Do a ICMP echo against the target host\. Skip hosts that don\'t respond to ping\.sudo puppet kick \-p 10 \-t remotefile \-t webserver host1 host2Luke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
|
data/man/man8/ralsh.8
CHANGED
@@ -82,4 +82,4 @@ Print extra information\.This example uses \fBpuppet resource\fR to return Puppe
|
|
82
82
|
.fi
|
83
83
|
.
|
84
84
|
.IP "" 0
|
85
|
-
Luke KaniesCopyright (c) 2005\-2007
|
85
|
+
Luke KaniesCopyright (c) 2005\-2007 Puppet Labs, LLC Licensed under the GNU Public License
|
@@ -17,7 +17,6 @@ describe Puppet::Network::RestAuthConfig do
|
|
17
17
|
{ :acl => "/certificate/", :method => :find, :authenticated => false },
|
18
18
|
{ :acl => "/certificate_request", :method => [:find, :save], :authenticated => false },
|
19
19
|
{ :acl => "/status", :method => [:find], :authenticated => true },
|
20
|
-
{ :acl => "/resource", :method => [:find, :save, :search], :authenticated => true },
|
21
20
|
]
|
22
21
|
|
23
22
|
before :each do
|
data/test/test
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 2.6.
|
9
|
+
- 4
|
10
|
+
version: 2.6.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Puppet Labs
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-02 00:00:00 +11:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|