Re: [Puppet Users] puppet template syntax problem: undefined method `each' for nil:NilClass

2015-08-20 Thread Julien Pivotto
> Failed to parse template ntp/ntp.conf.erb: > Filepath: /etc/puppet/modules/ntp/templates/ntp.conf.erb > Line: 2 > Detail: undefined method `each' for nil:NilClass > at /etc/puppet/modules/ntp/manifests/init.pp:26 on node The error is not from the ruby version. The template

Re: [Puppet Users] Cannot schedule without a schedule-containing catalog

2015-08-10 Thread Julien Pivotto
On Mon, Aug 10, 2015 at 08:44:33AM +0200, Julien Pivotto wrote: > Hi all, > > Giving the following code: > > https://github.com/Inuits/puppet-acl/commit/7bf09e329dc08641089780f0104b9b93101f8ddc > > My questions: > > 1. Why do I get those "Cannot schedule witho

[Puppet Users] Cannot schedule without a schedule-containing catalog

2015-08-09 Thread Julien Pivotto
ontaining catalog" ? 2. Are the "generate" and "eval_generate" functions "public"? Are they recommended to be used in custom types? If not, how can I achieve the same thing? gr, -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www

Re: [Puppet Users] Re: puppet link and automount

2015-04-23 Thread Julien Pivotto
> > Puppet needs to gather information about the managed file (symlink) on > every run. I don't see why this would need to involve the link *target* > being stat()ed, but if it does, and if the target path is on an autofs file > system, then that will trigger a mount. Maybe r

Re: [Puppet Users] Puppet, HA & Duplicate definitions

2014-08-29 Thread Julien Pivotto
ds, yes, but if they represent the same stuff (remember, we speak about HA), would you EXPORT the data on one node or COLLECT the data of one node? Thanks -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu pgpzMlB0_XhWD.pgp Description: PGP signature

[Puppet Users] Puppet, HA & Duplicate definitions

2014-08-29 Thread Julien Pivotto
then the resources would not be included. - Putting a "reference node" in the apache class to only gather balancers from certain nodes: Apache::Balancer <<|tags=="myreferencenode"|>> Any other ideas? -- (o-Julien Pivotto //\Open-Source Consu

[Puppet Users] Re: PuppetDB & KahaDB db.data leak

2013-02-14 Thread Julien Pivotto
[root@mo-puppetmaster ~]# cd /var/lib/puppetdb/mq/localhost/KahaDB [root@mo-puppetmaster KahaDB]# pwd /var/lib/puppetdb/mq/localhost/KahaDB [root@mo-puppetmaster KahaDB]# du -sk * 22036db-95.log 32db.data 32db.redo 0lock [root@mo-puppetmaster KahaDB]# ps auxw | grep java root