On Thu, Jun 10, 2010 at 02:55:04PM -0700, Nigel Kersten wrote:
>    On Thu, Jun 10, 2010 at 12:53 PM, <[1][email protected]> wrote:
> 
>      I have my sudoers setup as per the puppet training class recommendation:
> 
>      � � � �file { "/etc/sudoers.check":
>      � � � � � � � �content => template("etc/sudoers.erb"),
>      � � � � � � � �mode => 440,
>      � � � � � � � �notify => Exec['sudo-check'],
>      � � � �}
> 
>      � � � �exec { 'sudo-check':
>      � � � � � � � �path => '/usr/sbin:/usr/bin',
>      � � � � � � � �command => 'visudo -c -f /etc/sudoers.check',
>      � � � � � � � �unless => "diff /etc/sudoers.check /etc/sudoers",
>      � � � � � � � �require => File['/etc/sudoers.check'],
>      � � � �}
> 
>      � � � �file { "/etc/sudoers":
>      � � � � � � � �ensure => present,
>      � � � � � � � �mode => 440,
>      � � � � � � � �require => [Exec['sudo-check'],Package["sudo"]],
>      � � � � � � � �source => '/etc/sudoers.check',
>      � � � �}
> 
>      That works wonderfully on three out of four of our OS/arch combinations
>      (Centos4/32-bit, Centos5/32-bit, Centos5/64-bit). �However, on all of
>      our Centos4/64-bit machines, we have inconsistent hangs, with the
>      following error:
> 
>      err: //etc/Exec[sudo-check]/unless: Check "diff /etc/sudoers.check
>      /etc/sudoers" exceeded timeout
> 
>    David, this sounds awfully similar to the problem we had (and resolved) in
>    this thread:
>    
> [2]http://groups.google.com/group/puppet-users/browse_thread/thread/7efd79bcd807de4c/dc9f8e42082cd0aa?#dc9f8e42082cd0aa
>    �

That does appear to be exactly what we're seeing.  I'll recompile ruby
with those patches - and thanks!

David 

Attachment: signature.asc
Description: Digital signature

Reply via email to