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 [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
-~----------~----~----~----~------~----~------~--~---