what is the right way to handle this?

On Tuesday, May 12, 2009 7:51:31 AM UTC+1, stever...@gmail.com wrote:
>
> So I want to use facts from one host in the configuration of other 
> hosts. 
> Trivial example: setting restrict lines in ntp.conf to allow a 
> monitoring host to query ntpd on remote hosts. 
>
> So if the monitoring host boots with IP 10.2.2.3 (which may change 
> regularly), and it knows its the monitor host (via some customer 
> facter plugins), I want some global variable to be available 
> ($monitor_host_ipaddress, type of thing) which could be used in 
> tempaltes etc for all other hosts. 
>
> Exported resources seems close to what I want, but I dont want to 
> export a file, and copy it to other machines. I want to use 
> variables. 
>
> Or do I have to copy the IP address of the monitor host to each 
> machine, via an exported resource file, and then process it locally in 
> an exec script to build the correct ntp.conf? 
> That doesn't seem very puppet-ish... 
>
> Help? 
> T.I.A. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/8JqLcWgVaYUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to