Displaying 1 result from an estimated 1 matches for "identifierofpuppetresource".
2013 Jan 04
5
How to manage one line in a file by puppet
...ay to do this?
I see two options:
a) Do some `sed` magic on the file in a `exec` call. Downside: puppet
won''t notice when the line gets manually changed.
b) Have some support for sections inside files, like this:
[... part of file untouched by puppet ...]
###
# BEGIN MANAGED BY PUPPET: IDENTIFIEROFPUPPETRESOURCE
###
GRUB_CMDLINE_XEN=''my options''
###
# END MANAGED BY PUPPET: IDENTIFIEROFPUPPETRESOURCE
###
[... rest of file untouched by puppet ...]
Is there support for something like this?
Cheers, Andreas.
--
You received this message because you are subscribed to the Google Groups &quo...