search for: ntp_servic

Displaying 3 results from an estimated 3 matches for "ntp_servic".

Did you mean: ntp_service
2011 Jan 21
2
Multiple Case statements
...Linux and also releases. The code worked when I only had one flavor of Linux but now I have four and possibly more flavors. My snippet that doesn''t work is as follows; ( I am not even sure this is the route I should be going if anyone has a better way please advise. Thank you in advance) $ntp_service = $ntpdaemon { case operatingsystem { ''CentOS'' { case operatingsystemrelease { ''5.5'' => "ntpd", ''6.0'' => "ntpd"...
2008 Feb 02
5
Service ensuring fails on some distro (gentoo) with some packages
...e[ntpd]/ensure: change from stopped to running failed: Could not set running on ensure: undefined method `each'' for nil:NilClass at /var/lib/puppet/modules_src/ntp/manifests/init.pp:70 The definition of the service is: case $operatingsystem { openbsd: { service{ $ntp_service: binary => "/usr/sbin/ntpd", provider => base, pattern => ntpd, ensure => running, subscribe => [ File["/etc/ntp.conf"], File["/etc/ntp.client.conf"], File["/etc/ntp.s...
2007 Jul 03
2
Why can''t puppet find this package?
...p puppet and so far all is well but for one issue that I just don''t understand. I''ve set up a class for ntp configuration. This includes a subscribe line which for some reason won''t work when I try to subscribe to the package ntp! Here''s the class entry: class ntp_service { $ntp_servers = $subnet ? { ''82.112.122.128'' => [''82.112.122.129''] , ''172.16.6.0'' => [''62.73.186.194''] } file { "ntp.conf": path => "/etc/ntp.conf", content =&...