Dear members,
Is it possible to iterate arrays ? Loops will definitely solve this, but
i don't know how to do it in puppet.
waiting for suggestions and comments
Thanks
--
M. Haris
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to th
Hi Haris,
On Thu, Feb 18, 2010 at 12:33 PM, Haris Farooque wrote:
> Dear members,
> Is it possible to iterate arrays ? Loops will definitely solve this, but i
> don't know how to do it in puppet.
> waiting for suggestions and comments
unluckily there is no direct loop to do this, puppets array (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/02/10 11:14 PM, Frederik Wagner wrote:
> unluckily there is no direct loop to do this, puppets array (and hash)
> handling is rather rudimentary.
A hash construct will probably be present in the next major release
of Puppet: Rowlf.
Regards
Jam
On 18/02/10 11:14 PM, Frederik Wagner wrote:
unluckily there is no direct loop to do this, puppets array (and hash)
handling is rather rudimentary.
A hash construct will probably be present in the next major release
of Puppet: Rowlf.
besides that, it might be also worth to think about what yo
On Thu, Feb 18, 2010 at 1:29 PM, Peter Meier wrote:
>> On 18/02/10 11:14 PM, Frederik Wagner wrote:
>>>
>>> unluckily there is no direct loop to do this, puppets array (and hash)
>>> handling is rather rudimentary.
>>
>> A hash construct will probably be present in the next major release
>> of Pup
I'm trying to change the password complexity requirements in
pam.d/system-auth using augeas. I can append the values (lcredit=-1,
ucredit=-1, etc) onto the correct place, but if another value is
already present (i.e. lcredit=-2), the onlyif match statement doesn't
seem to support checking regular e
On Feb 17, 10:07 pm, Grant McLean wrote:
> It would appear that if I refer to the template from a .pp file I would
> do something like:
>
> content => template("eec-mike/mikeapache.erb")
Yes.
> and somehow Puppet would work out that it needed to sync the
> mikeapache.erb file from the eec-
On Feb 17, 10:07 pm, Grant McLean wrote:
> I'm playing around with writing a custom resource type for managing my
> Apache configs and I would like to use templates.
Are you sure you need a custom resource type? It might be easier and
more maintainable to use a Puppet define wrapped around one
On Feb 17, 11:25 am, Roy Nielsen wrote:
> It's not mentioned in the online documentation, but will the file
> resource parameter "replace" work with
>
> content => template("mytemplate.erb"),
>
> I'd like to be able to say "if the file is already there, don't modify
> it", with the
>
> rep
Hi,
Foreman needs to be able to execute puppetca, see
http://theforeman.org/repositories/entry/foreman/extras/puppet/foreman/manifests/puppetca.pp
cheers,
Ohad
On Thu, Feb 18, 2010 at 9:21 AM, LOhit wrote:
> Hello,
>
> I ran into this problem today, I am trying to implement "One click
> instal
So based on a posting from last year, I changed the definition to just
remove and rebuild the line in pam.d/system-auth based on the
variables passed in. Although this isn't the elegant solution that I
was searching for (breaking it up to different functions and using
"onlyif"), it does get the job
On Feb 17, 10:07 pm, Grant McLean wrote:
I'm playing around with writing a custom resource type for managing my
Apache configs and I would like to use templates.
Are you sure you need a custom resource type? It might be easier and
more maintainable to use a Puppet define wrapped around one or
Hello Andrew,
I'm getting a syntax error when trying to use the ssh::auth module ("Syntax
error at '{'; expected '}' at .../auth.pp:111"). It looks like it's something
to do with parameters after a collection, i.e. line 111 is:
if $ensure { Ssh_auth_key_client <| title == $title |> { ensure =>
+puppet-users, puppet-dev to catch the developer-y folks too.
How, if at all, do any of you do capacity planning with Puppet?
I've worked out a snippet of ruby code that will take the cached fact
data from the servers, and use that to issue a bunch of catalog
retrieval requests. I ended up modif
On Thu, 2010-02-18 at 07:52 -0800, Nigel Kersten wrote:
> +puppet-users, puppet-dev to catch the developer-y folks too.
>
>
> How, if at all, do any of you do capacity planning with Puppet?
>
> I've worked out a snippet of ruby code that will take the cached fact
> data from the servers, and use
> Hello Andrew,
>
> I'm getting a syntax error when trying to use the ssh::auth module ("Syntax
> error at '{'; expected '}' at .../auth.pp:111"). It looks like it's
> something
> to do with parameters after a collection, i.e. line 111 is:
>
> if $ensure { Ssh_auth_key_client <| title == $tit
On Thu, 18 Feb 2010, Nigel Kersten wrote:
How, if at all, do any of you do capacity planning with Puppet?
somewhat orthogonal to the question, but after reading this
piece:
http://www.usenix.org/publications/login/2010-02/pdfs/bjorgeengen.pdf
at
http://www.usenix.org/publicat
On Thu, Feb 18, 2010 at 8:59 AM, R P Herrold wrote:
> On Thu, 18 Feb 2010, Nigel Kersten wrote:
>
>> How, if at all, do any of you do capacity planning with Puppet?
>
> somewhat orthogonal to the question, but after reading this piece:
> http://www.usenix.org/publications/login/2010-02/pdfs
On Thursday 18 Feb 2010 16:51:38 Andrew Schulman wrote:
> > Hello Andrew,
> >
> > I'm getting a syntax error when trying to use the ssh::auth module
> > ("Syntax error at '{'; expected '}' at .../auth.pp:111"). It looks like
> > it's something to do with parameters after a collection, i.e. line 11
This is true and, unfortunately, I couldn't get to the presentation either.
It's pretty well known that, given any two similar systems, the one
written in a lower level language will probably always win in terms of
speed and resource usage and lose in terms of community extensibility.
It all come
hmm.. another option, do you use a non-standard directory for puppet
binaries ?
Ohad
On Thu, Feb 18, 2010 at 4:21 PM, Ohad Levy wrote:
> Hi,
>
> Foreman needs to be able to execute puppetca, see
> http://theforeman.org/repositories/entry/foreman/extras/puppet/foreman/manifests/puppetca.pp
>
> c
R P Herrold writes:
> On Thu, 18 Feb 2010, Nigel Kersten wrote:
>
> > How, if at all, do any of you do capacity planning with Puppet?
>
> somewhat orthogonal to the question, but after reading this
> piece:
> http://www.usenix.org/publications/login/2010-02/pdfs/bjorgeengen.pdf
> at
On Thu, 2010-02-18 at 05:53 -0800, jcbollinger wrote:
> On Feb 17, 10:07 pm, Grant McLean wrote:
> > It would appear that if I refer to the template from a .pp file I would
> > do something like:
> >
> > content => template("eec-mike/mikeapache.erb")
>
> Yes.
>
> > and somehow Puppet would w
On Thu, Feb 18, 2010 at 9:12 AM, Trevor Vaughan wrote:
> This is true and, unfortunately, I couldn't get to the presentation either.
I got to read a copy over the shoulder of someone here with a login.
I thought it was pretty skimpy really, and didn't really adequately
cover the advantages of ei
On Thu, 2010-02-18 at 15:36 +0100, Peter Meier wrote:
> On Thu, 2010-02-18 at 05:59 -0800, jcbollinger wrote:
> >On Feb 17, 10:07 pm, Grant McLean wrote:
> > > I'm playing around with writing a custom resource type for managing my
> > > Apache configs and I would like to use templates.
> >
> > Ar
Ed wrote:
I'm trying to change the password complexity requirements in
pam.d/system-auth using augeas. I can append the values (lcredit=-1,
ucredit=-1, etc) onto the correct place, but if another value is
already present (i.e. lcredit=-2), the onlyif match statement doesn't
seem to support checki
Hi all.
I am testing 0.25.4 to upgrade from 0.23.2.
In testing, I found two strange messages on 0.25.4 which I have never
found on 0.24.3.
So could you tell me what these messages mean and how to fix them.
[Environment]
Puppetmasterd
-version : 0.25.4
-OS : Solaris10 10/09
Puppetd
-versi
Hi,
Actually, I have built custom RPMs of Puppet & Facter tailored to meet the
requirements of my environment. So, when I install these RPMs, the binaries
go into "/usr/sbin" including "puppetca"
And Pupept & Foreman are started by root. Initially, I too thought that
foreman was not able to find
Any way you can share that PDF? The main page suggests it's supposed to be
public anyway so I'm assuming the required login is a mistake.
When you looked at deploying your puppet modules to the clients and getting rid
of the puppetmaster model, did you consider only syncing only the modules the
Well, looks like i stired up a hornets nest with this bug. Thank you
for the help. We will see, what the ruby core people can do.
Kai
On 17 Feb., 00:11, Nigel Kersten wrote:
> On Tue, Feb 16, 2010 at 12:23 PM, Nigel Kersten wrote:
> > On Sat, Feb 13, 2010 at 6:13 PM, Joshua Anderson
> > wrote:
30 matches
Mail list logo