Re: [Puppet Users] Augeas: Skipping because no files were changed

2015-07-08 Thread Chris Lee
Thanks Ian, I had tried with and without the context, also tried with set and setm, tried to include the values first... but nothing worked. I was about to go insane and through to remove the trailing slash in the changes... augeas { 'grub.conf/8250_LAR': incl => '/etc/grub.co

[Puppet Users] Augeas: Skipping because no files were changed

2015-07-07 Thread Chris Lee
I am trying to add two new options to grub.conf using augeas. The code is as follows: augeas { 'grub.conf/8250_LAR': tag => chris1, incl=> '/boot/grub/grub.conf', lens=> 'Grub.lns', changes => [ 'set /title[1]/kernel/8250.

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-03 Thread Chris Lee
> Alternatively, you should be able to overcome any autorequire by declaring > a contradictory explicit relationship. For example, you could try this: > > define crond::job($jobs,$comment,$mail="root") { > include crond::cleanup > file { > "/etc/cron.d/${name}.puppet.cron": >

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
ps: not so sure about the gems and why its not there? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this dis

[Puppet Users] Re: mod_passenger.so is missing

2014-10-02 Thread Chris Lee
assuming linux you could run yum whatprovides *mod_passenger.so for example on my system it is as follows: mod_passenger-3.0.17-2.el6.1.x86_64 : Apache Module for Phusion Passenger Repo: atds Matched from: Filename: /usr/lib64/httpd/modules/mod_passenger.so mod_passenger-3.0.17-2.

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
The first error was being thrown out and I didn't see the second one. Its easy to replicate using puppet 3.3.2 node test { class {"crond::test":stage=>post,} } define crond::job($jobs,$comment,$mail="root") { include crond::cleanup file { "/etc/cron.d/${name}.puppet.cron":

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
hmmm, I've created a new class trying to replicated the exact same thing with different files, and I cant seem to.. Will have to do a lot more digging to see where this is coming from -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscr

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an necessary evil It is my unde

[Puppet Users] Re: Dependency cycle using tidy with puppet 3

2014-10-02 Thread Chris Lee
We try not to use stages at all, unless absolutely necessary and we would love to avoid them if we could. Our puppet code is used on around ~3000 machines in a heterogeneous environment of both various hardwares, os boot systems and applications, so at times its an unnecessary evil It is my un

[Puppet Users] Dependency cycle using tidy with puppet 3

2014-09-30 Thread Chris Lee
Hi all, We are busy migrating out puppet 2.7 code to puppet 3 and have run into a problem where we are getting dependency cycles when using tidy. This mostly happens with stages (and yes, I completely understand why we should avoid them). As an example we have a defined class that we use to cre

[Puppet Users] Re: Puppet Master fails when dashboard is unreachable

2013-09-10 Thread Chris Lee
Hi Marcus We aren't running PuppetDB, so hoping that shouldn't effect anything? Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@

[Puppet Users] Puppet Master fails when dashboard is unreachable

2013-09-10 Thread Chris Lee
I would like to know if anyone has seen this before or has any suggestions. After a power cut recently we were bringing our farm back on line, and our dashboard server (separate to our puppet master) was not online yet as reporting at this point was not considered critical. However, we noticed

[Puppet Users] Re: Puppet apply and send reports?

2013-06-14 Thread Chris Lee
I forgot to say thank you. The changes below worked perfectly. At first I tried them just by changing on command line. Using --reports=http and --reporturl= https://dashboard.example.com:3000/reports/upload , worked, but though I wasn't able to use --report=true so still nothing happened. Modify

[Puppet Users] Re: Puppet apply and send reports?

2013-02-24 Thread Chris Lee
> > On Wednesday, February 20, 2013 7:46:11 AM UTC-6, Chris Lee wrote: >> >> Hi all, I hope somebody can help me with something. >> >> We have a rather large number of netbooted nodes that we are running >> "puppet apply" via a script and a cron job ever

[Puppet Users] Puppet apply and send reports?

2013-02-20 Thread Chris Lee
Hi all, I hope somebody can help me with something. We have a rather large number of netbooted nodes that we are running "puppet apply" via a script and a cron job every 30 minutes I was wondering if there is a way to configure puppet apply, to also send any reports to our dashboard server that

[Puppet Users] Re: Dashboard with RackbaseURI / and RailsAutoDetect off

2012-06-18 Thread Chris Lee
Has anyone ever got this right before? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/DiGW9XkhIF4J. To post to this group, send email to puppet-users@googl

[Puppet Users] Dashboard with RackbaseURI / and RailsAutoDetect off

2012-06-12 Thread Chris Lee
Hi all I am testing an installation on SLC 6.2 I am trying to configure my Vhost so that RailsAutoDetect is set to off, and RackBaseURI / However I keep in getting an error as follows: *Error message:* No such file or directory - config.ru *Exception class:* Errno::ENOENT *Application r