[Puppet Users] catalog compilation caching

2011-11-23 Thread Antony Mayi
Hello, just trying to understand the workload behind the compilation of catalogs puppet master is doing each time the client does a request to the master. I understand the clients send the facts to the master and the master based on the facts and the manifests compiles the catalog. I would expe

[Puppet Users] puppet random errors

2010-06-24 Thread Antony Mayi
Hi, I thing this issue has been mentioned several times in this list but I can't see any conclusion. In about 10% of all runs Puppet randomly fails on some (random) File resource either with this error: Thu Jun 24 02:40:03 + 2010 ///File[] (err): Failed to generate additional resources using

Re: [Puppet Users] puppet random errors

2010-06-24 Thread Antony Mayi
u, 24 June, 2010 18:58:05 Subject: Re: [Puppet Users] puppet random errors On 24/06/10 14:51, Antony Mayi wrote: > [snip] > In about 10% of all runs Puppet randomly fails on some (random) File > resource either with this error: > > Thu Jun 24 02:40:03 + 2010 ///File[] > (e

[Puppet Users] variable scoping over and over

2010-06-28 Thread Antony Mayi
this topic is currently being massively discussed so I just would like to share my pain also. my intention was to have an array of node's roles and each included role class would just record into the array its role identificator. then I could write simple function has_role and then write variou

[Puppet Users] change puppet dashboard listen interfac

2010-07-12 Thread Antony Mayi
Hi, is there some easy way to make the puppet dashboard web-server to listen only on the loopback interface? if I want to run it behind apache (to provide authentication) I don't want to have it bound to all interface but only to the loopback and pass the requests through the proxy. cheers An

[Puppet Users] apt-rpm package downgrade

2010-07-13 Thread Antony Mayi
Hi, I am using apt-rpm provider and have following manifest for keeping some package at particular version package { "somepackage": ensure => "1.0.0" } however if from some reason the package gets upgraded to some higher version, puppet can't downgrade it because of following error:

Re: [Puppet Users] Adding multiple custom facts for use in any module

2010-07-15 Thread Antony Mayi
Hi Tim, check the existing fact scripts for network interfaces providing details as ipaddress_eth0, ipaddress_eth1 - this all is done by one facter script - this could give you an idea how to implement your facts. it can be found at /usr/lib/ruby/site_ruby/1.8/facter/interfaces.rb (depending on

[Puppet Users] imports in puppet 2.6.0

2010-09-07 Thread Antony Mayi
Hi, with Puppet 0.25 I had following nested imports on subdirectories which just doesn't work in 2.6.0: directory structure nodes/country/colocation/environment/host in each directory a I have node.pp file and on its and is import "*/*.pp" - it means import files from all subdirectories of this

Re: [Puppet Users] imports in puppet 2.6.0

2010-09-07 Thread Antony Mayi
er ca/* is never imported - if I rename this 'ca' to anything else (and change the import string) it is imported fine. looks like parser bug or am I doing something wrong? thanks, Antony. ____ From: Antony Mayi To: puppet-users@googlegroups.com Sent: Tue,

[Puppet Users] subclasses inheritance

2010-09-29 Thread Antony Mayi
Hi, when inheriting class containing subclasses are they also inherited? I would expect inheriting a class will create new class that has the same "content" that includes subclasses but: class parent { class subclass { ... } } class child inherits parent { include subclass } produces

[Puppet Users] scheduler problem?

2011-01-21 Thread Antony Mayi
Hi, I am trying to cleanup the puppet reports on the master by puppet itself using the tidy type however want to run it once a day not every 30 minutes. I would expect following code does the trick: schedule { daily: period => daily, } tidy { "/var/lib/puppet/reports": age => "1w", recu

Re: [Puppet Users] scheduler problem?

2011-01-24 Thread Antony Mayi
s.com Sent: Fri, 21 January, 2011 18:08:24 Subject: Re: [Puppet Users] scheduler problem? On Fri, Jan 21, 2011 at 7:49 AM, Antony Mayi wrote: > Hi, > I am trying to cleanup the puppet reports on the master by puppet itself > using the tidy type however want to run it once a day not every

Re: [Puppet Users] scheduler problem?

2011-01-24 Thread Antony Mayi
} the notify is executed only once but tidy still during each run. is this a bug or a feature? if a bug, is it fixed in some recent version? thanks, Antony. ____ From: Trevor Vaughan To: puppet-users@googlegroups.com Cc: Antony Mayi Sent: Mon, 24 January, 2011

Re: [Puppet Users] scheduler problem?

2011-01-26 Thread Antony Mayi
reported as http://projects.puppetlabs.com/issues/6020 From: Peter Meier To: puppet-users@googlegroups.com Sent: Tue, 25 January, 2011 13:41:29 Subject: Re: [Puppet Users] scheduler problem? > the notify is executed only once but tidy still during each run. >

[Puppet Users] multimaster architecture with central report server

2011-04-15 Thread Antony Mayi
Hi, is there a way how to instruct the master to forward the obtained reports to another master server so we can have one central report server that would be receiving all reports from other masters in individual collocations? the report_server works fine for the master itself but not for the f

Re: [Puppet Users] multimaster architecture with central report server

2011-05-09 Thread Antony Mayi
From: Ohad Levy To: puppet-users@googlegroups.com Sent: Fri, 15 April, 2011 19:42:10 Subject: Re: [Puppet Users] multimaster architecture with central report server On Fri, Apr 15, 2011 at 2:44 PM, Antony Mayi wrote: Hi, > > >is there a w