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?