2010/1/26 Matt <mattmora...@gmail.com>:
> 2010/1/26 Matt <mattmora...@gmail.com>:
>>> Hi,
>>>
>>> On Thu, Dec 17, 2009 at 3:56 AM, Matt <mattmora...@gmail.com> wrote:
>>>>
>>>> I can reliably recreate this issue in EC2 now, does anyone require any
>>>> debugging on it?
>>>>
>>> can you run with --debug and post the output.
>>>
>>> thanks,
>>>
>>> Dan
>>>
>>
>> Running puppet 0.25.1
>>
>> I've got this failing again on an EC2 instance regularly.  The
>> partition does mount, but it appears to be the check that is causing
>> puppetd to hang.
>>
>> I've tried replacing the mount type with a exec mount, and when using
>> an exec i've tried using 'df' as a check, but this still hangs
>> puppetd.
>>
>> debug: //temp/Exec[mount-/var/opt/temp]: Executing check '/bin/df
>> |/bin/grep /var/opt/temp'
>> debug: Executing '/bin/df |/bin/grep /var/opt/temp'
>>
>> Anyone got any ideas on what could be causing this?
>>
>> Thanks,
>>
>> Matt
>
> Interestingly, if I remove all of the files on the partition that is
> mounted, puppetd then executes without issue.  Creating the mount
> directory with Exec mkdir, or File with backup => false, makes no
> difference.

I used an unless in the exec mount to see if that made a difference.
unless  => "/bin/cat /etc/mtab |/bin/grep /var/opt/temp",

Which still makes it hang at:

debug: //temp/Exec[mount-/var/opt/temp]: Executing check '/bin/cat
/etc/mtab |/bin/grep /var/opt/temp'
debug: Executing '/bin/cat /etc/mtab |/bin/grep /var/opt/temp

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