[Puppet Users] playing nicely with foreman

2010-07-15 Thread Jon Choate
I currently have a define for setting up files in /etc/apt/preferences.d for different packages on different machines: define apt::preferences ( $pattern, $pin, $pin_priority) { $cont = Package: #{pattern} Pin: #{pin} Pin-Priority: #{pin_priority}

Re: [Puppet Users] dpkg in puppet returns 2 but at command line returns 0

2010-07-13 Thread Jon Choate
Thanks! adding /usr/sbin and /sbin seems to have fixed it. On Mon, Jul 12, 2010 at 7:17 PM, Rohan McGovern rohan.mcgov...@nokia.comwrote: ext Jon Choate said: I have an exec defined as exec {dpkg --configure -a: path = /usr/bin:/bin, user = root } puppet complains

[Puppet Users] dpkg in puppet returns 2 but at command line returns 0

2010-07-12 Thread Jon Choate
I have an exec defined as exec {dpkg --configure -a: path = /usr/bin:/bin, user = root } puppet complains: Exec[dpkg --configure -a]/returns: change from notrun to 0 failed: dpkg --configure -a returned 2 instead of one of [0] but when I run dpkg --configure -a outside puppet it returns

[Puppet Users] node inheritance for external nodes

2010-06-18 Thread Jon Choate
Is it possible to express node inheritance when using external nodes. If it is could someone post what the yaml might look like? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com.

Re: [Puppet Users] Problem with dashboard using live report aggregation

2010-06-16 Thread Jon Choate
I am seeing similar issues. In my puppet.conf I set reports = store, puppet_dashboard and libpath = /var/puppet/lib:$RAILS_ROOT/lib/puppet (RAILS_ROOT being /opt/puppet-dashboard where I installed puppet dashboard) Using a combined path like this does not seem to work for libpath. It views the