Running two Ubuntu 8.04 machines with puppet 0.24.5 on both sides,
when I use puppetd to pull a config with the file declaration below,
all of the files in the directory are updated every run.

file { "/etc/apache2/ssl":
     source => "puppet:///websites/ssl",
     ensure => "directory",
     recurse => "true",
     backup  => "false",
     checksum => "mtime",
     owner    => "root",
     group    => "root",
     mode     => "644",
}

Below is the top of the --test output for two runs (after it had been
run 3 times previously):

notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl]/checksum: checksum changed '{mtime}Sat Oct 25
17:00:43 -0700 2008' to '{mtime}Sat Oct 25 17:25:38 -0700 2008'
notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl/rbdev.crt]/checksum: checksum changed
'{md5}2992b94e506c01ff750e62ec0c0a1437' to '{mtime}Sat Oct 25 17:23:25
-0700 2008'
notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl/rbdev.crt]/source: replacing from source
puppet:///websites/ssl/rbdev.crt with contents
{md5}2992b94e506c01ff750e62ec0c0a1437


notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl]/checksum: checksum changed '{mtime}Sat Oct 25
17:25:38 -0700 2008' to '{mtime}Sat Oct 25 17:32:40 -0700 2008'
notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl/rbdev.crt]/checksum: checksum changed
'{md5}2992b94e506c01ff750e62ec0c0a1437' to '{mtime}Sat Oct 25 17:30:25
-0700 2008'
notice: //Node[default]/websites::all/websites::dev_robotbattle_com/
File[/etc/apache2/ssl/rbdev.crt]/source: replacing from source
puppet:///websites/ssl/rbdev.crt with contents
{md5}2992b94e506c01ff750e62ec0c0a1437


If I change the checksum to "md5" it works as expected (although still
with horrible perf, but I understand the perf issue is known). Is the
mtime checksum problem known also?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to