Please note that requiring resources from foreign classes is generally
bad practice.
If possible, require the whole class that defines the resource.
Cheers,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email
Is it ok if i just upgrade puppetmaster to 2.6.12 and still using
old puppet.conf with certdnsnames?
The certdnsnames have been abandonned in favor of a new option:
http://docs.puppetlabs.com/references/stable/configuration.html#certdnsnames
And if your current client certificates contain a
Hey all,
I'm exporting a Host resource across my puppet managed client for various
synchronizations across my servers. Lately I'm seeing duplicate exported
resources problems and have a hard time understanding what is causing this,
I'll appreciate your help :)
This happens almost every day at v
Wish I could've found that in the docs.
This will certainly get me going again.
Sounds like a ticket for puppet documentation...
~pete
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegro
On 25 October 2011 22:49, David Alden wrote:
> I got:
>
> err: Could not autoload firewall: no such file to load --
> puppet/util/firewall at /etc/puppet/modules/snmp/manifests/config.pp:9
> on node ns2.math.osu.edu
>
> I tried "puppet describe firewall" and got:
>
> Could not run: Could not auto
Now that is curious.
What I find really strange about this - is that the checksums are the
same between _some_ of the various files. Original and resultant
checksums as well ...
But this isn't consistent:
> Wed Oct 26 04:02:35 + 2011
> /File[/usr/lib64/nagios/plugins/check_clamd]/content (n
On Wed, 2011-10-26 at 10:02 +0200, Peter Meier wrote:
> > Wish I could've found that in the docs.
> > This will certainly get me going again.
>
> Sounds like a ticket for puppet documentation...
What would be awesome is this hidden feature to become a first class
feature in puppet cert (like --ge
Hi,
I have no idea concerning you actual problem but this
On 10/25/2011 09:15 PM, Brian Pitts wrote:
> I'm running puppet 0.24.8
...is disturbing.
Consider upgrading at least to 2.6 by any means necessary. Doing so may
conceivably solve strange problems you are experiencing.
Cheers,
Felix
--
Thanks Dan - I've submitted a pull request and created a ticket around this.
http://projects.puppetlabs.com/issues/10295
I've also updated the README to be more descriptive about restarting
and pluginsync if the workaround doesn't do what we want.
I've tested this standalone - and it seems to wo
On Oct 26, 3:01 am, Galed Friedmann wrote:
> Hey all,
> I'm exporting a Host resource across my puppet managed client for various
> synchronizations across my servers. Lately I'm seeing duplicate exported
> resources problems and have a hard time understanding what is causing this,
> I'll apprec
On Oct 26, 2:56 am, Felix Frank
wrote:
> Please note that requiring resources from foreign classes is generally
> bad practice.
> If possible, require the whole class that defines the resource.
Yes, that seems to be the prevailing opinion, but I am a bit looser
myself. For me, it's a question
On 10/26/2011 12:51 AM, Jo Rhett wrote:
> It happens every night around 9pm (4am UDT). EVERY night.
4am, so cron.daily?
prelink?
-Doug
signature.asc
Description: OpenPGP digital signature
To who may be interested,
I'm working on the default template of the next generation of
Example42 modules.
In http://github.com/example42/puppet-foo2 there's the foo sample
module.
All the "first generation" Example42 modules (
http://github.com/example42/puppet-modules
) which are more or less
Hi all,
anyone has created the rpm packages of new versions for el4?
only 5/6 at http://yum.puppetlabs.com/el/
TIA,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To
Hi,
So now I'm not getting any errors when I put the following in one of my
classes:
firewall { "allow-snmp":
proto => 'all',
dport => '161',
action => 'accept',
}
But I'm also not seeing any change in my iptables firewall (nor am I seeing
anything about th
Hi Dave,
Is the class getting included properly? You should be getting:
err: Could not run Puppet configuration client: Parameter name failed:
Invalid value "allow-snmp".
Which is what I'm seeing when I use that rule. The rules need numbers
for ordering:
firewall { "500 allow-snmp":
Hi,
On Oct 26, 2011, at 10:55 AM, Ken Barber wrote:
> Is the class getting included properly? You should be getting:
>
> err: Could not run Puppet configuration client: Parameter name failed:
> Invalid value "allow-snmp".
I believe it is. I was not getting the error, but I've gone ahead and add
Odd that you get no results.
I'm curious. What is the output of 'iptables-save' on your box?
Also ... can you do a:
puppet resource firewall
And does it return anything? Try inserting a rule and testing it as
well (rule needs a number - but we are fixing that now).
ken.
On Wed, Oct 26, 2011 a
I had a syntax error indeed, a missing ')'... just not in the line I
was looking at.
Can I have a block of ruby code at the beginning of my erb file, where
I would prepare all the out of scope variables, put them into local
name space, so as to simplify the rest of the template?
something like:
very odd problem!
is it possible that an nrpe check is being executed at 9pm which is
changing the atime on the plugin directory thereby causing the agent
to check the Md5s? Does your nagios box run any specific checks on
those affected nodes at the same time you're seeing the puppet
oddness?
Che
Hello,
Here is what I am trying to do:
- in a class aptdater::client I want to export the $fqdn
- in a class aptdater::master I want to retrieve all the exported $fqdn
to fill an erb template of a configuration file
Here is what I tried:
# modules/aptdater/manifests/init.pp
class aptdater {
#
Hello,
Here is what I am trying to do:
- in a class aptdater::client I want to export the $fqdn
- in a class aptdater::master I want to retrieve all the exported $fqdn
to fill an erb template of a configuration file
Here is what I tried:
# modules/aptdater/manifests/init.pp
class aptdater {
#
I have a bunch of files in some directory that I need to link to someother
directory
What I want to do is something like this:
$file_list = [ "filea", "fileb", "filec"]
file {$file_list:
ensure => link,
path => "/some_directory/",
target => "/someother_directory/",
}
So, the question i
You could wrap it in a defined resource ...?
$file_list = [ “filea”, “fileb”, “filec”]
define filelinks() {
file { $name:
ensure => link,
path => “/some_directory/${name}”,
target => “/someother_directory/${name}”,
}
}
filelinks { $file_list: }
ken.
On Wed, Oct 26, 2011 at 5:3
Hi,
We're looking (well, my boss is looking) to expand our operations team in
Boston and we're specifically looking for people with a passion for
automation. Ideally the candidate we're looking for would be developer
minded, with the ability to write custom tools or customize existing
products (W
Hello...
Can someone hit me with a clue stick? I cannot understand why
if defined(File['/tmp/file-bar']) {
notify {"DEBUG if defined class $title THIS NEVER WORKS":}
}
from below does not work. I'm using 2.6.11 from tmz's repo
$ cat file-test.pp
# vim: set syntax=puppet
#
class cre
Hello all,
I'm hoping that someone on this list might be able to help me track
down an error in my manifests. I have 3 environments. In my dev
environment, I have the following directories configured:
/etc/puppet/dev/modules
manifests
templates
For the man
Hi,
On Oct 26, 2011, at 11:50 AM, Ken Barber wrote:
> Odd that you get no results.
>
> I'm curious. What is the output of 'iptables-save' on your box?
>
> Also ... can you do a:
>
> puppet resource firewall
>
> And does it return anything? Try inserting a rule and testing it as
> well (rule ne
On Wed, Oct 26, 2011 at 7:39 AM, Arnau Bria wrote:
> Hi all,
>
>
> anyone has created the rpm packages of new versions for el4?
>
> only 5/6 at http://yum.puppetlabs.com/el/
>
We've discussed it. The issue is that el4 ships with ruby 1.8.1.
Puppet doesn't work to well with 1.8.1 any more. If you
Lol. Yeah I'm surprised puppet didn't break on that.
So we've pushed 0.0.2 with a fix for your puppet/util/firewall problem
- so thanks a lot for that :-). The next person might have an easier
time of it I hope.
ken.
On Wed, Oct 26, 2011 at 10:29 PM, Dave Alden wrote:
> Hi,
>
> On Oct 26, 2011,
Well, I found the cause but I still don't know the reason... On a
whim, I removed the "storedconfigs" settings from my puppetmaster's
configuration. Everything started working. BIZARRE!!!
Deven
On Oct 26, 4:21 pm, Deven Phillips wrote:
> Hello all,
>
> I'm hoping that someone on this list m
Hello...
With help from #puppet I got this to work.
changeing this:
include file-test::foo
include file-test::foo::baz
include file-test::bar
include file-test::bar::baz
to this:
include file-test::bar
include file-test::bar::baz
include file-test::foo
include file-test::foo::baz
makes everythi
All,
I've been using puppet in production for some time now, using a
staging environment duplicate to my production setup for developing
and testing puppet modules. Not, however, in an automated fashion: I
write, I run 'puppet agent --test' and I repeat until satisfied.
Sometimes, owing to partial
Given that the check type is md5 by default, the nrpe test would have to change
the md5 of the files involved. We have lots of NRPE, but every one runs no
less often than every 5 minutes.
On Oct 26, 2011, at 5:58 AM, madAndroid wrote:
> very odd problem!
>
> is it possible that an nrpe check i
Thank you Doug, for the clue-by-four. I overlooked that. I owe you a beer.
On Oct 26, 2011, at 7:23 AM, Doug Warner wrote:
> On 10/26/2011 12:51 AM, Jo Rhett wrote:
>> It happens every night around 9pm (4am UDT). EVERY night.
>
> 4am, so cron.daily?
>
> prelink?
>
> -Doug
>
--
Jo Rhett
Net
Hi,
Quite a few agents on my servers seem to hang during updates.
They show up as unresponsive in Dashboard and when I try to run
puppet agent --test
, I get this output:
%<
# puppet agent --test
notice: Ignoring --listen on onetime run
notice: Run of Puppet configuration c
36 matches
Mail list logo