Hi
I would like to perform a simple host name lookup in a template:
<% if dbname != "db1" %> master-host = %=
scope.getip(["db1.maxown.com"]) %> <% end -%>
so far I have written a function
# getip.rb
module Puppet::Parser::Functions
newfunction(:getip, :type => :rvalue) do |args|
Puppet
Hi,
Here is a V simple class:
class ssh {
package { 'openssh-server':
ensure => installed,
}
service { 'sshd':
enabled => true,
ensure => running,
}
}
My question is: If sshd dies will the puppet agent (v2.7.x) restart sshd
the next time it runs on the client?
TI