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 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
@@ -63,7 +63,7 @@
63
63
  #
64
64
  # = Copyright
65
65
  #
66
- # Copyright (c) 2009 Reductive Labs, LLC
66
+ # Copyright (c) 2009 Puppet Labs, LLC
67
67
  # Licensed under the GPL 2
68
68
 
69
69
  require 'puppet'
@@ -90,7 +90,7 @@
90
90
  #
91
91
  # = Copyright
92
92
  #
93
- # Copyright (c) 2005, 2006 Reductive Labs, LLC
93
+ # Copyright (c) 2005, 2006 Puppet Labs, LLC
94
94
  # Licensed under the GNU Public License
95
95
 
96
96
  # Do an initial trap, so that cancels don't get a stack trace.
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 = false
213
- InstallOptions.ri = false
214
- InstallOptions.tests = false
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 = true
218
- InstallOptions.man = true
219
- InstallOptions.ri = true
220
- InstallOptions.tests = true
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)
@@ -24,7 +24,7 @@ require 'puppet/util/run_mode'
24
24
  # it's also a place to find top-level commands like 'debug'
25
25
 
26
26
  module Puppet
27
- PUPPETVERSION = '2.6.3'
27
+ PUPPETVERSION = '2.6.4'
28
28
 
29
29
  def Puppet.version
30
30
  PUPPETVERSION
@@ -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
@@ -91,7 +91,7 @@
91
91
  #
92
92
  # = Copyright
93
93
  #
94
- # Copyright (c) 2005 Reductive Labs, LLC
94
+ # Copyright (c) 2005 Puppet Labs, LLC
95
95
  # Licensed under the GNU Public License
96
96
 
97
97
  #Puppet::Application[:filebucket].run
@@ -42,7 +42,7 @@
42
42
  #
43
43
  # = Copyright
44
44
  #
45
- # Copyright (c) 2005 Reductive Labs, LLC
45
+ # Copyright (c) 2005 Puppet Labs, LLC
46
46
  # Licensed under the GNU Public License
47
47
 
48
48
  #Puppet::Application[:describe].run
@@ -63,7 +63,7 @@
63
63
  #
64
64
  # = Copyright
65
65
  #
66
- # Copyright (c) 2005 Reductive Labs, LLC
66
+ # Copyright (c) 2005 Puppet Labs, LLC
67
67
  # Licensed under the GNU Public License
68
68
 
69
69
  #Puppet::Application[:apply].run
@@ -104,7 +104,7 @@
104
104
  #
105
105
  # = Copyright
106
106
  #
107
- # Copyright (c) 2005 Reductive Labs, LLC
107
+ # Copyright (c) 2005 Puppet Labs, LLC
108
108
  # Licensed under the GNU Public License
109
109
 
110
110
  #Puppet::Application[:cert].run
@@ -180,7 +180,7 @@
180
180
  #
181
181
  # = Copyright
182
182
  #
183
- # Copyright (c) 2005, 2006 Reductive Labs, LLC
183
+ # Copyright (c) 2005, 2006 Puppet Labs, LLC
184
184
  # Licensed under the GNU Public License
185
185
 
186
186
  #Puppet::Application[:agent].run
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # = Synopsis
5
5
  #
6
- # Generate a reference for all Puppet types. Largely meant for internal Reductive
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 Reductive Labs, LLC
64
+ # Copyright (c) 2005-2007 Puppet Labs, LLC
65
65
  # Licensed under the GNU Public License
66
66
 
67
67
  #Puppet::Application[:doc].run
@@ -59,7 +59,7 @@
59
59
  #
60
60
  # = Copyright
61
61
  #
62
- # Copyright (c) 2005 Reductive Labs, LLC
62
+ # Copyright (c) 2005 Puppet Labs, LLC
63
63
  # Licensed under the GNU Public License
64
64
 
65
65
  #Puppet::Application[:master].run
@@ -47,7 +47,7 @@
47
47
  #
48
48
  # = Copyright
49
49
  #
50
- # Copyright (c) 2009 Reductive Labs, LLC
50
+ # Copyright (c) 2009 Puppet Labs, LLC
51
51
  # Licensed under the GNU Public License
52
52
 
53
53
  #Puppet::Application[:queue].run
@@ -120,7 +120,7 @@
120
120
  #
121
121
  # = Copyright
122
122
  #
123
- # Copyright (c) 2005 Reductive Labs, LLC
123
+ # Copyright (c) 2005 Puppet Labs, LLC
124
124
  # Licensed under the GNU Public License
125
125
 
126
126
  #Puppet::Application[:kick].run
@@ -83,7 +83,7 @@
83
83
  #
84
84
  # = Copyright
85
85
  #
86
- # Copyright (c) 2005-2007 Reductive Labs, LLC
86
+ # Copyright (c) 2005-2007 Puppet Labs, LLC
87
87
  # Licensed under the GNU Public License
88
88
 
89
89
  #Puppet::Application[:resource].run
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
105
+ version: Print version information\.puppet filebucket \-b /tmp/filebucket /my/fileLuke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
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
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
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
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
283
+ puppet agent \-\-server puppet\.domain\.comLuke KaniesCopyright (c) 2005, 2006 Puppet Labs, LLC Licensed under the GNU Public License
@@ -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 Reductive Labs use\.puppet doc [\-a|\-\-all] [\-h|\-\-help] [\-o|\-\-outputdir \fIrdoc outputdir\fR] [\-m|\-\-mode \fItext|pdf|rdoc\fR]
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 Reductive Labs, LLC Licensed under the GNU Public License
108
+ $ puppet doc \-m pdf \-r configurationLuke KaniesCopyright (c) 2005\-2007 Puppet Labs, LLC Licensed under the GNU Public License
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
52
+ version: Print the puppet version number and exit\.puppet masterLuke KaniesCopyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public License
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
20
+ version: Print the puppet version number and exit\.puppet queueLuke KaniesCopyright (c) 2009 Puppet Labs, LLC Licensed under the GNU Public License
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
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
@@ -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 Reductive Labs, LLC Licensed under the GNU Public License
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
@@ -68,7 +68,7 @@
68
68
  #
69
69
  # = Copyright
70
70
  #
71
- # Copyright (c) 2005 Reductive Labs, LLC
71
+ # Copyright (c) 2005 Puppet Labs, LLC
72
72
  # Licensed under the GNU Public License
73
73
 
74
74
  require 'find'
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: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 6
9
- - 3
10
- version: 2.6.3
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-11-17 00:00:00 +11:00
18
+ date: 2010-12-02 00:00:00 +11:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency