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 ret
On Jul 12, 2010, at 12:00 PM, Jon Choate wrote:
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]
bu
ext Jon Choate said:
> 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
Thanks! adding /usr/sbin and /sbin seems to have fixed it.
On Mon, Jul 12, 2010 at 7:17 PM, Rohan McGovern wrote:
> ext Jon Choate said:
> > I have an exec defined as
> >
> > exec {"dpkg --configure -a":
> >path => "/usr/bin:/bin",
> >user => root
> > }
> >
> > puppet complains:
> >
> >