I tried apt::ppa { 'ppa:webupd8team/java': } , and I get
*Warning*: Unknown variable: '::apt::ppa_options'. (file:
/home/vagrant/.puppetlabs/etc/code/modules/apt/manifests/ppa.pp, line: 4,
column: 36)
*Warning*: Unknown variable: '::apt::ppa_package'. (file:
/home/vagrant/.puppetlabs/etc/code/modules/apt/manifests/ppa.pp, line: 6,
column: 36)
*Warning*: Unknown variable: '::apt::_proxy'. (file:
/home/vagrant/.puppetlabs/etc/code/modules/apt/manifests/ppa.pp, line: 36,
column: 15)
*Error*: Evaluation Error: Error while evaluating a Resource Statement,
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file:
/home/vagrant/.puppetlabs/etc/code/modules/apt/manifests/ppa.pp, line: 37,
column: 8) (file: /vagrant/scratch/oraclejava/manifests/init.pp, line: 2)
on node controlrepo.test
Sort of in shock, this is basic functionality, it cannot be broken, and no
one knows about it. It's not like Debian and Ubuntu are not popular...
So I thought that I must be doing something wrong? Anyone see this? Am I
doing something wrong?
Simple Steps to Reproduce (on Ubuntu 14.04 trusty vagrant box
puppetlabs/ubuntu-14.04-64-nocm):
mkdir scratch & cd scratch
puppet module generate foo/oraclejava --skip-interview
puppet module install puppetlabs-stdlib
puppet module install puppetlabs-apt
cat <<-EOF > oraclejava/manifests/init.pp
class oraclejava {
apt::ppa { 'ppa:webupd8team/java': }
}
EOF
sudo puppet apply \
--modulepath=.:${HOME}/.puppetlabs/etc/code/modules \
-e 'include ::oraclejava'
--
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/20f5c69c-5bc2-4201-a9a5-25c40d9d8d6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.