Skip to content

Instantly share code, notes, and snippets.

@jacqueline-homan
Created February 23, 2016 04:25
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 jacqueline-homan/3a07dc95ee338b200ef2 to your computer and use it in GitHub Desktop.
Save jacqueline-homan/3a07dc95ee338b200ef2 to your computer and use it in GitHub Desktop.
➜ tmp git:(master) ✗ rm cache
rm: cache: is a directory
➜ tmp git:(master) ✗ rm -rf cache
➜ tmp git:(master) ✗ rm logs
rm: logs: is a directory
➜ tmp git:(master) ✗ rm -rf logs
➜ tmp git:(master) ✗ ls
➜ tmp git:(master) ✗ cd ../..
➜ apistudyabroad.dev git:(master) ✗ cd ..
➜ vagrant-lamp-ror git:(master) ✗ vagrant up --provision
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> local: VirtualBox VM is already running.
➜ vagrant-lamp-ror git:(master) ✗ vagrant halt
==> local: Attempting graceful shutdown of VM...
➜ vagrant-lamp-ror git:(master) ✗ vagrant up --provision
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> local: Clearing any previously set forwarded ports...
==> local: Clearing any previously set network interfaces...
==> local: Preparing network interfaces based on configuration...
local: Adapter 1: nat
local: Adapter 2: hostonly
==> local: Forwarding ports...
local: 22 (guest) => 7752 (host) (adapter 1)
local: 22 (guest) => 2222 (host) (adapter 1)
==> local: Running 'pre-boot' VM customizations...
==> local: Booting VM...
==> local: Waiting for machine to boot. This may take a few minutes...
local: SSH address: 127.0.0.1:2222
local: SSH username: vagrant
local: SSH auth method: private key
==> local: Machine booted and ready!
==> local: Checking for guest additions in VM...
==> local: Setting hostname...
==> local: Configuring and enabling network interfaces...
==> local: Mounting shared folders...
local: /vagrant => /Users/admin/Sites/vagrant-lamp-ror
local: /var/www/apistudyabroad.dev => /Users/admin/Sites/vagrant-lamp-ror/apistudyabroad.dev
local: /tmp/vagrant-puppet/modules-20917723c46035f3e4727aa18897e6cc => /Users/admin/Sites/vagrant-lamp-ror/puphpet/puppet/modules
local: /tmp/vagrant-puppet/manifests-75f35e3bc7e32744860c4bb229c88812 => /Users/admin/Sites/vagrant-lamp-ror/puphpet/puppet/manifests
==> local: Running provisioner: shell...
local: Running: inline script
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-7376-1lztk80.sh
==> local:
==> local: ____ ____ _ _ ____ _ generated using
==> local: | _ \ _ _| _ \| | | | _ \ ___| |_ ___ ___ _ __ ___
==> local: | |_) | | | | |_) | |_| | |_) / _ \ __| / __/ _ \| '_ ` _ \
==> local: | __/| |_| | __/| _ | __/ __/ |_ | (_| (_) | | | | | |
==> local: |_| \__,_|_| |_| |_|_| \___|\__(_)___\___/|_| |_| |_|
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-7376-8zh1s2.sh
==> local: Pre-existing private key found at 'puphpet/files/dot/ssh/root_id_rsa'
==> local: Pre-existing private key found at 'puphpet/files/dot/ssh/id_rsa'
==> local: Adding generated root key to /root/.ssh/id_rsa
==> local: Adding generated root key to /root/.ssh/id_rsa.pub
==> local: Adding generated root key to /root/.ssh/authorized_keys
==> local: Adding generated key to /home/vagrant/.ssh/id_rsa
==> local: Adding generated key to /home/vagrant/.ssh/id_rsa.pub
==> local: Adding generated key to /home/vagrant/.ssh/authorized_keys
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-7376-llwxbi.sh
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-7376-146bomg.sh
==> local: Successfully installed deep_merge-1.0.1
==> local: Successfully installed activesupport-4.2.5.1
==> local: Successfully installed vine-0.2
==> local: 3 gems installed
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-7376-1pazisw.sh
==> local: Running files in files/exec-preprovision
==> local: Finished running files in files/exec-preprovision
==> local: To run again, delete hashes you want rerun in /.puphpet-stuff/exec-preprovision-ran or the whole file to rerun all
==> local: Running files in files/
==> local: Finished running files in files/
==> local: Running provisioner: puppet...
==> local: Running Puppet with ...
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Warning: Scope(Apt::Source[mariadb]): $required_packages is deprecated and will be removed in the next major release, please use package resources instead.
==> local: Warning: Scope(Apt::Source[nginx]): $key_source is deprecated and will be removed in the next major release, please use $key => { 'source' => http://nginx.org/keys/nginx_signing.key } instead.
==> local: Warning: Scope(Apt::Key[Add key: 7BD9BF62 from Apt::Source nginx]): $key_source is deprecated and will be removed in the next major release. Please use $source instead.
==> local: Notice: Compiled catalog for local.apistudyabroad in environment production in 7.06 seconds
==> local: Warning: Found multiple default providers for vcsrepo: bzr, cvs, dummy, git, hg, svn; using bzr
==> local: Warning: /Apt_key[Add key: 7BD9BF62 from Apt::Source nginx]: The id should be a full fingerprint (40 characters), see README.
==> local: Info: Applying configuration version '1456201406'
==> local: Notice: /Stage[main]/Swap_file/Exec[Attach swap file]/returns: executed successfully
==> local: Notice: /Stage[main]/Puphpet_mariadb/Exec[Set pidfile parent directory permissions]/returns: executed successfully
==> local: Notice: /Stage[main]/Puphpet_server/Exec[dotfiles]/returns: executed successfully
==> local: Info: Computing checksum on file /etc/timezone
==> local: Info: FileBucket got a duplicate file {md5}4f24b133ba38d8fd565168742c9aedeb
==> local: Info: /Stage[main]/Timezone/File[/etc/timezone]: Filebucketed /etc/timezone to puppet with sum 4f24b133ba38d8fd565168742c9aedeb
==> local: Notice: /Stage[main]/Timezone/File[/etc/timezone]/content: content changed '{md5}4f24b133ba38d8fd565168742c9aedeb' to '{md5}ae1d80ba85332ae2d9fbbd491b17c043'
==> local: Info: /Stage[main]/Timezone/File[/etc/timezone]: Scheduling refresh of Exec[update_timezone]
==> local: Notice: /Stage[main]/Timezone/Exec[update_timezone]: Triggered 'refresh' from 1 events
==> local: Notice: /Stage[main]/Puphpet_mariadb/Exec[apistudyabroad-import]/returns: sh: 1: cannot open /root/Desktop/apidev_development_2016-01-16.sql: No such file
==> local: Error: mysql apistudyabroad < ~/Desktop/apidev_development_2016-01-16.sql && touch /.puphpet-stuff/db-import-apistudyabroad returned 2 instead of one of [0]
==> local: Error: /Stage[main]/Puphpet_mariadb/Exec[apistudyabroad-import]/returns: change from notrun to 0 failed: mysql apistudyabroad < ~/Desktop/apidev_development_2016-01-16.sql && touch /.puphpet-stuff/db-import-apistudyabroad returned 2 instead of one of [0]
==> local: Notice: /Stage[main]/Composer/Exec[download_composer]/returns: executed successfully
==> local: Info: Computing checksum on file /etc/localtime
==> local: Info: FileBucket got a duplicate file {md5}c79354b8dbee09e62bbc3fb544853283
==> local: Info: /Stage[main]/Timezone/File[/etc/localtime]: Filebucketed /etc/localtime to puppet with sum c79354b8dbee09e62bbc3fb544853283
==> local: Notice: /Stage[main]/Timezone/File[/etc/localtime]/ensure: ensure changed 'file' to 'link'
==> local: Info: Class[Puphpet_mariadb]: Unscheduling all events on Class[Puphpet_mariadb]
==> local: Info: Stage[main]: Unscheduling all events on Stage[main]
==> local: Notice: Applied catalog in 22.69 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.
➜ vagrant-lamp-ror git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment