Hi all, thanks for your answers,
After some though and to keep it simple, i think the simplest way is to
simply merge the two classes as you proposed, and decide the behaviour with
a parameter.
As stupid as it is, i admit i did not even though about it, i was seeing my
current puppet class organis
Hi,
The 3rd option is interesting, i should try it to see.
So far i had tried a similar way, with a "realize", but instead of
overriding the content file, i had some conditional blocks with a variable
in the puppet.conf.erb file. And it did not work, because it seems the
variable was never known
I had a similar problem, i use Git, and i though i could use branches and
Git tricks, but it does not mixes well with Puppet environments. What i do
below permits to use many puppet code branches, while having my puppetmaster
serve all different branches at the same time using environments
In my c
Sorry, it does not help with the problem, but some time ago, i think i had
something similar.
I had a module+class which is perfectly working, and which was included in
the node code. But if this class was in included in another class, it could
not be found and puppet run failed. I had no choice b
As far as i could see, the Puppet cloud provisionner also generates a random
name and creates a certificate request based on it. Then Puppet client is
run with the certname option, set with this previously generated hostname
2011/10/17 James A. Peltier
> - Original Message -
> |
> | Is
Hi,
I am using the cloud provisioner to bootstrap some ec2 nodes, and these
clients are signed using a randomly generated certname, which is put in
/etc/puppet.conf at the bootstrap time (eg certname =
d7bcd693-73fd-495f-0876-ff91ea1e).
But my puppet code repo also manages the puppet.conf fil
Why is 'notify' acting as a 'before' and not a 'require' ?
Can someone explain why this way is unlogical to Puppet parser, why the
'notify' would create a dependency cycle ? Why would the 'notify' need to
create an order ? Isn't it supposed to carry a message, and not a
constraint ?
Typically i w