I'm using the puppetlabs-apt forge module together with hiera in puppet 3.8.5.
Adding apt::sources works:
apt::sources:
'ubuntu':
location: 'http://server.com/ubuntu'
release: "%{::lsbdistcodename}"
repos: 'main restricted universe multiverse'
... but so far I haven't been able to figure out how to add apt::ppa's to the hiera yaml.
I have tried:
apt::ppa:
'ppa:webupd8team/java':
ensure: 'present'
... and:
apt::ppa:'ppa:webupd8team/java'::ensure: 'present'
... but no luck.
Has anybody else got this working?
apt::ppa
only works within a manifest if you firstinclude ::apt
. For that reason, I doubt it will work inhiera
like this and I would consider it a flaw/bug in the module.