Skip to content

Instantly share code, notes, and snippets.

@mlandauer
Created June 3, 2013 00:13
Show Gist options
  • Save mlandauer/5695455 to your computer and use it in GitHub Desktop.
Save mlandauer/5695455 to your computer and use it in GitHub Desktop.
loon:cuttlefish matthew$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise64'...
[default] Matching MAC address for NAT networking...
[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] -- 3000 => 3000 (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] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
[default] Running provisioner: puppet...
Running Puppet with site.pp...
stdin: is not a tty
notice: /Stage[before]/Repository/Exec[apt-get update]/returns: executed successfully
notice: /Stage[main]/Ruby::Common/Package[build-essential]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[libcurl4-openssl-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[libxslt1-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/File[/usr/local/bin/rbenv-gem]/ensure: defined content as '{md5}bc1ac553dee7bfc5aa935741888d1f5f'
notice: /Stage[main]/Ruby::Common/Package[ruby-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[libsqlite3-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[sqlite3]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[libmysqlclient-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/Package[ruby]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Curl/Package[curl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Network/Package[ngrep]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Network/Package[ethtool]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby::Common/File[/usr/local/bin/rbenv-exec]/ensure: defined content as '{md5}746900e35dd1810c2e1763c056701c22'
notice: /Stage[main]/Percona::Install/Apt::Source[percona]/Apt::Key[Add key: CD2EFD2A from Apt::Source percona]/Exec[4ce622052623d188e5d76d4aef250aaf5a881511]/returns: executed successfully
notice: /Stage[main]/Utils::Vim/Package[vim]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Vim/Package[nano]/ensure: removed
notice: /Stage[main]/Utils::Network/Package[nmap]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Percona::Install/Apt::Source[percona]/File[percona.list]/ensure: created
notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Percona::Install/Package[percona-server-client]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Git::Common/File[/etc/gitconfig]/ensure: defined content as '{md5}d5bc8a782c2fad3d63fe68d327287713'
notice: /Stage[main]/Percona::Install/Package[percona-toolkit]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Percona::Install/Package[xtrabackup]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Tmux/File[/etc/tmux.conf]/ensure: defined content as '{md5}3d12cae105fa9f524794de42ce65f490'
notice: /Stage[main]/Utils::Tmux/Package[tmux]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Facterpath/File[/etc/profile.d/facter.sh]/ensure: created
notice: /Stage[main]/Utils/Package[logtail]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils/Package[tofrodos]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils/Package[dbus]/ensure: removed
notice: /Stage[main]/Percona::Install/File[/etc/mysql/my.cnf]/content: content changed '{md5}77f15d6c87f9c136c4efcda072017f71' to '{md5}fb9953cc264beae0c9b77813e3377d96'
notice: /Stage[main]/Percona::Install/File[/etc/mysql/my.cnf]/group: group changed 'root' to 'admin'
notice: /Stage[main]/Percona::Install/File[/etc/mysql/my.cnf]/mode: mode changed '0644' to '0664'
notice: /Stage[main]/Percona::Install/Package[percona-server-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Percona::Config/File[/etc/logrotate.d/percona-server-server-5.5]/content: content changed '{md5}64e209fe34f73fbf10c9479bf30947c4' to '{md5}f99afb0cce59ccfb2f9e51d2451d2043'
notice: /Stage[main]/Percona::Service/Service[mysql]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Utils::Vim/File[/etc/vim/vimrc.local]/ensure: defined content as '{md5}ef9c48967a103d9683b751c2cc6c2f20'
notice: /Stage[main]/Utils::Screen/Package[screen]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Utils::Screen/File[/etc/screenrc]/content: content changed '{md5}12c245238eb8b653625bba27dc81df6a' to '{md5}6c76465ff91ff3434647263529c34f24'
notice: /Stage[main]/Git::Common::Ubuntu/Package[git]/ensure: created
notice: /Stage[main]/Ruby::Common/Exec[download-ruby-build]/returns: executed successfully
notice: /Stage[main]/Ruby::Common/Exec[install-ruby-build]/returns: executed successfully
notice: /Stage[main]/Ruby::Common/Exec[rbenv-download]/returns: executed successfully
notice: /Stage[main]/Ruby::Common/File[/opt/rbenv/shims]/ensure: created
notice: /Stage[main]//Node[default]/Ruby::Version[1.9.3-p392]/Exec[rbenv-install-1.9.3-p392]/returns: executed successfully
notice: /Stage[main]/Ruby::Common/File[/etc/profile.d/rbenv.sh]/ensure: defined content as '{md5}5491a84ef12d98cfbf1365d61e91450e'
notice: /Stage[main]/Ruby::Common/Exec[export-rbenv-path]/returns: executed successfully
notice: /Stage[main]//Node[default]/Ruby::Version[1.9.3-p392]/File[/opt/rbenv/global]/ensure: defined content as '{md5}0df0ab23d667b0bda4444530e53c7786'
notice: /Stage[main]//Node[default]/Ruby::Version[1.9.3-p392]/Exec[update-rubygems-for-ruby-1.9.3-p392]/returns: executed successfully
rbenv_ruby_versions: 1.9.3-p392
rbenv_ruby_versions: 1.9.3-p392
beauty, a direct match. we'll use this version: 1.9.3-p392
gemcmd result: /opt/rbenv/versions/1.9.3-p392/bin/gem
name_split: using gem command: /opt/rbenv/versions/1.9.3-p392/bin/gem
rbenv_ruby_versions: 1.9.3-p392
beauty, a direct match. we'll use this version: 1.9.3-p392
gemcmd result: /opt/rbenv/versions/1.9.3-p392/bin/gem
name_split: using gem command: /opt/rbenv/versions/1.9.3-p392/bin/gem
install: command: /opt/rbenv/versions/1.9.3-p392/bin/gem install --no-rdoc --no-ri bundler
notice: /Stage[main]//Node[default]/Ruby::Version[1.9.3-p392]/Package[bundler/1.9.3-p392]/ensure: created
notice: /Stage[main]/Cuttlefish/Exec[bundle install cuttlefish]/returns: rbenv: version `1.9.3-p392' is not installed
notice: /Stage[main]/Cuttlefish/Exec[bundle install cuttlefish]/returns: executed successfully
notice: /Stage[main]/Cuttlefish/Exec[create cuttlefish database]/returns: executed successfully
err: /Stage[main]/Cuttlefish/Exec[foreman export cuttlefish]/returns: change from notrun to 0 failed: rbenv exec bundle exec foreman export upstart /etc/init --app cuttlefish --user vagrant --log /vagrant/log returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-0/cuttlefish/manifests/init.pp:65
notice: /Stage[main]/Cuttlefish/Service[cuttlefish]: Dependency Exec[foreman export cuttlefish] has failures: true
warning: /Stage[main]/Cuttlefish/Service[cuttlefish]: Skipping because of failed dependencies
notice: Finished catalog run in 937.21 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-puppet/manifests && puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' site.pp --detailed-exitcodes || [ $? -eq 2 ]
loon:cuttlefish matthew$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment