Thu Feb 13 11:26:21 2014: Request 93008 was acted upon.
Transaction: Ticket created by mcandre
       Queue: PAR-Packer
     Subject: install failure with ubuntu / puppet
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: andrew.penneba...@gmail.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=93008 >


I'm able to install several CPAN packages with Puppet, but PAR::Packer
seems to be misbehaving. The package appears to install with no error
messages, but the pp binary never installs.

Vagrantfile:

VAGRANTFILE_API_VERSION = '2'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = 'precise64'
  config.vm.box_url = 'http://files.vagrantup.com/precise64.box'

  # Disable tty warning
  config.vm.provision :shell,
    :inline => "sed -i 's/^mesg n$/tty -s \\&\\& mesg n/g' /root/.profile"

  config.vm.provision :shell, path: 'upgrade-puppet.sh'

  # Install puppet modules
  config.vm.provision :shell, path: 'bootstrap.rb', args:
"puppetlabs-stdlib \
    puppetlabs/apt \
    example42/puppi \
    example42/perl"

  config.vm.provision :puppet do |puppet|
    puppet.options = ENV['PUPPET_OPTIONS']
  end
end

manifests/default.pp:

class { 'perl': }

perl::cpan::module { 'App::Ack':
  require => Package['build-essential']
}

perl::cpan::module { 'Test::More': }

perl::cpan::module { 'Perl::Critic': }

perl::cpan::module { 'PAR::Packer':
  require => Package['build-essential']
}

perl::cpan::module { 'WWW::Mechanize': }

Trace:

$ vagrant provision

Notice:
/Stage[main]/Main/Perl::Cpan::Module[PAR::Packer]/Exec[cpan-PAR::Packer-present]/returns:
executed successfully

$ vagrant ssh

$ which pp

$

$ which perlcritic

/usr/local/bin/perlcritic

System:

* CPAN 1.57
* Perl 5.14
* Puppet 3.4.2
* Ubuntu 12.04 Precise Pangolin
* VirtualBox 4.3.6
* Vagrant 1.4.3
* Homebrew 0.9.5
* Mac OS X 10.9.1 Mavericks

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

Reply via email to