Skip to content

Instantly share code, notes, and snippets.

@bklang
Created March 6, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bklang/f9dcb4e45cc2df512e03 to your computer and use it in GitHub Desktop.
Save bklang/f9dcb4e45cc2df512e03 to your computer and use it in GitHub Desktop.
$ vagrant provision nitro
nitro: The Berkshelf shelf is at "/Users/bklang/.berkshelf/vagrant-berkshelf/shelves/berkshelf20150306-88714-1h3ik84-nitro"
==> nitro: Installing Puppet modules with Librarian-Puppet...
==> nitro: Running provisioner: puppet...
==> nitro: Running Puppet with nitro.pp...
==> nitro: stdin: is not a tty
==> nitro: Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
==> nitro: (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1117:in `issue_deprecation_warning')
==> nitro: Warning: The use of 'import' is deprecated at /tmp/vagrant-puppet/manifests-97e772fe161f2f461003ca850295f8ad/nitro.pp:3. See http://links.puppetlabs.com/puppet-import-deprecation
==> nitro: (at /usr/lib/ruby/vendor_ruby/puppet/parser/parser_support.rb:110:in `import')
==> nitro: Notice: Compiled catalog for nitro.devbox in environment devbox in 12.30 seconds
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/File[apt_tempdir]/ensure: created
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Phrg_apt_repos_devbox::Create_apt_source[staging]/File[/tmp/sources/phrg_trusty_staging.list]/ensure: created
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Phrg_apt_repos_devbox::Create_apt_source[mirror]/File[/tmp/sources/phrg_trusty_mirror.list]/ensure: created
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Phrg_apt_repos_devbox::Create_apt_source[prod]/File[/tmp/sources/phrg_trusty_prod.list]/ensure: created
==> nitro: Notice: /Stage[pre]/Common/File[/vagrant/Files]/mode: mode changed '0755' to '0777'
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Exec[copy_apt_sources]/returns: executed successfully
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Exec[rm_tmp_sources]/returns: executed successfully
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Phrg_apt_repos_devbox::Apt_add_key[phrg_apt_add_key]/Exec[phrg_apt_repos_devbox_apt_add_key_phrg_apt_add_key]/returns: executed successfully
==> nitro: Notice: /Stage[pre]/Phrg_apt_repos_devbox/Phrg_apt_repos_devbox::Apt_get_update[phrg_apt_get_update]/Exec[phrg_apt_get_update_phrg_apt_get_update]/returns: executed successfully
==> nitro: Notice: /Stage[main]/Main/File[/tmp/usr]/ensure: created
==> nitro: Notice: /Stage[main]/Main/Exec[fpm -s dir -t deb --name apache2 --version 9.99 /tmp/usr && dpkg -i apache2_9.99_amd64.deb]/returns: {:timestamp=>"2015-03-06T06:03:23.561122-0800", :message=>"File already exists, refusing to continue: apache2_9.99_amd64.deb", :level=>:fatal}
==> nitro: Error: fpm -s dir -t deb --name apache2 --version 9.99 /tmp/usr && dpkg -i apache2_9.99_amd64.deb returned 1 instead of one of [0]
==> nitro: Error: /Stage[main]/Main/Exec[fpm -s dir -t deb --name apache2 --version 9.99 /tmp/usr && dpkg -i apache2_9.99_amd64.deb]/returns: change from notrun to 0 failed: fpm -s dir -t deb --name apache2 --version 9.99 /tmp/usr && dpkg -i apache2_9.99_amd64.deb returned 1 instead of one of [0]
==> nitro: Notice: /Stage[main]/Phrg_graphite/Exec[python_development_package]/returns: executed successfully
==> nitro: Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install apache2' returned 100: Reading package lists...
==> nitro: Building dependency tree...
==> nitro: Reading state information...
==> nitro: Some packages could not be installed. This may mean that you have
==> nitro: requested an impossible situation or if you are using the unstable
==> nitro: distribution that some required packages have not yet been created
==> nitro: or been moved out of Incoming.
==> nitro: The following information may help to resolve the situation:
==> nitro:
==> nitro: The following packages have unmet dependencies:
==> nitro: apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.1)
==> nitro: E: Unable to correct problems, you have held broken packages.
==> nitro: Error: /Stage[main]/Graphite::Config_apache/Package[apache2]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install apache2' returned 100: Reading package lists...
==> nitro: Building dependency tree...
==> nitro: Reading state information...
==> nitro: Some packages could not be installed. This may mean that you have
==> nitro: requested an impossible situation or if you are using the unstable
==> nitro: distribution that some required packages have not yet been created
==> nitro: or been moved out of Incoming.
==> nitro: The following information may help to resolve the situation:
==> nitro:
==> nitro: The following packages have unmet dependencies:
==> nitro: apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.1)
==> nitro: E: Unable to correct problems, you have held broken packages.
==> nitro: Notice: /Stage[main]/Python::Install/Package[python-dev]/ensure: removed
==> nitro: Notice: /Stage[main]/Graphite::Config/File[/opt/graphite/webapp/graphite/local_settings.py]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config/File[/opt/graphite/webapp/graphite/local_settings.py]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config/Exec[Initial django db creation]: Dependency Package[apache2] has failures: true
==> nitro:
==> nitro: Warning: /Stage[main]/Graphite::Config/Exec[Initial django db creation]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config/Exec[Chown graphite for web user]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config/Exec[Chown graphite for web user]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config/File[/opt/graphite/conf/graphite.wsgi]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config/File[/opt/graphite/conf/graphite.wsgi]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite/Anchor[graphite::end]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite/Anchor[graphite::end]: Skipping because of failed dependencies
==> nitro: Notice: /Package[libapache2-mod-wsgi]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Package[libapache2-mod-wsgi]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/ports.conf]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/ports.conf]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/sites-available/graphite.conf]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/sites-available/graphite.conf]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/sites-enabled/graphite.conf]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config_apache/File[/etc/apache2/sites-enabled/graphite.conf]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config_apache/Exec[Disable default apache site]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config_apache/Exec[Disable default apache site]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Graphite::Config_apache/Service[apache2]: Dependency Package[apache2] has failures: true
==> nitro: Warning: /Stage[main]/Graphite::Config_apache/Service[apache2]: Skipping because of failed dependencies
==> nitro: Notice: /Stage[main]/Talkbox_config::Service/Service[talkbox]/ensure: ensure changed 'stopped' to 'running'
==> nitro: Notice: Finished catalog run in 36.89 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment