[Puppet Users] parameters set with array

2014-07-18 Thread OS
; "Server:${port}", } notify { $domain: } } $websites = ['test','test1','test2'] webapp { $websites : domain => $websites, -> Here, how can iterate websites array? It gives error as duplicate definition. port => 80, } Thanks,

[Puppet Users] Re: Schedule for own resources?

2012-02-02 Thread Os
On Feb 2, 9:43 pm, jcbollinger wrote: > > Hmm.  That statement may have been overly optimistic.  I think it's > pretty clear clear cut that schedules *should* work for defined type > instances, but perhaps Puppet is buggy in that regard. > > I don't see anything wrong with your manifest or your ex

[Puppet Users] Re: Schedule for own resources?

2012-02-02 Thread Os
On Feb 2, 3:34 pm, jcbollinger wrote: > > You are missing something, I think. The 'schedule' metaparameter can > be used with any resource, including those of defined types. > > Could it be as simple as the fact that you name your schedule > 'morning', but assign a different, possibly missing, sc

[Puppet Users] Schedule for own resources?

2012-02-02 Thread Os
Hello, I am testing some schedule configurations and was wondering if I can use the schedule type in my own defines? As far as I can claim from my own tests, this is not possible? For example, the schedule "morning" does not work with my self-written define "my_crontab":

[Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Os
Hello, I am still not getting warm with augeas and puppet, there are some things I do not understand. At the moment I am trying the following: - I want to set some kernel parameters in the /etc/sysctl.conf file - in one puppet module, I have defined some default values for the kernel parameters -

[Puppet Users] Re: Puppet replaces deleted files

2010-11-30 Thread Os
> As in using your operating systems package management.  If you're running > Debian/Ubuntu that'll be a .deb, if you're using RedHat/CentOS/Fedora > that'll be a .rpm. Thanks for the advice, thats something I did not think about but absolutly solves my problem! Although I am a bit confused about

[Puppet Users] Puppet replaces deleted files

2010-11-29 Thread Os
Hi, I am using puppet 2.6.2 and stepped over a situation, I cannot explain to myself. So here is the deal: - I want to source several directories and files one time to a client - with the first puppet run, puppet should copy the files and directories to the client to the specified location - if fi

[Puppet Users] Re: Provider Augeas not functional on Sles10?

2009-12-15 Thread Os
ez., 22:52, Dan Bode wrote: > Did you compile the ruby augeas bindings? > > On Mon, Dec 14, 2009 at 8:24 AM, Os wrote: > > Hi, > > I have a problem with augeas, puppet and Suse 10 SP2. > > Augeas works when I use the augtool to edit files. But I would like to > &

[Puppet Users] Provider Augeas not functional on Sles10?

2009-12-14 Thread Os
augeas.x86_64 0.5.0-3.1installed augeas-devel.x86_64 0.5.0-3.1installed augeas-lenses.x86_64 0.5.0-3.1installed libaugeas0.x86_64 0.5.0-3.1installed Is there something else I am missin