Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stop overwriting my changes

I'd like to use puppet to deploy some files, but not change them after deployment.

I have this working:

file { '$rhelver.file':
path    => '/usr/local/somefile.file',
group   => '10100',
mode    => '700',
owner   => '10100',
source  => "puppet:///modules/somemod/somefile.file",

}

But, whenever I make changes to the deployed file, puppet wipes the changes out.

I have the same problem with user deployment. If a user changes his password, puppet sees the change in /etc/shadow and "fixes it". This is definitely useful in some cases, but irritating in others.

stop overwriting my changes

I'd like to use puppet to deploy some files, but not change them after deployment.

I have this working:

file { '$rhelver.file':
 path    => '/usr/local/somefile.file',
 group   => '10100',
 mode    => '700',
 owner   => '10100',
 source  => "puppet:///modules/somemod/somefile.file",
}

}

But, whenever I make changes to the deployed file, puppet wipes the changes out.

I have the same problem with user deployment. If a user changes his password, puppet sees the change in /etc/shadow and "fixes it". This is definitely useful in some cases, but irritating in others.