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}
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
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
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.
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