On Thursday, February 27, 2014 2:43:34 PM UTC+1, AAB !! wrote: > How to manage files which are not static but dynamic. Different services > can have files which needs different values based on their characteristics! > Like in ssh configuration file the listening interface should be the IP of > the machine (agent), in the same way how can I use hostname for some files ? >
You can use facts, which are sort of built-in variables, IP address and hostname among them: http://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#facts > and if I have keepalived, how will I provide different priority numbers > for the two different agent machines with the same file ??? > I see some keepalived modules in Puppet Forge, maybe you can look at them. Marco -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/cc95c320-89b1-470c-9664-2e5576fd456f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
