search for: ntp_class

Displaying 2 results from an estimated 2 matches for "ntp_class".

Did you mean: fp_class
2007 Aug 24
4
Variable scope: Class inheritance vs Include statement.
...class. class ntp { file { "/etc/openntpd/ntpd.conf": owner => "root", group => "root", mode => 644, content => template("/etc/puppet/templates/apps/openntpd/ntpd.conf.erb") } } # This works. class ntp_server { $ntp_class = "ntp_server" include ntp } # Why does this NOT work? # class ntp_server inherits ntp { # $ntp_class = "ntp_server" # } class ntp_client { # Could also possibly read: $ntp_class = $name $ntp_class = "ntp_client" include ntp } /etc/puppet/templates/apps/op...
2007 Aug 24
7
Problem restarting client service ssh in client
Hello, I want a simple operation in a puppet node like restarting the ssh service if it was stopped. My site.pp is simple as this: import "services/*" node default { include ssh } The services directory as a ssh.pp : class ssh { service { ssh: ensure => running, subscribe => File["/etc/ssh/sshd_config"] } } I''ve stopped the ssh service in the