I'm not sure where you execute this, but this sound like a problem
with your path.
For initialization script and such, where you're unsure of the path, I
suggest using the complete path for the command.
For example /usr/bin/puppet and /sbin/shutdown.

RuneSt.

On 11 Nov, 20:40, Harish Agarwal <har...@octopart.com> wrote:
> Hello,
>
> I'm using puppet via a bash script when I spin up a machine to configure
> it.  I'd like to restart the instance after puppet's run is complete.  In
> my bash script I have:
>
> puppet agent --test
> shutdown -r now
>
> Puppet runs to completion, but "shutdown -r now" never executes.  I'm not
> sure why not - these are the last two lines in my bash script and
> everything else executes successfully.  Any help would be greatly
> appreciated.
>
> -Harish

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to