Skip to content

Instantly share code, notes, and snippets.

@huned
Created October 14, 2013 20:49
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 huned/6981961 to your computer and use it in GitHub Desktop.
Save huned/6981961 to your computer and use it in GitHub Desktop.
[13:33:04] huned@sscarbbrmb52w7:upper-chord-server $ bundle install && bundle exec librarian-puppet install
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.1.0)
Installing i18n (0.6.4)
Installing minitest (4.7.5)
Installing multi_json (1.7.7)
Installing atomic (1.1.10)
Installing thread_safe (0.1.1)
Installing tzinfo (0.3.37)
Installing activesupport (4.0.0)
Installing builder (3.1.4)
Installing erubis (2.7.0)
Installing rack (1.5.2)
Installing rack-test (0.6.2)
Installing actionpack (4.0.0)
Installing mime-types (1.23)
Installing polyglot (0.3.3)
Installing treetop (1.4.14)
Installing mail (2.5.4)
Installing actionmailer (4.0.0)
Installing activemodel (4.0.0)
Installing activerecord-deprecated_finders (1.0.3)
Installing arel (4.0.0)
Installing activerecord (4.0.0)
Installing activerecord-import (0.4.1)
Installing bcrypt-ruby (3.0.1)
Installing columnize (0.3.6)
Installing debugger-linecache (1.2.0)
Installing byebug (2.1.0)
Installing coffee-script-source (1.6.3)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing thor (0.18.1)
Installing railties (4.0.0)
Installing coffee-rails (4.0.0)
Installing crummy (1.7.2)
Installing facter (1.7.3)
Installing json_pure (1.8.0)
Installing hiera (1.2.1)
Installing hike (1.2.3)
Installing jbuilder (1.4.2)
Installing jquery-rails (3.0.4)
Installing json (1.8.0)
Installing kaminari (0.14.1)
Installing librarian-puppet (0.9.10)
Installing pg (0.16.0)
Installing rgen (0.6.6)
Installing puppet (3.3.1)
Using bundler (1.3.5)
Installing tilt (1.4.1)
Installing sprockets (2.10.0)
Installing sprockets-rails (2.0.0)
Installing rails (4.0.0)
Installing rails_serve_static_assets (0.0.1)
Installing rails_stdout_logging (0.0.1)
Installing rails_12factor (0.0.2)
Installing rdoc (3.12.2)
Installing sass (3.2.9)
Installing sass-rails (4.0.0)
Installing sdoc (0.3.20)
Installing temple (0.6.5)
Installing slim (2.0.0)
Installing turbolinks (1.3.0)
Installing uglifier (2.1.2)
Your bundle is complete!
It was installed into ./.bundle
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
[13:34:16] huned@sscarbbrmb52w7:upper-chord-server $ 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 => 4000 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Setting hostname...
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /uc
[default] -- /vagrant
[default] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
[default] Running provisioner: puppet...
Running Puppet with uc-server.pp...
stdin: is not a tty
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created
notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure: defined content as '{md5}256169ee61115a6b717b2844d2ea3128'
notice: /Stage[main]//Package[mc]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//Exec[apt-get update]/returns: executed successfully
notice: /Stage[main]/Nodejs/Package[nodejs]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Pin[apt.postgresql.org]/File[apt.postgresql.org.pref]/ensure: created
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Apt::Key[Add key: ACCC4CF8 from Apt::Source apt.postgresql.org]/Exec[73efb8ffe1707d88cc03be7e3d31939f47467485]/returns: executed successfully
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/File[apt.postgresql.org.list]/ensure: created
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Exec[Required packages: 'pgdg-keyring' for apt.postgresql.org]/returns: Reading package lists...
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Exec[Required packages: 'pgdg-keyring' for apt.postgresql.org]/returns: Building dependency tree...
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Exec[Required packages: 'pgdg-keyring' for apt.postgresql.org]/returns: Reading state information...
notice: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Exec[Required packages: 'pgdg-keyring' for apt.postgresql.org]/returns: E: Unable to locate package pgdg-keyring
err: /Stage[main]/Postgresql::Package_source::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Exec[Required packages: 'pgdg-keyring' for apt.postgresql.org]: Failed to call refresh: /usr/bin/apt-get -y install pgdg-keyring returned 100 instead of one of [0] at /tmp/vagrant-puppet/modules-0/apt/manifests/source.pp:66
notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Locales/File[/etc/locale.gen]/ensure: defined content as '{md5}dbf744b4259747572fcd903400f2a1e3'
notice: /Stage[main]/Locales/File[/etc/default/locale]/content: content changed '{md5}f68ab7ff90f30a1f67ce52e50d2ca57e' to '{md5}e24819fd5acc025b5b307b77bb871f65'
notice: /Stage[main]/Locales/Exec[/usr/sbin/locale-gen]: Triggered 'refresh' from 2 events
notice: /Stage[main]/Locales/Exec[/usr/sbin/update-locale]: Triggered 'refresh' from 2 events
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Package[build-essential]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Package[rake]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Package[git]/ensure: created
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Package[curl]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[ruby-build-checkout]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[ruby-build-update]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[ruby-install-2.0.0-p247]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[alternatives-ruby-2.0.0-p247]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[alternatives-gem-2.0.0-p247]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[gem-install-bundler-2.0.0-p247]/returns: executed successfully
notice: /Stage[main]/Ruby/Rubyinstall[2.0.0-p247]/Exec[alternatives-bundle-2.0.0-p247]/returns: executed successfully
notice: /Stage[main]/Postgresql::Server/Package[postgresql-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Postgresql::Config::Beforeservice/Exec[create_postgresql_conf_path]/returns: executed successfully
notice: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#include]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny access to postgresql user]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments/003_pg_hba_rule_deny access to postgresql user]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local access as postgres user]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments/001_pg_hba_rule_local access as postgres user]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments.concat]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access to all users]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments/100_pg_hba_rule_allow access to all users]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[local access to database with same name]/Concat::Fragment[pg_hba_rule_local access to database with same name]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments/002_pg_hba_rule_local access to database with same name]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments.concat.out]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf#listen_addresses]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow access to ipv6 localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.2_main_pg_hba.conf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]/ensure: created
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.2/main/pg_hba.conf]/returns: executed successfully
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/Exec[concat_/etc/postgresql/9.2/main/pg_hba.conf]: Triggered 'refresh' from 7 events
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/etc/postgresql/9.2/main/pg_hba.conf]/content: content changed '{md5}7694a77a71d01d43944f0ec2aa3fb165' to '{md5}2eea434595bca189ec14b1bd96334138'
notice: /Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba[main]/Concat[/etc/postgresql/9.2/main/pg_hba.conf]/File[/etc/postgresql/9.2/main/pg_hba.conf]/owner: owner changed 'postgres' to 'root'
notice: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Postgresql::Server/Service[postgresqld]: Triggered 'refresh' from 2 events
notice: /Stage[main]//Package[libpq-dev]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]//Postgresql::Database_user[upperchord]/Postgresql::Role[upperchord]/Postgresql_psql[CREATE ROLE "upperchord" ENCRYPTED PASSWORD 'md5c610d61c7b605a16a2d95899babf270d' LOGIN CREATEROLE CREATEDB SUPERUSER CONNECTION LIMIT -1]/command: command changed '' to 'CREATE ROLE "upperchord" ENCRYPTED PASSWORD 'md5c610d61c7b605a16a2d95899babf270d' LOGIN CREATEROLE CREATEDB SUPERUSER CONNECTION LIMIT -1'
notice: /Stage[main]//Exec[bundle_install]/returns: executed successfully
notice: /Stage[main]//Exec[init_db]/returns: executed successfully
notice: Finished catalog run in 560.02 seconds
[13:45:00] huned@sscarbbrmb52w7:upper-chord-server $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment