FAQ
Thanks guys, you're amazing :) While augeas looks like a powerful tool,
I went for the quick'n'easy file_line resource, with a match parameter
to ensure the parameter isn't set multiple times.

Cheers, have a nice weekend!
Andreas.

Am 04.01.2013 20:06, schrieb Stephen Jahl:
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?
Would the file_line resource from the puppetlabs stdlib do what you
want?

http://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppet-labs-standard-library/

-Steve
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJan 4, '13 at 7:06p
activeJan 4, '13 at 9:35p
posts6
users5
websitepuppetlabs.com

People

Translate

site design / logo © 2021 Grokbase