Commit 36324380 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

install ruby-json on wheezy puppetclient systems

parent e1ce9b3d
release/004.006 (2014-12-05)
[puppetclient] Install ruby-json on wheezy systems (recently patched
wheezy systems with Puppet 2.x require ruby-json to avoid
annoying error messages). (adamhl)
release/004.005 (2014-11-21)
[dns] Change the order of the nameservers and move the anycast
[dns] Change the order of the nameservers and move the anycast
servers to the top of the list. (whm)
[ssh] Allow the PermitRootLogin to be set to "yes" (defaults to usual
......
......@@ -12,6 +12,14 @@ class base::puppetclient {
require => Base::Puppetclient::Config['/etc/puppet/puppet.conf'],
}
# It appears that on recently updated wheezy servers, 2.x clients need
# the ruby-json package Puppet systems.
if ($::lsbdistcodename == 'wheezy') {
package { 'ruby-json':
ensure => present,
}
}
# On squeeze systems, default to the backports version of Puppet. On wheezy
# systems, default to the backports version of facter for proper detection
# of Xen systems.
......@@ -46,11 +54,11 @@ class base::puppetclient {
# Install a directory for external facts. Used on both Debian and RHEL.
file {
'/etc/facter/':
mode => 644,
ensure => directory;
ensure => directory,
mode => '0644';
'/etc/facter/facts.d':
mode => 644,
ensure => directory;
ensure => directory,
mode => '0644';
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment