On 02/07/2011 09:30 AM, Ross W wrote:
> While working on a bunch of freebsd servers, one feature that I found
> lacking was the ability to nicely modify rc.conf variables (eg:
> item_flags="--something") for installed ports/applications and have a
> service do dependency checking so it restarts if it changes.
> 

You can already use augeas to do this.

augeas { "item_flags":
   context => "/files/etc/rc.conf",
   changes => "set item_flags '--something'"
}

The textproc/augeas port has lens for both /etc/rc.conf and
/boot/loader.conf

-- 
Russell A Jackson <r...@csub.edu>
Network Analyst
California State University, Bakersfield

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

Reply via email to