Hello all,

I'm looking to use a simple augeas definition per the below info:

 augeas { "sources_config":
                context => "/files/etc/apt/sources.list" ,
                changes => [
                        "set deb http://repo/ client main" ,
                ],
        }

Per the snippet above, I'm simply trying to add in an extra entry into my 
/etc/apt/sources.list but I'm not sure where I would actually put the above 
piece of code.  I currently have it sitting in my init.pp file for the 
corresponding class but I'm not sure if that's really where it belongs.

Is the init.pp file the right place for this and if not, where would I put 
it?

My apologies if this is a stupid question as I'm having a hard time 
wrapping my head around this one.

Thanks in advance for all the help.

Cheers,

Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6a05ba6a-c3fd-4de1-abca-31593b6b233f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to