puppet-module-puppetlabs-apt does not work after installation via apt-get

Bug #1428605 reported by Sebastian Nohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-module-puppetlabs-apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

To reproduce:

sudo apt-get install puppet-common puppet-module-puppetlabs-apt

After that, I'd expect the puppet module to work, however it does not. For example, I'd expect this to add a ppa:

apt::ppa { "ppa:webupd8team/java":}

However I only get this error message:

Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type apt::ppa at .../puppet/modules/xxx/manifests/packages.pp:2 on node xxx
Wrapped exception:
Invalid resource type apt::ppa
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type apt::ppa at .../puppet/modules/xxx/manifests/packages.pp:2 on node xxx

Similar error, If I try to use apt::source

$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ apt-cache policy puppet-common puppet-module-puppetlabs-apt
puppet-common:
  Installed: 3.4.3-1
  Candidate: 3.4.3-1
  Version table:
 *** 3.4.3-1 0
        500 http://gce.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
puppet-module-puppetlabs-apt:
  Installed: 1.4.0-2
  Candidate: 1.4.0-2
  Version table:
 *** 1.4.0-2 0
        500 http://gce.clouds.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Sebastian Nohn (sebastian-nohn) wrote :

I was too dumb. Issue can be closed.

Changed in puppet-module-puppetlabs-apt (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.