configi.old
configi.old copied to clipboard
apt repo module
Need the ability to add a repo and specify a key
Sorry just got back from vacation.
I may have time this weekend to add this feature. Regards.
Configi could use add-apt-repository or do it by itself.
Still trying to figure out the best way.
Alternative impls:
Chef's apt_repository: https://github.com/chef/chef/blob/master/lib/chef/provider/apt_repository.rb
Puppet's apt::source: https://github.com/puppetlabs/puppetlabs-apt/blob/master/manifests/source.pp
Puppet's apt::key: https://github.com/puppetlabs/puppetlabs-apt/blob/master/manifests/key.pp
Puppet's apt::ppa: https://github.com/puppetlabs/puppetlabs-apt/blob/master/manifests/ppa.pp
Thanks. Added ppa module. Just used add-apt-repository like in Puppet apt::ppa.
Example: https://github.com/Configi/configi/blob/master/test/ppa_present.lua
The update parameter determines if an apt-get update is run after adding the repository. By default it does not run.
Tested this in Ubuntu Xenial.