On Fri, 08 Jul 2011 11:18:57 -0700, newguy wrote:
>
> class haproxy::init {
> file { "/etc/init.d/haproxy":
> ensure => present,
> owner => 'root',
> group => 'root',
> mode => 0600,
> source => "puppet:///modules/haproxy/
On Jul 8, 2011, at 1:52 PM, newguy wrote:
> Thanks Rob but what if I simple decide to remove the existing smb.conf
> file and push the new smb.conf from the server, I know I can use the
> source to tell which file to install and its location but how would I
> remove the smb.conf from the client.
On Jul 8, 2011, at 12:45 PM, newguy wrote:
> How can I add lines to smb.conf with out overwriting the content of
> the file.
I think Augeas is what you’re looking for (for this and other inevitable use
cases).
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas
--
Rob McBroom