Jeff, What version of Puppet are you using?
I could not reproduce this behavior with either content or source. When replace was false the file was not changed. When I changed the file on disk, the logs say that the checksum changed and that is replaced in the file bucket. If you can consistently reproduce the behavior, open an issue with the steps. Thanks, Andrew On Wed, Jan 28, 2009 at 8:37 AM, Jeff <joesi...@gmail.com> wrote: > > Sorry if I missed this in the documentation... > > Does this work according to its design? > > When I configure this file with a template and CHANGE the file on the > client server, puppet detects a change and overwrites the file: > file { "jboss-config": > path => "/etc/sysconfig/jboss", > ensure => present, > replace => false, > owner => root, > group => root, > mode => "0644", > content => template("/var/puppet/modules/atg/files/jboss- > config.erb"), > require => Package["jboss-${release}"] > } > > BUT when I configure this file with a source: > file { "jboss-config": > path => "/etc/sysconfig/jboss", > ensure => present, > replace => false, > owner => root, > group => root, > mode => "0644", > source => "puppet://$servername/atg/jboss-config", > require => Package["jboss-${release}"] > } > > puppet does NOT overwrite a changed file on the client server. > > I expected no overwrites in either situation. > > Jeff > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---