I have had great luck with the file_line, expecially when used with the
'match =>' parameter which keeps there from being multiple lines if you
update the contents of 'line =>' at some point.
file_line { 'sbin_for_root':
path => '/root/.profile',
line => 'export PATH="$PATH:/usr/local/sbin",
match => '^export PATH=',
}
--
Omen Wild
Systems Administrator
Metro Cluster