Displaying 1 result from an estimated 1 matches for "jahl".
Did you mean:
ahl
2013 Jan 04
5
How to manage one line in a file by puppet
Hi,
I want to write a puppet module for xen on Debian. This module will need
to manage one line in the file /etc/default/grub, namely the line
starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of
the file untouched.
Which would be the best way to do this?
I see two options:
a) Do some `sed` magic on the file in a `exec` call. Downside: puppet
won''t notice