How do I setup puppetlabs-apt on a provisioned system ?

asked 2015-06-15 15:44:15 -0600


I have been working the RedHat/CentOS side of the street forever, but now I am Puppet-izing a Ubuntu Trusty instance.

How do I take the existing repository config and make the proper resource statements out of them ?

edit retag flag offensive close merge delete


A second question: How do you manage /etc/apt/sources.list ? It seems the only choices are to leave it unmanaged or purge it. So if I choose to purge it, do I re-create the entries in /etc/apt/sources.list.d/ using apt::source(s) ?

LinuxDan gravatar imageLinuxDan ( 2015-06-15 16:25:06 -0600 )edit