Skip to content

Instantly share code, notes, and snippets.

@bltavares
Created August 19, 2013 02:42
Show Gist options
  • Save bltavares/6265379 to your computer and use it in GitHub Desktop.
Save bltavares/6265379 to your computer and use it in GitHub Desktop.
pair@btavare ~/repos/vagrant-baseline % (coreyhaines-master) 
pair@btavare ~/repos/vagrant-baseline % (coreyhaines-master) DEBUG=1 host_name=ruby-ruby193 vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Setting hostname...
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /var/cache/apt/archives
[default] -- /tmp/vagrant-puppet/manifests
[default] Running provisioner: puppet...
Running Puppet with init.pp...
stdin: is not a tty
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/epel/lib/facter/os_maj_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/firewall/lib/facter/iptables.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/root_home.rb
Debug: importing '/tmp/vagrant-puppet/manifests/custom/example.pp' in environment production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/init.pp' in environment production
Debug: Automatically imported baseline from baseline into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/git/manifests/init.pp' in environment production
Debug: Automatically imported git from git into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/configs.pp' in environment production
Debug: Automatically imported baseline::configs from baseline/configs into production
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up baseline_user in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_user in config
Debug: hiera(): Looking up baseline_use_zsh in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_use_zsh in config
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/init.pp' in environment production
Debug: Automatically imported avahi from avahi into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/package.pp' in environment production
Debug: Automatically imported avahi::package from avahi/package into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/package/debian.pp' in environment production
Debug: Automatically imported avahi::package::debian from avahi/package/debian into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/service.pp' in environment production
Debug: Automatically imported avahi::service from avahi/service into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp' in environment production
Debug: Automatically imported baseline::lang::ruby from baseline/lang/ruby into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/gcc/manifests/init.pp' in environment production
Debug: Automatically imported gcc from gcc into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/gcc/manifests/params.pp' in environment production
Debug: Automatically imported gcc::params from gcc/params into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/init.pp' in environment production
Debug: Automatically imported rbenv from rbenv into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/params.pp' in environment production
Debug: Automatically imported rbenv::params from rbenv/params into production
Debug: Scope(Class[Rbenv]): Retrieving template rbenv/rbenv.sh
Debug: template[/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh]: Bound template variables for /tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh]: Interpolated template /tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh in 0.00 seconds
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/plugin.pp' in environment production
Debug: Automatically imported rbenv::plugin from rbenv/plugin into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/build.pp' in environment production
Debug: Automatically imported rbenv::build from rbenv/build into production
Debug: hiera(): Looking up baseline_user in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_user in config
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby193.pp' in environment production
Debug: Automatically imported baseline::lang::ruby193 from baseline/lang/ruby193 into production
Error: Duplicate declaration: Package[libcurl4-openssl-dev] is already declared in file /tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp at line 15; cannot redeclare on node ruby-ruby193
Error: Duplicate declaration: Package[libcurl4-openssl-dev] is already declared in file /tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp at line 15; cannot redeclare on node ruby-ruby193
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-puppet/manifests && FACTER_fqdn='precise.vagrant' puppet apply --confdir . --verbose --debug --graph --detailed-exitcodes /tmp/vagrant-puppet/manifests/init.pp || [ $? -eq 2 ]
Stdout from the command:
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/epel/lib/facter/os_maj_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/firewall/lib/facter/iptables.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/rabbitmq/lib/facter/rabbitmq_erlang_cookie.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /tmp/vagrant-puppet/manifests/modules/vendors/stdlib/lib/facter/root_home.rb
Debug: importing '/tmp/vagrant-puppet/manifests/custom/example.pp' in environment production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/init.pp' in environment production
Debug: Automatically imported baseline from baseline into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/git/manifests/init.pp' in environment production
Debug: Automatically imported git from git into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/configs.pp' in environment production
Debug: Automatically imported baseline::configs from baseline/configs into production
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up baseline_user in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_user in config
Debug: hiera(): Looking up baseline_use_zsh in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_use_zsh in config
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/init.pp' in environment production
Debug: Automatically imported avahi from avahi into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/package.pp' in environment production
Debug: Automatically imported avahi::package from avahi/package into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/package/debian.pp' in environment production
Debug: Automatically imported avahi::package::debian from avahi/package/debian into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/avahi/manifests/service.pp' in environment production
Debug: Automatically imported avahi::service from avahi/service into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp' in environment production
Debug: Automatically imported baseline::lang::ruby from baseline/lang/ruby into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/gcc/manifests/init.pp' in environment production
Debug: Automatically imported gcc from gcc into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/gcc/manifests/params.pp' in environment production
Debug: Automatically imported gcc::params from gcc/params into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/init.pp' in environment production
Debug: Automatically imported rbenv from rbenv into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/params.pp' in environment production
Debug: Automatically imported rbenv::params from rbenv/params into production
Debug: Scope(Class[Rbenv]): Retrieving template rbenv/rbenv.sh
Debug: template[/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh]: Bound template variables for /tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh in 0.00 seconds
Debug: template[/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh]: Interpolated template /tmp/vagrant-puppet/manifests/modules/vendors/rbenv/templates/rbenv.sh in 0.00 seconds
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/plugin.pp' in environment production
Debug: Automatically imported rbenv::plugin from rbenv/plugin into production
Debug: importing '/tmp/vagrant-puppet/manifests/modules/vendors/rbenv/manifests/build.pp' in environment production
Debug: Automatically imported rbenv::build from rbenv/build into production
Debug: hiera(): Looking up baseline_user in YAML backend
Debug: hiera(): Looking for data source config
Debug: hiera(): Found baseline_user in config
Debug: importing '/tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby193.pp' in environment production
Debug: Automatically imported baseline::lang::ruby193 from baseline/lang/ruby193 into production
Stderr from the command:
stdin: is not a tty
Error: Duplicate declaration: Package[libcurl4-openssl-dev] is already declared in file /tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp at line 15; cannot redeclare on node ruby-ruby193
Error: Duplicate declaration: Package[libcurl4-openssl-dev] is already declared in file /tmp/vagrant-puppet/manifests/modules/baseline/manifests/lang/ruby.pp at line 15; cannot redeclare on node ruby-ruby193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment