On Thu, Dec 1, 2011 at 9:12 PM, Phil Frost wrote:
> On 11/30/2011 11:01 AM, Ted wrote:
>>
>> I'm trying to call puppet from a bash script and whilst it works, it
>> causes my script to end prematurely.
>>
>> #!/bin/bash
>>
>> ...
>>
>> function runPuppetLocally()
>> {
>> echo "...running Puppe
On 11/30/2011 11:01 AM, Ted wrote:
I'm trying to call puppet from a bash script and whilst it works, it
causes my script to end prematurely.
#!/bin/bash
...
function runPuppetLocally()
{
echo "...running Puppet locally"
exec puppet agent --test
echo "Puppet complete"
}
runPuppet
I'm trying to call puppet from a bash script and whilst it works, it
causes my script to end prematurely.
#!/bin/bash
...
function runPuppetLocally()
{
echo "...running Puppet locally"
exec puppet agent --test
echo "Puppet complete"
}
runPuppetLocally
I presume Puppet is issuing an