[Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Ugo Bellavance
Hi, I'm not a total newbie with puppet, but I only use it for a few things and I'm not even using modules yet, mostly because I only deploy configuration files for now. I have a configuration for NTP that looks like this: class ntpd { package { ntp: ensure = installed, }

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Matthew Burgess
On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance u...@lubik.ca wrote: However, I would need to push a different file to my NTP servers (the puppet://$puppet_server/files/ntp.conf) are for clients. How can I do that? Can I simply declare my two servers in a node declaration and set a variable

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Ugo Bellavance
On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote: On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.cajavascript: wrote: However, I would need to push a different file to my NTP servers (the puppet://$puppet_server/files/ntp.conf) are for clients. How

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Ugo Bellavance
On Tuesday, November 20, 2012 2:25:13 PM UTC-5, Ugo Bellavance wrote: On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote: On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.ca wrote: However, I would need to push a different file to my NTP servers (the

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Jakov Sosic
On 11/20/2012 02:06 PM, Ugo Bellavance wrote: The setup is that I have 2 NTP servers that sync to servers on the and all my servers and equipment sync to these two servers. I created two classes for this purpose - ntp::client and ntp::server, and use data from hiera. Although I could maybe

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Ugo Bellavance
On Tuesday, November 20, 2012 3:13:03 PM UTC-5, Ugo Bellavance wrote: On Tuesday, November 20, 2012 2:25:13 PM UTC-5, Ugo Bellavance wrote: On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote: On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.ca wrote:

Re: [Puppet Users] Exception for one server on a basic setup

2012-11-20 Thread Ugo Bellavance
On Tuesday, November 20, 2012 5:28:00 PM UTC-5, Jakov Sosic wrote: On 11/20/2012 02:06 PM, Ugo Bellavance wrote: The setup is that I have 2 NTP servers that sync to servers on the and all my servers and equipment sync to these two servers. I created two classes for this purpose -