Closed antidiestro closed 8 years ago
Running on MacBook-Pro-de-Rene.local (OS X 10.11) under /bin/zsh, version 2d7d7e8c3e3ad4bbe99b342a28ca7f97df9ef89e (compare to master).
MacBook-Pro-de-Rene.local
/bin/zsh
/opt/boxen/repo/bin/puppet apply --group admin --confdir /tmp/boxen/puppet/conf --vardir /tmp/boxen/puppet/var --libdir /opt/boxen/repo/lib --libdir /opt/boxen/repo/.bundle/ruby/2.0.0/gems/boxen-2.8.0/lib --modulepath /opt/boxen/repo/modules:/opt/boxen/repo/shared --hiera_config /opt/boxen/repo/config/hiera.yaml --logdest /opt/boxen/repo/log/boxen.log --logdest console --no-report --detailed-exitcodes --show_diff /opt/boxen/repo/manifests
2015-11-18 18:30:26 -0300 Puppet (err): Unable to set ownership of log file 2015-11-18 18:30:34 -0300 Puppet (notice): Compiled catalog for macbook-pro-de-rene.local in environment production in 4.17 seconds 2015-11-18 18:30:36 -0300 /Stage[main]/Redis::Config/File[/Library/LaunchDaemons/dev.redis.plist]/ensure (notice): defined content as '{md5}1a0292d2fa1688270804b914c6c528f9' 2015-11-18 18:30:36 -0300 /Stage[main]/Homebrew/File[/opt/boxen/homebrew/share/man/man6]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Homebrew/File[/opt/boxen/homebrew/share/man/man4]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Redis::Config/File[/opt/boxen/config/redis]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Postgresql::Config/File[/opt/boxen/data/postgresql-9.4]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Postgresql::Config/File[/opt/boxen/log/postgresql-9.4]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Redis::Config/File[/opt/boxen/log/redis]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Homebrew/File[/opt/boxen/homebrew/share/man/man2]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Redis::Config/File[/opt/boxen/config/redis/redis.conf]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Redis::Config/Boxen::Env_script[redis]/File[/opt/boxen/env.d/70_redis.sh]/ensure (notice): created 2015-11-18 18:30:36 -0300 /Stage[main]/Boxen::Sudoers/Sudoers[launchctl]/ensure (notice): created 2015-11-18 18:30:37 -0300 /Stage[main]/Homebrew/File[/opt/boxen/homebrew/share/locale]/ensure (notice): created 2015-11-18 18:30:37 -0300 /Stage[main]/Boxen::Sudoers/Sudoers[boxen]/ensure (notice): created 2015-11-18 18:30:37 -0300 /Stage[main]/Postgresql::Config/File[/Library/LaunchDaemons/dev.postgresql.plist]/content (notice): --- /Library/LaunchDaemons/dev.postgresql.plist 2015-04-19 22:23:06.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-1llsyml 2015-11-18 18:30:37.000000000 -0300 @@ -23,9 +23,9 @@ <string>-p</string> <string>15432</string> <string>-D</string> - <string>/opt/boxen/data/postgresql-9.3</string> + <string>/opt/boxen/data/postgresql-9.4</string> <string>-r</string> - <string>/opt/boxen/log/postgresql-9.3/server.log</string> + <string>/opt/boxen/log/postgresql-9.4/server.log</string> </array> <key>RunAtLoad</key> @@ -38,12 +38,12 @@ <string>development</string> <key>WorkingDirectory</key> - <string>/opt/boxen/data/postgresql-9.3</string> + <string>/opt/boxen/data/postgresql-9.4</string> <key>StandardErrorPath</key> - <string>/opt/boxen/log/postgresql-9.3/console.log</string> + <string>/opt/boxen/log/postgresql-9.4/console.log</string> <key>StandardOutPath</key> - <string>/opt/boxen/log/postgresql-9.3/console.log</string> + <string>/opt/boxen/log/postgresql-9.4/console.log</string> </dict> </plist> 2015-11-18 18:30:37 -0300 /Stage[main]/Postgresql::Config/File[/Library/LaunchDaemons/dev.postgresql.plist]/content (notice): content changed '{md5}6048b6ddbdfeb549b169282975a0bf60' to '{md5}cf52daccfbe4ecb3f024255dc5a295b7' 2015-11-18 18:30:37 -0300 /Stage[main]/Boxen::Sudoers/Sudoers[fdesetup]/ensure (notice): created 2015-11-18 18:30:39 -0300 /Stage[main]/Pow/File[/Users/development/.powconfig]/content (notice): --- /Users/development/.powconfig 2015-04-19 22:23:07.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-2a5vlu 2015-11-18 18:30:39.000000000 -0300 @@ -5,4 +5,5 @@ export POW_HTTP_PORT=30559 export POW_DNS_PORT=30560 export POW_DST_PORT=1999 -export POW_DOMAINS=pow,xip.io +export POW_DOMAINS=pow +export POW_EXT_DOMAINS=xip.io 2015-11-18 18:30:39 -0300 /Stage[main]/Pow/File[/Users/development/.powconfig]/content (notice): content changed '{md5}e36b3477f9a424e947a727d546b5aa22' to '{md5}7f0ed5d79b3c84f664be6eaf26f96b71' 2015-11-18 18:30:39 -0300 /Stage[main]/Nodejs/Boxen::Env_script[nodejs]/File[/opt/boxen/env.d/30_nodejs.sh]/content (notice): --- /opt/boxen/env.d/30_nodejs.sh 2015-04-19 22:23:07.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-13lo1i8 2015-11-18 18:30:39.000000000 -0300 @@ -1,10 +1,16 @@ -# Configure and activate nodenv. You know, for nodes. +# Put node-build on PATH +export PATH=/opt/boxen/node-build/bin:$PATH -export NODENV_ROOT=$BOXEN_HOME/nodenv - -export PATH=$BOXEN_HOME/nodenv/bin:$PATH +# Configure NODENV_ROOT and put NODENV_ROOT/bin on PATH +export NODENV_ROOT=/opt/boxen/nodenv +export PATH=$NODENV_ROOT/bin:$PATH +# Load nodenv eval "$(nodenv init -)" -export PATH=node_modules/.bin:$PATH +export PATH=./node_modules/.bin:$PATH +# Helper for shell prompts and the like +current_node() { + echo "$(nodenv version)" +} 2015-11-18 18:30:39 -0300 /Stage[main]/Nodejs/Boxen::Env_script[nodejs]/File[/opt/boxen/env.d/30_nodejs.sh]/content (notice): content changed '{md5}aadef602d418663a3f83c3d4e3c14b72' to '{md5}73a3820724818c0ea054e4d7d6f159aa' 2015-11-18 18:30:39 -0300 /Stage[main]/Nodejs/File[/opt/nodes]/ensure (notice): created 2015-11-18 18:30:39 -0300 /Stage[main]/Android/File[/opt/boxen/env.d/android.sh]/ensure (notice): defined content as '{md5}e7455917fc4fd47ec0d7eb78b7eff7f1' 2015-11-18 18:30:39 -0300 /Stage[main]/Redis::Config/File[/opt/boxen/data/redis]/ensure (notice): created 2015-11-18 18:30:39 -0300 /Stage[main]/Nodejs::Build/File[/opt/boxen/cache/nodes]/ensure (notice): created 2015-11-18 18:30:39 -0300 /Stage[main]/Pow/File[/opt/boxen/config/nginx/sites/pow.conf]/content (notice): --- /opt/boxen/config/nginx/sites/pow.conf 2015-04-28 16:07:02.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-539w5x 2015-11-18 18:30:39.000000000 -0300 @@ -2,7 +2,6 @@ server { listen 80; server_name *.pow *.xip.io; - client_max_body_size 4g; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; 2015-11-18 18:30:39 -0300 /Stage[main]/Pow/File[/opt/boxen/config/nginx/sites/pow.conf]/content (notice): content changed '{md5}6c719445bdbc6a5da4d2514f25fd91ca' to '{md5}5c14ee743ae81f159be1504850da2e13' 2015-11-18 18:30:39 -0300 /Stage[main]/Platanus::Environment/Boxen::Env_script[platanus]/File[/opt/boxen/env.d/90_platanus.sh]/ensure (notice): created 2015-11-18 18:30:39 -0300 /Stage[main]/Java/File[/opt/boxen/bin/java]/ensure (notice): defined content as '{md5}85f152016e644eef24290b0350b5d5f5' 2015-11-18 18:30:40 -0300 /Stage[main]/Boxen::Security/Boxen::Osx_defaults[short delay for password dialog on screensaver]/Exec[osx_defaults write com.apple.screensaver:askForPasswordDelay=>5]/returns (notice): executed successfully 2015-11-18 18:30:48 -0300 /Stage[main]/Nodejs::Build/Repository[/opt/boxen/node-build]/ensure (notice): created 2015-11-18 18:31:03 -0300 /Stage[main]/Platanus::Hound/Repository[/Users/development/src/hound]/ensure (notice): created 2015-11-18 18:31:08 -0300 Puppet (warning): Repository[/opt/boxen/nodenv] tree is dirty and force is true: doing hard reset! 2015-11-18 18:31:08 -0300 /Stage[main]/Nodejs::Nodenv/Repository[/opt/boxen/nodenv]/ensure (notice): ensure changed 'update' to 'v0.3.0' 2015-11-18 18:31:23 -0300 /Stage[main]/Nodejs::Nodenv/File[/opt/boxen/nodenv/versions]/ensure (notice): ensure changed 'directory' to 'link' 2015-11-18 18:31:26 -0300 /Stage[main]/Nodejs::Nodenv/Nodejs::Nodenv::Plugin[nodenv-vars]/Repository[/opt/boxen/nodenv/plugins/nodenv-vars]/ensure (notice): ensure changed 'update' to 'ee42cd9db3f3fca2a77862ae05a410947c33ba09' 2015-11-18 18:31:32 -0300 /Stage[main]/Platanus::Hound::Ruby/File[/Users/development/.rubocop.yml]/ensure (notice): created 2015-11-18 18:31:32 -0300 /Stage[main]/Homebrew/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/cmd/brew-boxen-upgrade.rb]/ensure (notice): removed 2015-11-18 18:31:32 -0300 /Stage[main]/Nginx/Homebrew::Formula[nginx]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/nginx.rb]/content (notice): --- /opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/nginx.rb 2015-04-19 22:30:55.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-140w2mb 2015-11-18 18:31:32.000000000 -0300 @@ -2,9 +2,9 @@ class Nginx < Formula homepage 'http://nginx.org/' - url 'http://nginx.org/download/nginx-1.4.4.tar.gz' - sha1 '304d5991ccde398af2002c0da980ae240cea9356' - version '1.4.4-boxen1' + url 'http://nginx.org/download/nginx-1.6.2.tar.gz' + sha1 '1a5458bc15acf90eea16353a1dd17285cf97ec35' + version '1.6.2-boxen1' depends_on 'pcre' 2015-11-18 18:31:32 -0300 /Stage[main]/Nginx/Homebrew::Formula[nginx]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/nginx.rb]/content (notice): content changed '{md5}e88bbef9acd61edaf586047be31dd5fa' to '{md5}540943e40b4b192d8fcea16b2139a22e' 2015-11-18 18:31:32 -0300 /Stage[main]/Gcc/Homebrew::Formula[gcc5]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/gcc5.rb]/ensure (notice): defined content as '{md5}5d338ecc9c0fa82904a0655c12058650' 2015-11-18 18:31:32 -0300 /Stage[main]/Hub/Homebrew::Formula[hub]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/hub.rb]/content (notice): --- /opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/hub.rb 2015-04-19 22:30:55.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-n2xo3a 2015-11-18 18:31:32.000000000 -0300 @@ -2,19 +2,33 @@ class Hub < Formula homepage "http://hub.github.com/" - url "https://github.com/github/hub/releases/download/v2.2.0/hub-mac-amd64-2.2.0.tar.gz" - sha1 "72f7bcb8893287dcbd63ed903ddddd55d239e96a" + url "https://github.com/github/hub/archive/v2.2.1.tar.gz" + sha1 "c64e473a36aabf71ecc39395b88c6993d4e12873" + head "https://github.com/github/hub.git" + + bottle do + cellar :any + sha256 "ce82b60ae28c9d788e816276b12086b91e68c1c15b90b638fa380326e3846b66" => :yosemite + sha256 "b995e7d96af5d5ac27236fd3317b24eccb89cbb50b3c02a77c49d023d8d27334" => :mavericks + sha256 "00bfe4481c997341e41a564fa5f32abc87ca1ce735c7afede826c6d491863e81" => :mountain_lion + end + + option "without-completions", "Disable bash/zsh completions" + + depends_on "go" => :build def install + system "script/build" bin.install "hub" man1.install Dir["man/*"] + bash_completion.install "etc/hub.bash_completion.sh" zsh_completion.install "etc/hub.zsh_completion" => "_hub" end test do HOMEBREW_REPOSITORY.cd do - assert shell_output("#{bin}/hub version").split("\n").include?("hub version #{version}") + assert_equal "bin/brew", shell_output("#{bin}/hub ls-files -- bin").strip end end end 2015-11-18 18:31:32 -0300 /Stage[main]/Hub/Homebrew::Formula[hub]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/hub.rb]/content (notice): content changed '{md5}305808a88cf5c4854491a6507938c128' to '{md5}6fc24ddc518261d7234c1020297229e0' 2015-11-18 18:31:32 -0300 /Stage[main]/Postgresql::Package/Homebrew::Formula[postgresql]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/postgresql.rb]/content (notice): --- /opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/postgresql.rb 2015-04-19 22:36:05.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-1hmkbf 2015-11-18 18:31:32.000000000 -0300 @@ -1,30 +1,40 @@ -require 'formula' - class Postgresql < Formula - homepage 'http://www.postgresql.org/' - url 'http://ftp.postgresql.org/pub/source/v9.3.2/postgresql-9.3.2.tar.bz2' - sha256 '700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7' - version '9.3.2-boxen' - - option '32-bit' - option 'no-perl', 'Build without Perl support' - option 'no-tcl', 'Build without Tcl support' - option 'enable-dtrace', 'Build with DTrace support' + homepage "http://www.postgresql.org/" - depends_on 'readline' - depends_on 'ossp-uuid' => :recommended + stable do + url "http://ftp.postgresql.org/pub/source/v9.4.1/postgresql-9.4.1.tar.bz2" + sha256 "29ddb77c820095b8f52e5455e9c6c6c20cf979b0834ed1986a8857b84888c3a6" + end - conflicts_with 'postgres-xc', - :because => 'postgresql and postgres-xc install the same binaries.' + version "9.4.1-boxen2" - fails_with :clang do - build 211 - cause 'Miscompilation resulting in segfault on queries' + bottle do + revision 1 + sha1 "4b5a1f7ebe10ec5aba088459a4faa2ba7c13a691" => :yosemite + sha1 "e7844fc53d1ffef1cb809332d88b5bb777927176" => :mavericks + sha1 "a5e70e04dba89fee99bb5fb7dae74e4a849813c4" => :mountain_lion end - # Fix uuid-ossp build issues: http://archives.postgresql.org/pgsql-general/2012-07/msg00654.php - def patches - DATA + option "32-bit" + option "without-perl", "Build without Perl support" + option "without-tcl", "Build without Tcl support" + option "with-dtrace", "Build with DTrace support" + + deprecated_option "no-perl" => "without-perl" + deprecated_option "no-tcl" => "without-tcl" + deprecated_option "enable-dtrace" => "with-dtrace" + + depends_on "openssl" + depends_on "readline" + depends_on "libxml2" if MacOS.version <= :leopard # Leopard libxml is too old + depends_on :python => :optional + + conflicts_with "postgres-xc", + :because => "postgresql and postgres-xc install the same binaries." + + fails_with :clang do + build 211 + cause "Miscompilation resulting in segfault on queries" end def install @@ -38,7 +48,6 @@ --enable-thread-safety --with-bonjour --with-gssapi - --with-krb5 --with-ldap --with-openssl --with-pam @@ -46,36 +55,77 @@ --with-libxslt ] - args << "--with-ossp-uuid" if build.with? 'ossp-uuid' - args << "--with-perl" unless build.include? 'no-perl' - args << "--with-tcl" unless build.include? 'no-tcl' - args << "--enable-dtrace" if build.include? 'enable-dtrace' - - if build.with? 'ossp-uuid' - ENV.append 'CFLAGS', `uuid-config --cflags`.strip - ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip - ENV.append 'LIBS', `uuid-config --libs`.strip + args << "--with-python" if build.with? "python" + args << "--with-perl" if build.with? "perl" + + # The CLT is required to build tcl support on 10.7 and 10.8 because + # tclConfig.sh is not part of the SDK + if build.with?("tcl") && (MacOS.version >= :mavericks || MacOS::CLT.installed?) + args << "--with-tcl" + + if File.exist?("#{MacOS.sdk_path}/usr/lib/tclConfig.sh") + args << "--with-tclconfig=#{MacOS.sdk_path}/usr/lib" + end end + args << "--enable-dtrace" if build.with? "dtrace" + args << "--with-uuid=e2fs" + if build.build_32_bit? - ENV.append 'CFLAGS', "-arch #{MacOS.preferred_arch}" - ENV.append 'LDFLAGS', "-arch #{MacOS.preferred_arch}" + ENV.append %w{CFLAGS LDFLAGS}, "-arch #{Hardware::CPU.arch_32_bit}" end system "./configure", *args - system "make install-world" + system "make", "install-world" end -end -__END__ ---- a/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:34:53.000000000 -0700 -+++ b/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:35:03.000000000 -0700 -@@ -9,6 +9,8 @@ - *------------------------------------------------------------------------- - */ - -+#define _XOPEN_SOURCE -+ - #include "postgres.h" - #include "fmgr.h" - #include "utils/builtins.h" + def post_install + unless File.exist? "#{var}/postgres" + system "#{bin}/initdb", "#{var}/postgres" + end + end + + def caveats; <<-EOS.undent + If builds of PostgreSQL 9 are failing and you have version 8.x installed, + you may need to remove the previous version first. See: + https://github.com/Homebrew/homebrew/issues/2510 + + To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see: + http://www.postgresql.org/docs/9.4/static/upgrading.html + EOS + end + + plist_options :manual => "postgres -D #{HOMEBREW_PREFIX}/var/postgres" + + def plist; <<-EOS.undent + <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> + <plist version="1.0"> + <dict> + <key>KeepAlive</key> + <true/> + <key>Label</key> + <string>#{plist_name}</string> + <key>ProgramArguments</key> + <array> + <string>#{opt_bin}/postgres</string> + <string>-D</string> + <string>#{var}/postgres</string> + <string>-r</string> + <string>#{var}/postgres/server.log</string> + </array> + <key>RunAtLoad</key> + <true/> + <key>WorkingDirectory</key> + <string>#{HOMEBREW_PREFIX}</string> + <key>StandardErrorPath</key> + <string>#{var}/postgres/server.log</string> + </dict> + </plist> + EOS + end + + test do + system "#{bin}/initdb", testpath/"test" + end +end 2015-11-18 18:31:32 -0300 /Stage[main]/Postgresql::Package/Homebrew::Formula[postgresql]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/postgresql.rb]/content (notice): content changed '{md5}d899cb139a29ed529031169fd00df49c' to '{md5}be8545d2aa917f466cdd560ff2219258' 2015-11-18 18:31:32 -0300 /Stage[main]/Elasticsearch::Package/Homebrew::Formula[elasticsearch]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/elasticsearch.rb]/ensure (notice): defined content as '{md5}d0f11d749e438a521d4d28c42c0b4f77' 2015-11-18 18:31:32 -0300 /Stage[main]/Mysql::Package/Homebrew::Formula[mysql]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/mysql.rb]/content (notice): --- /opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/mysql.rb 2015-04-19 22:36:20.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-12sm2sr 2015-11-18 18:31:32.000000000 -0300 @@ -1,116 +1,183 @@ -require 'formula' - class Mysql < Formula - homepage 'http://dev.mysql.com/doc/refman/5.6/en/' - url 'http://cdn.mysql.com/archives/mysql-5.6/mysql-5.6.20.tar.gz' - sha1 '10f9ed2bbf3fbf227b799f1c7af3a0c7f7cf4d95' - version '5.6.20-boxen1' - - bottle do - sha1 "c6b5653348bcfa889ed6bc347841cecbc96389af" => :mavericks - sha1 "f7562a4366c1732b90388a41b1356c9f0fa1aa19" => :mountain_lion - sha1 "e2107ccb1461920bb5cfb7192b37dc91ed50ca94" => :lion + homepage "https://dev.mysql.com/doc/refman/5.6/en/" + url "https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.23.tar.gz" + sha1 "2d610ba01ab97df042d5946ba0da411da5547c5d" + + # Fixes compilation with OpenSSL 1.0.2 + # https://bugs.mysql.com/bug.php?id=75623 + patch do + url "https://github.com/mysql/mysql-server/pull/3.diff" + sha1 "6b17a31ee32e373dca0f257f7c7884ac6dcf8e1f" end - depends_on 'cmake' => :build - depends_on 'pidof' unless MacOS.version >= :mountain_lion - option :universal - option 'with-tests', 'Build with unit tests' - option 'with-embedded', 'Build the embedded server' - option 'with-libedit', 'Compile with editline wrapper instead of readline' - option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled' - option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled' - option 'enable-local-infile', 'Build with local infile loading support' - option 'enable-memcached', 'Enable innodb-memcached support' - option 'enable-debug', 'Build with debug support' - - conflicts_with 'mariadb', - :because => "mysql and mariadb install the same binaries." - - conflicts_with 'percona-server', - :because => "mysql and percona-server install the same binaries." - - conflicts_with 'mysql-cluster', - :because => "mysql and mysql-cluster install the same binaries." - - env :std if build.universal? + option "with-tests", "Build with unit tests" + option "with-embedded", "Build the embedded server" + option "with-archive-storage-engine", "Compile with the ARCHIVE storage engine enabled" + option "with-blackhole-storage-engine", "Compile with the BLACKHOLE storage engine enabled" + option "with-local-infile", "Build with local infile loading support" + option "with-memcached", "Enable innodb-memcached support" + option "with-debug", "Build with debug support" + + deprecated_option "enable-local-infile" => "with-local-infile" + deprecated_option "enable-memcached" => "with-memcached" + deprecated_option "enable-debug" => "with-debug" + + depends_on "cmake" => :build + depends_on "pidof" unless MacOS.version >= :mountain_lion + depends_on "openssl" + + conflicts_with "mysql-cluster", "mariadb", "percona-server", + :because => "mysql, mariadb, and percona install the same binaries." + conflicts_with "mysql-connector-c", + :because => "both install MySQL client libraries" fails_with :llvm do build 2326 - cause "https://github.com/mxcl/homebrew/issues/issue/144" + cause "https://github.com/Homebrew/homebrew/issues/issue/144" + end + + def datadir + Pathname.new "/opt/boxen/data/mysql" end def install + # Don't hard-code the libtool path. See: + # https://github.com/Homebrew/homebrew/issues/20185 + inreplace "cmake/libutils.cmake", + "COMMAND /usr/bin/libtool -static -o ${TARGET_LOCATION}", + "COMMAND libtool -static -o ${TARGET_LOCATION}" + # Build without compiler or CPU specific optimization flags to facilitate # compilation of gems and other software that queries `mysql-config`. ENV.minimal_optimization - args = [".", - "-DCMAKE_INSTALL_PREFIX=#{prefix}", - "-DMYSQL_DATADIR=/opt/boxen/data/mysql", - "-DINSTALL_MANDIR=#{man}", - "-DINSTALL_DOCDIR=#{doc}", - "-DINSTALL_INFODIR=#{info}", - # CMake prepends prefix, so use share.basename - "-DINSTALL_MYSQLSHAREDIR=#{share.basename}/#{name}", - "-DWITH_SSL=yes", - "-DDEFAULT_CHARSET=utf8", - "-DDEFAULT_COLLATION=utf8_general_ci", - "-DSYSCONFDIR=#{etc}"] + # -DINSTALL_* are relative to prefix + args = %W[ + . + -DCMAKE_INSTALL_PREFIX=#{prefix} + -DCMAKE_FIND_FRAMEWORK=LAST + -DCMAKE_VERBOSE_MAKEFILE=ON + -DMYSQL_DATADIR=#{datadir} + -DINSTALL_INCLUDEDIR=include/mysql + -DINSTALL_MANDIR=share/man + -DINSTALL_DOCDIR=share/doc/#{name} + -DINSTALL_INFODIR=share/info + -DINSTALL_MYSQLSHAREDIR=share/mysql + -DWITH_SSL=yes + -DWITH_SSL=system + -DDEFAULT_CHARSET=utf8 + -DDEFAULT_COLLATION=utf8_general_ci + -DSYSCONFDIR=#{etc} + -DCOMPILATION_COMMENT=Homebrew + -DWITH_EDITLINE=system + ] # To enable unit testing at build, we need to download the unit testing suite - if build.include? 'with-tests' + if build.with? "tests" args << "-DENABLE_DOWNLOADS=ON" else args << "-DWITH_UNIT_TESTS=OFF" end # Build the embedded server - args << "-DWITH_EMBEDDED_SERVER=ON" if build.include? 'with-embedded' - - # Compile with readline unless libedit is explicitly chosen - args << "-DWITH_READLINE=yes" unless build.include? 'with-libedit' + args << "-DWITH_EMBEDDED_SERVER=ON" if build.with? "embedded" # Compile with ARCHIVE engine enabled if chosen - args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1" if build.include? 'with-archive-storage-engine' + args << "-DWITH_ARCHIVE_STORAGE_ENGINE=1" if build.with? "archive-storage-engine" # Compile with BLACKHOLE engine enabled if chosen - args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if build.include? 'with-blackhole-storage-engine' + args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if build.with? "blackhole-storage-engine" # Make universal for binding to universal applications - args << "-DCMAKE_OSX_ARCHITECTURES='i386;x86_64'" if build.universal? + if build.universal? + ENV.universal_binary + args << "-DCMAKE_OSX_ARCHITECTURES=#{Hardware::CPU.universal_archs.as_cmake_arch_flags}" + end # Build with local infile loading support - args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile' + args << "-DENABLED_LOCAL_INFILE=1" if build.with? "local-infile" # Build with memcached support - args << "-DWITH_INNODB_MEMCACHED=1" if build.include? 'enable-memcached' + args << "-DWITH_INNODB_MEMCACHED=1" if build.with? "memcached" # Build with debug support - args << "-DWITH_DEBUG=1" if build.include? 'enable-debug' + args << "-DWITH_DEBUG=1" if build.with? "debug" system "cmake", *args system "make" - system "make install" + system "make", "install" # Don't create databases inside of the prefix! - # See: https://github.com/mxcl/homebrew/issues/4975 - rm_rf prefix+'data' + # See: https://github.com/Homebrew/homebrew/issues/4975 + rm_rf prefix+"data" # Link the setup script into bin - ln_s prefix+'scripts/mysql_install_db', bin+'mysql_install_db' + bin.install_symlink prefix/"scripts/mysql_install_db" + # Fix up the control script and link into bin inreplace "#{prefix}/support-files/mysql.server" do |s| s.gsub!(/^(PATH=".*)(")/, "\\1:#{HOMEBREW_PREFIX}/bin\\2") # pidof can be replaced with pgrep from proctools on Mountain Lion - s.gsub!(/pidof/, 'pgrep') if MacOS.version >= :mountain_lion + s.gsub!(/pidof/, "pgrep") if MacOS.version >= :mountain_lion end - ln_s "#{prefix}/support-files/mysql.server", bin + + bin.install_symlink prefix/"support-files/mysql.server" # Move mysqlaccess to libexec + libexec.mkpath mv "#{bin}/mysqlaccess", libexec mv "#{bin}/mysqlaccess.conf", libexec end + def post_install + # Make sure the datadir exists + datadir.mkpath + unless File.exist? "#{datadir}/mysql/user.frm" + ENV["TMPDIR"] = nil + system "#{bin}/mysql_install_db", "--verbose", "--user=#{ENV["USER"]}", + "--basedir=#{prefix}", "--datadir=#{datadir}", "--tmpdir=/tmp" + end + end + + def caveats; <<-EOS.undent + A "/etc/my.cnf" from another install may interfere with a Homebrew-built + server starting up correctly. + + To connect: + mysql -uroot + EOS + end + + plist_options :manual => "mysql.server start" + + def plist; <<-EOS.undent + <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> + <plist version="1.0"> + <dict> + <key>KeepAlive</key> + <true/> + <key>Label</key> + <string>#{plist_name}</string> + <key>ProgramArguments</key> + <array> + <string>#{opt_bin}/mysqld_safe</string> + <string>--bind-address=127.0.0.1</string> + <string>--datadir=#{datadir}</string> + </array> + <key>RunAtLoad</key> + <true/> + <key>WorkingDirectory</key> + <string>#{datadir}</string> + </dict> + </plist> + EOS + end + + test do + (prefix+"mysql-test").cd do + system "./mysql-test-run.pl", "status" + end + end end 2015-11-18 18:31:32 -0300 /Stage[main]/Mysql::Package/Homebrew::Formula[mysql]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/mysql.rb]/content (notice): content changed '{md5}d741241a27c2fc688b4906c3717a3526' to '{md5}8d5b6983dc309e2213dfb80156bf713c' 2015-11-18 18:31:32 -0300 /Stage[main]/Android::Sdk/Homebrew::Formula[android-sdk]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/android-sdk.rb]/ensure (notice): defined content as '{md5}6212d970c7ff8c80c5c6cbd9bb0944c1' 2015-11-18 18:31:32 -0300 /Stage[main]/Redis::Package/Homebrew::Formula[redis]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/redis.rb]/ensure (notice): defined content as '{md5}474d4b6861e21070246fc8931c4baaea' 2015-11-18 18:31:32 -0300 /Stage[main]/Git/Homebrew::Formula[git]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/git.rb]/content (notice): --- /opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/git.rb 2015-04-19 22:36:20.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-nyi4gx 2015-11-18 18:31:32.000000000 -0300 @@ -1,24 +1,26 @@ class Git < Formula - homepage "http://git-scm.com" - url "https://www.kernel.org/pub/software/scm/git/git-2.3.0.tar.gz" - sha256 "ba2fe814e709a5d0f034ebe82083fce7feed0899b3a8c8b3adf1c5a85d1ce9ac" + desc "Distributed revision control system" + homepage "https://git-scm.com" + url "https://www.kernel.org/pub/software/scm/git/git-2.4.3.tar.xz" + sha256 "f05007a9d1ef28c3d84091ddf7ce5d29c2df2272f34b4dd8b24e09274280d814" head "https://github.com/git/git.git", :shallow => false bottle do - sha1 "53177456ab367faa30e1d49104e8e2c065ac5613" => :yosemite - sha1 "549b0d4155ad0ca02edb0a55599006da32b21e00" => :mavericks - sha1 "78f9b2bfcdfe7e7d356cc4020df4ec41217f6e25" => :mountain_lion + revision 1 + sha256 "452c896f29ac78004482cf5a0de63aab0e393d8f0b24b094fef0147ad94e91cc" => :yosemite + sha256 "9bf5b62541989ba6a79705c37b317d5561d4ee44808c70dd3906f8697a6bde10" => :mavericks + sha256 "43aa19fb41413aef74d9d20913ac307079c5b1fbd486358986ff48eb4614aa96" => :mountain_lion end resource "man" do - url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.3.0.tar.gz" - sha256 "8aa4d1e5d7bbf5641a9de92279369d9b20cc266ba7b2888104efa40e80b53559" + url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.4.3.tar.xz" + sha256 "91e1a9cb4a35c141bd875063fedc0409ecb676e828204afabc75c3b4c7b844cc" end resource "html" do - url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.3.0.tar.gz" - sha256 "f8edf1547d3fd4e7e820dd2fad1b92eaae6335c993c26e4b03989ea3941d8441" + url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.4.3.tar.xz" + sha256 "5a6f6ef9c992eef29b62d8e963ba508583b917f14a374e0fbba3fe50a44c111a" end option "with-blk-sha1", "Compile with the block-optimized SHA1 implementation" @@ -52,13 +54,13 @@ perl_version = /\d\.\d+/.match(`perl --version`) if build.with? "brewed-svn" - ENV["PERLLIB_EXTRA"] = "#{Formula["subversion"].prefix}/Library/Perl/#{perl_version}/darwin-thread-multi-2level" + ENV["PERLLIB_EXTRA"] = "#{Formula["subversion"].opt_prefix}/Library/Perl/#{perl_version}/darwin-thread-multi-2level" elsif MacOS.version >= :mavericks - ENV["PERLLIB_EXTRA"] = %W{ + ENV["PERLLIB_EXTRA"] = %W[ #{MacOS.active_developer_dir} /Library/Developer/CommandLineTools /Applications/Xcode.app/Contents/Developer - }.uniq.map { |p| + ].uniq.map { |p| "#{p}/Library/Perl/#{perl_version}/darwin-thread-multi-2level" }.join(":") end @@ -76,14 +78,16 @@ ENV["NO_GETTEXT"] = "1" if build.without? "gettext" - ENV["GIT_DIR"] = cached_download/".git" if build.head? + args = %W[ + prefix=#{prefix} + sysconfdir=#{etc} + CC=#{ENV.cc} + CFLAGS=#{ENV.cflags} + LDFLAGS=#{ENV.ldflags} + ] + args << "NO_OPENSSL=1" << "APPLE_COMMON_CRYPTO=1" if build.without? "brewed-openssl" - system "make", "prefix=#{prefix}", - "sysconfdir=#{etc}", - "CC=#{ENV.cc}", - "CFLAGS=#{ENV.cflags}", - "LDFLAGS=#{ENV.ldflags}", - "install" + system "make", "install", *args # Install the OS X keychain credential helper cd "contrib/credential/osxkeychain" do 2015-11-18 18:31:32 -0300 /Stage[main]/Git/Homebrew::Formula[git]/File[/opt/boxen/homebrew/Library/Taps/boxen/homebrew-brews/git.rb]/content (notice): content changed '{md5}229b6f5bdae306a19883e3ca5b83fab5' to '{md5}234685cf555e88339ed4c872e648f82c' 2015-11-18 18:33:04 -0300 /Stage[main]/Homebrew::Repo/Homebrew_repo[/opt/boxen/homebrew]/min_revision (notice): min_revision changed '5f37a635e6ca61b1f14909cb35af4dfc0d3c3fae' to 'e90b6e9ded2fd2c73a4e0d93f5dbc5b075a61b7c' 2015-11-18 18:33:04 -0300 Package[boxen/brews/elasticsearch](provider=homebrew) (notice): Updating homebrew formulas 2015-11-18 18:34:13 -0300 /Stage[main]/Elasticsearch::Package/Package[boxen/brews/elasticsearch]/ensure (notice): created 2015-11-18 18:40:06 -0300 /Stage[main]/Mysql::Package/Package[boxen/brews/mysql]/ensure (notice): ensure changed '5.6.20-boxen1' to '5.6.23' 2015-11-18 19:34:03 -0300 /Stage[main]/Gcc/Package[boxen/brews/gcc5]/ensure (notice): created 2015-11-18 19:34:06 -0300 Puppet (err): Execution of 'brew boxen-install phantomjs' returned 1: phantomjs: This formula either does not compile or function as expected on OS X versions newer than Yosemite due to an upstream incompatibility. Error: An unsatisfied requirement failed this build. 2015-11-18 19:34:06 -0300 /Stage[main]/Boxen::Personal/Package[phantomjs]/ensure (err): change from absent to present failed: Execution of 'brew boxen-install phantomjs' returned 1: phantomjs: This formula either does not compile or function as expected on OS X versions newer than Yosemite due to an upstream incompatibility. Error: An unsatisfied requirement failed this build. 2015-11-18 19:34:58 -0300 Puppet (err): Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx from boxen/homebrew-brews ==> Installing dependencies for boxen/brews/nginx: pcre ==> Installing boxen/brews/nginx dependency: pcre ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/pcre-8.37.tar.bz2 1.1% # 2.4% ## 4.1% #### 5.9% ##### 8.1% ####### 10.5% ######### 13.5% ############ 17.1% ############### 21.7% #################### 27.8% ######################### 35.2% ############################## 42.9% ################################ 44.8% ######################################## 56.1% ################################################## 69.8% ############################################################# 85.1% ##################################################################### 96.9% ######################################################################## 100.0% ==> Boxen: Pouring pcre-8.37.tar.bz2 to /opt/boxen/homebrew/Cellar/pcre/8.37 🍺 /opt/boxen/homebrew/Cellar/pcre/8.37: 146 files, 5.9M ==> Installing boxen/brews/nginx ==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz ==> ./configure --prefix=/opt/boxen/homebrew/Cellar/nginx/1.6.2-boxen1 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt='-I/opt/boxen/homebrew/include' --with-ld-opt='-L/opt/boxen/homebrew/lib' --conf-path=/opt/boxen/config/nginx/nginx.conf --pid-path=/opt/boxen/data/nginx/nginx.pid --lock-path=/opt/boxen/data/nginx/nginx.lock Last 15 lines from /Users/development/Library/Logs/Homebrew/nginx/01.configure: checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE library ... found checking for PCRE JIT support ... found checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-openssl=<path> option. READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/boxen/homebrew-brews/issues Wrapped exception: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx from boxen/homebrew-brews ==> Installing dependencies for boxen/brews/nginx: pcre ==> Installing boxen/brews/nginx dependency: pcre ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/pcre-8.37.tar.bz2 1.1% # 2.4% ## 4.1% #### 5.9% ##### 8.1% ####### 10.5% ######### 13.5% ############ 17.1% ############### 21.7% #################### 27.8% ######################### 35.2% ############################## 42.9% ################################ 44.8% ######################################## 56.1% ################################################## 69.8% ############################################################# 85.1% ##################################################################### 96.9% ######################################################################## 100.0% ==> Boxen: Pouring pcre-8.37.tar.bz2 to /opt/boxen/homebrew/Cellar/pcre/8.37 🍺 /opt/boxen/homebrew/Cellar/pcre/8.37: 146 files, 5.9M ==> Installing boxen/brews/nginx ==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz ==> ./configure --prefix=/opt/boxen/homebrew/Cellar/nginx/1.6.2-boxen1 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt='-I/opt/boxen/homebrew/include' --with-ld-opt='-L/opt/boxen/homebrew/lib' --conf-path=/opt/boxen/config/nginx/nginx.conf --pid-path=/opt/boxen/data/nginx/nginx.pid --lock-path=/opt/boxen/data/nginx/nginx.lock Last 15 lines from /Users/development/Library/Logs/Homebrew/nginx/01.configure: checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE library ... found checking for PCRE JIT support ... found checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-openssl=<path> option. READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/boxen/homebrew-brews/issues 2015-11-18 19:34:58 -0300 /Stage[main]/Nginx/Package[boxen/brews/nginx]/ensure (err): change from 1.4.4-boxen1 to 1.6.2-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx from boxen/homebrew-brews ==> Installing dependencies for boxen/brews/nginx: pcre ==> Installing boxen/brews/nginx dependency: pcre ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/pcre-8.37.tar.bz2 1.1% # 2.4% ## 4.1% #### 5.9% ##### 8.1% ####### 10.5% ######### 13.5% ############ 17.1% ############### 21.7% #################### 27.8% ######################### 35.2% ############################## 42.9% ################################ 44.8% ######################################## 56.1% ################################################## 69.8% ############################################################# 85.1% ##################################################################### 96.9% ######################################################################## 100.0% ==> Boxen: Pouring pcre-8.37.tar.bz2 to /opt/boxen/homebrew/Cellar/pcre/8.37 🍺 /opt/boxen/homebrew/Cellar/pcre/8.37: 146 files, 5.9M ==> Installing boxen/brews/nginx ==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz ==> ./configure --prefix=/opt/boxen/homebrew/Cellar/nginx/1.6.2-boxen1 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt='-I/opt/boxen/homebrew/include' --with-ld-opt='-L/opt/boxen/homebrew/lib' --conf-path=/opt/boxen/config/nginx/nginx.conf --pid-path=/opt/boxen/data/nginx/nginx.pid --lock-path=/opt/boxen/data/nginx/nginx.lock Last 15 lines from /Users/development/Library/Logs/Homebrew/nginx/01.configure: checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE library ... found checking for PCRE JIT support ... found checking for OpenSSL library ... not found ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-openssl=<path> option. READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/boxen/homebrew-brews/issues 2015-11-18 19:34:58 -0300 /Stage[main]/Nginx/Service[dev.nginx] (notice): Dependency Package[boxen/brews/nginx] has failures: true 2015-11-18 19:34:58 -0300 /Stage[main]/Nginx/Service[dev.nginx] (warning): Skipping because of failed dependencies 2015-11-18 19:34:58 -0300 /Stage[main]/Nginx/Service[dev.nginx] (notice): Triggered 'refresh' from 1 events 2015-11-18 19:35:12 -0300 /Stage[main]/Boxen::Personal/Package[sequel-pro]/ensure (notice): created 2015-11-18 19:35:12 -0300 /Stage[main]/Nginx/File[/opt/boxen/homebrew/etc/nginx] (notice): Dependency Package[boxen/brews/nginx] has failures: true 2015-11-18 19:35:12 -0300 /Stage[main]/Nginx/File[/opt/boxen/homebrew/etc/nginx] (warning): Skipping because of failed dependencies 2015-11-18 19:36:14 -0300 /Stage[main]/Git/Package[boxen/brews/git]/ensure (notice): ensure changed '2.3.0' to '2.4.3' 2015-11-18 19:36:29 -0300 /Stage[main]/Boxen::Personal/Package[slack]/ensure (notice): created 2015-11-18 19:36:29 -0300 /Stage[main]/Pow/Service[dev.pow.powd]/ensure (notice): ensure changed 'stopped' to 'running' 2015-11-18 19:36:57 -0300 /Stage[main]/Nodejs::Global/Nodejs::Version[4.1]/Nodejs::Alias[4.1]/Nodejs::Version[4.1.1]/Nodejs[4.1.1]/ensure (notice): created 2015-11-18 19:36:57 -0300 /Stage[main]/Nodejs::Global/Nodejs::Version[4.1]/Nodejs::Alias[4.1]/File[/opt/nodes/4.1]/ensure (notice): created 2015-11-18 19:38:19 -0300 /Stage[main]/Stacks::Ruby/Ruby_gem[bundler for all rubies]/ensure (notice): created 2015-11-18 19:43:10 -0300 /Stage[main]/Platanus::Hound::Ruby/Ruby_gem[rubocop for all rubies]/ensure (notice): created 2015-11-18 19:43:57 -0300 /Stage[main]/Stacks::Node/Nodejs::Version[0.12]/Nodejs::Alias[0.12]/Nodejs::Version[0.12.2]/Nodejs[0.12.2]/ensure (notice): created 2015-11-18 19:43:57 -0300 /Stage[main]/Stacks::Node/Nodejs::Version[0.12]/Nodejs::Alias[0.12]/File[/opt/nodes/0.12]/ensure (notice): created 2015-11-18 20:05:55 -0300 /Stage[main]/Boxen::Personal/Package[postgis]/ensure (notice): created 2015-11-18 20:05:55 -0300 /Stage[main]/Nodejs::Global/File[/opt/boxen/nodenv/version]/content (notice): --- /opt/boxen/nodenv/version 2015-04-19 22:23:11.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-ixatub 2015-11-18 20:05:55.000000000 -0300 @@ -1 +1 @@ -0.10 +4.1 2015-11-18 20:05:55 -0300 /Stage[main]/Nodejs::Global/File[/opt/boxen/nodenv/version]/content (notice): content changed '{md5}4451fb05545c67c7e22238cfde06ae4d' to '{md5}2f4e88497de94e50ad4d210e4634e655' 2015-11-18 20:05:59 -0300 /Stage[main]/Redis::Package/Package[boxen/brews/redis]/ensure (notice): ensure changed '3.0.0' to '2.8.6-boxen1' 2015-11-18 20:05:59 -0300 /Stage[main]/Redis::Package/File[/opt/boxen/homebrew/var/db/redis]/ensure (notice): removed 2015-11-18 20:05:59 -0300 /Stage[main]/Redis::Package/File[/opt/boxen/homebrew/etc/redis.conf]/ensure (notice): removed 2015-11-18 20:05:59 -0300 /Stage[main]/Redis::Service/Service[com.boxen.redis] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:05:59 -0300 /Stage[main]/Redis::Service/Service[dev.redis]/ensure (notice): ensure changed 'stopped' to 'running' 2015-11-18 20:07:17 -0300 /Stage[main]/Android::Studio/Package[Android Studio]/ensure (notice): created 2015-11-18 20:07:17 -0300 /Stage[main]/Elasticsearch::Config/File[/opt/boxen/config/elasticsearch]/ensure (notice): created 2015-11-18 20:07:17 -0300 /Stage[main]/Elasticsearch::Config/File[/opt/boxen/data/elasticsearch]/ensure (notice): created 2015-11-18 20:07:17 -0300 /Stage[main]/Elasticsearch::Config/File[/Library/LaunchDaemons/dev.elasticsearch.plist]/ensure (notice): created 2015-11-18 20:07:17 -0300 /Stage[main]/Elasticsearch::Config/Boxen::Env_script[elasticsearch]/File[/opt/boxen/env.d/70_elasticsearch.sh]/ensure (notice): created 2015-11-18 20:07:17 -0300 /Stage[main]/Elasticsearch::Config/File[/opt/boxen/config/elasticsearch/elasticsearch.yml]/ensure (notice): created 2015-11-18 20:07:41 -0300 Puppet (err): Could not update: Execution of 'brew boxen-install boxen/brews/postgresql' returned 1: ==> Installing postgresql from boxen/homebrew-brews ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/postgresql-9.4.1-boxen2.tar.bz2 0.0% 0.5% 1.1% # 1.6% # 2.2% # 2.7% ## 3.2% ## 3.8% ### 4.3% ### 4.9% ### 5.3% ### 5.5% #### 6.1% #### 6.6% ##### 7.2% ##### 7.6% ##### 8.2% ###### 8.8% ###### 9.3% ####### 9.8% ####### 10.3% ####### 10.9% ######## 11.4% ######## 12.0% ######## 12.5% ######### 13.0% ######### 13.6% ########## 14.1% ########## 14.7% ########## 15.2% ########### 15.8% ########### 16.3% ############ 16.8% ############ 17.4% ############ 17.9% ############# 18.5% ############# 19.0% ############## 19.6% ############## 20.1% ############## 20.7% ############### 21.2% ############### 21.7% ################ 22.3% ################ 22.8% ################ 23.4% ################# 23.9% ################# 24.5% ################## 25.0% ################## 25.6% ################## 26.1% ################### 26.6% ################### 27.2% ################### 27.7% #################### 28.3% #################### 28.8% ##################### 29.4% ##################### 29.9% ##################### 30.5% ###################### 31.1% ###################### 31.8% ####################### 32.6% ######################## 33.5% ######################## 34.3% ######################### 35.3% ########################## 36.4% ########################### 37.5% ########################### 38.6% ############################ 39.9% ############################# 41.3% ############################## 43.0% ################################ 44.6% ################################# 46.2% ################################## 47.9% ################################### 49.5% #################################### 51.1% ##################################### 52.8% ####################################### 54.4% ####################################### 54.9% ######################################## 56.6% ######################################### 58.2% ########################################### 60.4% ############################################ 61.5% ############################################# 63.1% ############################################## 65.3% ################################################ 66.9% ################################################# 69.1% ################################################## 70.7% #################################################### 72.9% ##################################################### 74.8% ###################################################### 76.2% ######################################################## 78.3% ########################################################## 80.8% ########################################################### 82.1% ############################################################ 83.8% ############################################################# 86.0% ############################################################### 87.6% ################################################################ 89.4% ################################################################# 91.6% ################################################################## 93.0% #################################################################### 95.3% ###################################################################### 97.7% ####################################################################### 99.5% ######################################################################## 100.0% ==> Boxen: Pouring postgresql-9.4.1-boxen2.tar.bz2 to /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2 Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /opt/boxen/homebrew Could not symlink share/postgresql/extension/postgis.control Target /opt/boxen/homebrew/share/postgresql/extension/postgis.control is a symlink belonging to postgis. You can unlink it: brew unlink postgis To force the link and overwrite all conflicting files: brew link --overwrite postgresql To list all files that would be deleted: brew link --overwrite --dry-run postgresql Possible conflicting files are: /opt/boxen/homebrew/share/postgresql/extension/postgis.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis.control /opt/boxen/homebrew/share/postgresql/extension/postgis_tiger_geocoder.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_tiger_geocoder.control /opt/boxen/homebrew/share/postgresql/extension/postgis_topology.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_topology.control ==> Caveats If builds of PostgreSQL 9 are failing and you have version 8.x installed, you may need to remove the previous version first. See: https://github.com/Homebrew/homebrew/issues/2510 To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see: http://www.postgresql.org/docs/9.4/static/upgrading.html To have launchd start boxen/brews/postgresql at login: ln -sfv /opt/boxen/homebrew/opt/postgresql/*.plist ~/Library/LaunchAgents Then to load boxen/brews/postgresql now: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist Or, if you don't want/need launchctl, you can just run: postgres -D /opt/boxen/homebrew/var/postgres ==> Summary 🍺 /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2: 3064 files, 80M Wrapped exception: Execution of 'brew boxen-install boxen/brews/postgresql' returned 1: ==> Installing postgresql from boxen/homebrew-brews ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/postgresql-9.4.1-boxen2.tar.bz2 0.0% 0.5% 1.1% # 1.6% # 2.2% # 2.7% ## 3.2% ## 3.8% ### 4.3% ### 4.9% ### 5.3% ### 5.5% #### 6.1% #### 6.6% ##### 7.2% ##### 7.6% ##### 8.2% ###### 8.8% ###### 9.3% ####### 9.8% ####### 10.3% ####### 10.9% ######## 11.4% ######## 12.0% ######## 12.5% ######### 13.0% ######### 13.6% ########## 14.1% ########## 14.7% ########## 15.2% ########### 15.8% ########### 16.3% ############ 16.8% ############ 17.4% ############ 17.9% ############# 18.5% ############# 19.0% ############## 19.6% ############## 20.1% ############## 20.7% ############### 21.2% ############### 21.7% ################ 22.3% ################ 22.8% ################ 23.4% ################# 23.9% ################# 24.5% ################## 25.0% ################## 25.6% ################## 26.1% ################### 26.6% ################### 27.2% ################### 27.7% #################### 28.3% #################### 28.8% ##################### 29.4% ##################### 29.9% ##################### 30.5% ###################### 31.1% ###################### 31.8% ####################### 32.6% ######################## 33.5% ######################## 34.3% ######################### 35.3% ########################## 36.4% ########################### 37.5% ########################### 38.6% ############################ 39.9% ############################# 41.3% ############################## 43.0% ################################ 44.6% ################################# 46.2% ################################## 47.9% ################################### 49.5% #################################### 51.1% ##################################### 52.8% ####################################### 54.4% ####################################### 54.9% ######################################## 56.6% ######################################### 58.2% ########################################### 60.4% ############################################ 61.5% ############################################# 63.1% ############################################## 65.3% ################################################ 66.9% ################################################# 69.1% ################################################## 70.7% #################################################### 72.9% ##################################################### 74.8% ###################################################### 76.2% ######################################################## 78.3% ########################################################## 80.8% ########################################################### 82.1% ############################################################ 83.8% ############################################################# 86.0% ############################################################### 87.6% ################################################################ 89.4% ################################################################# 91.6% ################################################################## 93.0% #################################################################### 95.3% ###################################################################### 97.7% ####################################################################### 99.5% ######################################################################## 100.0% ==> Boxen: Pouring postgresql-9.4.1-boxen2.tar.bz2 to /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2 Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /opt/boxen/homebrew Could not symlink share/postgresql/extension/postgis.control Target /opt/boxen/homebrew/share/postgresql/extension/postgis.control is a symlink belonging to postgis. You can unlink it: brew unlink postgis To force the link and overwrite all conflicting files: brew link --overwrite postgresql To list all files that would be deleted: brew link --overwrite --dry-run postgresql Possible conflicting files are: /opt/boxen/homebrew/share/postgresql/extension/postgis.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis.control /opt/boxen/homebrew/share/postgresql/extension/postgis_tiger_geocoder.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_tiger_geocoder.control /opt/boxen/homebrew/share/postgresql/extension/postgis_topology.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_topology.control ==> Caveats If builds of PostgreSQL 9 are failing and you have version 8.x installed, you may need to remove the previous version first. See: https://github.com/Homebrew/homebrew/issues/2510 To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see: http://www.postgresql.org/docs/9.4/static/upgrading.html To have launchd start boxen/brews/postgresql at login: ln -sfv /opt/boxen/homebrew/opt/postgresql/*.plist ~/Library/LaunchAgents Then to load boxen/brews/postgresql now: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist Or, if you don't want/need launchctl, you can just run: postgres -D /opt/boxen/homebrew/var/postgres ==> Summary 🍺 /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2: 3064 files, 80M 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Package/Package[boxen/brews/postgresql]/ensure (err): change from 9.4.5_2 to 9.4.1-boxen2 failed: Could not update: Execution of 'brew boxen-install boxen/brews/postgresql' returned 1: ==> Installing postgresql from boxen/homebrew-brews ==> Boxen: Downloading http://boxen-downloads.platan.us.s3.amazonaws.com/homebrew/10.11/postgresql-9.4.1-boxen2.tar.bz2 0.0% 0.5% 1.1% # 1.6% # 2.2% # 2.7% ## 3.2% ## 3.8% ### 4.3% ### 4.9% ### 5.3% ### 5.5% #### 6.1% #### 6.6% ##### 7.2% ##### 7.6% ##### 8.2% ###### 8.8% ###### 9.3% ####### 9.8% ####### 10.3% ####### 10.9% ######## 11.4% ######## 12.0% ######## 12.5% ######### 13.0% ######### 13.6% ########## 14.1% ########## 14.7% ########## 15.2% ########### 15.8% ########### 16.3% ############ 16.8% ############ 17.4% ############ 17.9% ############# 18.5% ############# 19.0% ############## 19.6% ############## 20.1% ############## 20.7% ############### 21.2% ############### 21.7% ################ 22.3% ################ 22.8% ################ 23.4% ################# 23.9% ################# 24.5% ################## 25.0% ################## 25.6% ################## 26.1% ################### 26.6% ################### 27.2% ################### 27.7% #################### 28.3% #################### 28.8% ##################### 29.4% ##################### 29.9% ##################### 30.5% ###################### 31.1% ###################### 31.8% ####################### 32.6% ######################## 33.5% ######################## 34.3% ######################### 35.3% ########################## 36.4% ########################### 37.5% ########################### 38.6% ############################ 39.9% ############################# 41.3% ############################## 43.0% ################################ 44.6% ################################# 46.2% ################################## 47.9% ################################### 49.5% #################################### 51.1% ##################################### 52.8% ####################################### 54.4% ####################################### 54.9% ######################################## 56.6% ######################################### 58.2% ########################################### 60.4% ############################################ 61.5% ############################################# 63.1% ############################################## 65.3% ################################################ 66.9% ################################################# 69.1% ################################################## 70.7% #################################################### 72.9% ##################################################### 74.8% ###################################################### 76.2% ######################################################## 78.3% ########################################################## 80.8% ########################################################### 82.1% ############################################################ 83.8% ############################################################# 86.0% ############################################################### 87.6% ################################################################ 89.4% ################################################################# 91.6% ################################################################## 93.0% #################################################################### 95.3% ###################################################################### 97.7% ####################################################################### 99.5% ######################################################################## 100.0% ==> Boxen: Pouring postgresql-9.4.1-boxen2.tar.bz2 to /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2 Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /opt/boxen/homebrew Could not symlink share/postgresql/extension/postgis.control Target /opt/boxen/homebrew/share/postgresql/extension/postgis.control is a symlink belonging to postgis. You can unlink it: brew unlink postgis To force the link and overwrite all conflicting files: brew link --overwrite postgresql To list all files that would be deleted: brew link --overwrite --dry-run postgresql Possible conflicting files are: /opt/boxen/homebrew/share/postgresql/extension/postgis.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis.control /opt/boxen/homebrew/share/postgresql/extension/postgis_tiger_geocoder.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_tiger_geocoder.control /opt/boxen/homebrew/share/postgresql/extension/postgis_topology.control -> /opt/boxen/homebrew/Cellar/postgis/2.2.0/share/postgresql/extension/postgis_topology.control ==> Caveats If builds of PostgreSQL 9 are failing and you have version 8.x installed, you may need to remove the previous version first. See: https://github.com/Homebrew/homebrew/issues/2510 To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see: http://www.postgresql.org/docs/9.4/static/upgrading.html To have launchd start boxen/brews/postgresql at login: ln -sfv /opt/boxen/homebrew/opt/postgresql/*.plist ~/Library/LaunchAgents Then to load boxen/brews/postgresql now: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist Or, if you don't want/need launchctl, you can just run: postgres -D /opt/boxen/homebrew/var/postgres ==> Summary 🍺 /opt/boxen/homebrew/Cellar/postgresql/9.4.1-boxen2: 3064 files, 80M 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[init-postgresql-db] (notice): Dependency Package[boxen/brews/postgresql] has failures: true 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[init-postgresql-db] (warning): Skipping because of failed dependencies 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[init-postgresql-db] (err): Failed to call refresh: Could not find command '/opt/boxen/homebrew/bin/initdb' 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[init-postgresql-db] (err): Could not find command '/opt/boxen/homebrew/bin/initdb' 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Service[com.boxen.postgresql] (notice): Dependency Package[boxen/brews/postgresql] has failures: true 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Service[com.boxen.postgresql] (warning): Skipping because of failed dependencies 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Service[com.boxen.postgresql] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[kill-stale-postgres-pidfile] (notice): Dependency Package[boxen/brews/postgresql] has failures: true 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[kill-stale-postgres-pidfile] (warning): Skipping because of failed dependencies 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Exec[kill-stale-postgres-pidfile] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Service[dev.postgresql] (notice): Dependency Package[boxen/brews/postgresql] has failures: true 2015-11-18 20:07:41 -0300 /Stage[main]/Postgresql::Service/Service[dev.postgresql] (warning): Skipping because of failed dependencies 2015-11-18 20:07:42 -0300 /Stage[main]/Postgresql::Service/Service[dev.postgresql] (notice): Triggered 'refresh' from 2 events 2015-11-18 20:07:42 -0300 /Stage[main]/Postgresql::Service/Exec[wait-for-postgresql] (notice): Dependency Package[boxen/brews/postgresql] has failures: true 2015-11-18 20:07:42 -0300 /Stage[main]/Postgresql::Service/Exec[wait-for-postgresql] (warning): Skipping because of failed dependencies 2015-11-18 20:08:12 -0300 /Stage[main]/Postgresql::Service/Exec[wait-for-postgresql] (err): Failed to call refresh: Command exceeded timeout 2015-11-18 20:08:12 -0300 /Stage[main]/Postgresql::Service/Exec[wait-for-postgresql] (err): Command exceeded timeout Wrapped exception: execution expired 2015-11-18 20:08:12 -0300 /Stage[main]/Elasticsearch::Config/File[/opt/boxen/log/elasticsearch]/ensure (notice): created 2015-11-18 20:08:12 -0300 /Stage[main]/Elasticsearch::Service/Service[com.boxen.elasticsearch] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:08:12 -0300 /Stage[main]/Elasticsearch::Service/Service[dev.elasticsearch]/ensure (notice): ensure changed 'stopped' to 'running' 2015-11-18 20:08:12 -0300 /Stage[main]/Mysql::Config/File[/opt/boxen/env.d/mysql.sh]/ensure (notice): removed 2015-11-18 20:08:12 -0300 /Stage[main]/Mysql::Config/File[/opt/boxen/config/mysql/my.cnf]/content (notice): --- /opt/boxen/config/mysql/my.cnf 2015-04-19 22:30:55.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-bosx5x 2015-11-18 20:08:12.000000000 -0300 @@ -1,10 +1,12 @@ [client] +host=127.0.0.1 port=13306 socket=/opt/boxen/data/mysql/socket [server] datadir=/opt/boxen/data/mysql log-error=/opt/boxen/log/mysql/error.log +bind-address=127.0.0.1 port=13306 socket=/opt/boxen/data/mysql/socket max_allowed_packet=1073741824 2015-11-18 20:08:12 -0300 /Stage[main]/Mysql::Config/File[/opt/boxen/config/mysql/my.cnf]/content (notice): content changed '{md5}d4ad374d22323e8eb3200e7489c127f1' to '{md5}d1b62136dbf23f6021d49793db3d8374' 2015-11-18 20:08:12 -0300 /Stage[main]/Mysql::Config/Exec[init-mysql-db] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:08:12 -0300 /Stage[main]/Mysql::Config/Boxen::Env_script[mysql]/File[/opt/boxen/env.d/30_mysql.sh]/ensure (notice): created 2015-11-18 20:08:58 -0300 /Stage[main]/Stacks::Node/Nodejs::Version[0.10]/Nodejs::Alias[0.10]/Nodejs::Version[0.10.36]/Nodejs[0.10.36]/ensure (notice): created 2015-11-18 20:09:03 -0300 /Stage[main]/Stacks::Node/Nodejs::Version[0.10]/Nodejs::Alias[0.10]/File[/opt/nodes/0.10]/ensure (notice): created 2015-11-18 20:09:46 -0300 /Stage[main]/Stacks::Node/Npm_module[yo for all nodes]/ensure (notice): created 2015-11-18 20:10:01 -0300 /Stage[main]/Stacks::Node/Npm_module[grunt-cli for all nodes]/ensure (notice): created 2015-11-18 20:10:22 -0300 /Stage[main]/Stacks::Node/Npm_module[gulp for all nodes]/ensure (notice): created 2015-11-18 20:10:36 -0300 /Stage[main]/Boxen::Personal/Package[ant]/ensure (notice): created 2015-11-18 20:10:36 -0300 /Stage[main]/Mysql::Service/File[/Library/LaunchDaemons/dev.mysql.plist]/content (notice): --- /Library/LaunchDaemons/dev.mysql.plist 2015-04-19 22:30:55.000000000 -0300 +++ /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/puppet-file20151118-21053-v7a6mt 2015-11-18 20:10:36.000000000 -0300 @@ -28,7 +28,7 @@ <key>KeepAlive</key> <true /> - + <key>ExitTimeOut</key> <integer>1</integer> 2015-11-18 20:10:36 -0300 /Stage[main]/Mysql::Service/File[/Library/LaunchDaemons/dev.mysql.plist]/content (notice): content changed '{md5}64af10309bc699f50fb77b1fdd0255ea' to '{md5}c054c5cf88d0dcfcd3e65f591954f170' 2015-11-18 20:10:36 -0300 /Stage[main]/Mysql::Service/Service[com.boxen.mysql] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Service/Service[dev.mysql] (notice): Triggered 'refresh' from 3 events 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[wait-for-mysql] (notice): Triggered 'refresh' from 1 events 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[mysql-tzinfo-to-sql]/returns (notice): Warning: Unable to load '/usr/share/zoneinfo/+VERSION' as time zone. Skipping it. 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[mysql-tzinfo-to-sql]/returns (notice): ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 54 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[mysql-tzinfo-to-sql] (err): Failed to call refresh: /opt/boxen/homebrew/bin/mysql_tzinfo_to_sql /usr/share/zoneinfo | /opt/boxen/homebrew/bin/mysql -u root mysql -h127.0.0.1 -P13306 -S/opt/boxen/data/mysql/socket returned 1 instead of one of [0] 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[mysql-tzinfo-to-sql] (err): /opt/boxen/homebrew/bin/mysql_tzinfo_to_sql /usr/share/zoneinfo | /opt/boxen/homebrew/bin/mysql -u root mysql -h127.0.0.1 -P13306 -S/opt/boxen/data/mysql/socket returned 1 instead of one of [0] 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[grant root user privileges]/returns (notice): Warning: Using a password on the command line interface can be insecure. 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[grant root user privileges]/returns (notice): ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61) 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[grant root user privileges] (err): Failed to call refresh: /opt/boxen/homebrew/bin/mysql -uroot --password='' -h127.0.0.1 -P13306 -S/opt/boxen/data/mysql/socket -e 'grant all privileges on *.* to 'root'@'localhost'' returned 1 instead of one of [0] 2015-11-18 20:10:49 -0300 /Stage[main]/Mysql::Setup/Exec[grant root user privileges] (err): /opt/boxen/homebrew/bin/mysql -uroot --password='' -h127.0.0.1 -P13306 -S/opt/boxen/data/mysql/socket -e 'grant all privileges on *.* to 'root'@'localhost'' returned 1 instead of one of [0] 2015-11-18 20:11:24 -0300 /Stage[main]/Android::Sdk/Package[boxen/brews/android-sdk]/ensure (notice): created 2015-11-18 20:11:51 -0300 /Stage[main]/Stacks::Android/Android::Build_tools[23.0.1]/Android::Definition[build-tools-23.0.1]/Exec[android-update-build-tools-23.0.1]/returns (notice): executed successfully 2015-11-18 20:12:26 -0300 /Stage[main]/Stacks::Android/Android::Version[19]/Android::Platform[android-19]/Android::Definition[android-19]/Exec[android-update-android-19]/returns (notice): executed successfully 2015-11-18 20:12:34 -0300 /Stage[main]/Android::Platform_tools/Android::Definition[platform-tools]/Exec[android-update-platform-tools]/returns (notice): executed successfully 2015-11-18 20:13:03 -0300 /Stage[main]/Stacks::Android/Android::Version[20]/Android::Platform[android-20]/Android::Definition[android-20]/Exec[android-update-android-20]/returns (notice): executed successfully 2015-11-18 20:13:32 -0300 /Stage[main]/Stacks::Android/Android::Version[22]/Android::Platform[android-22]/Android::Definition[android-22]/Exec[android-update-android-22]/returns (notice): executed successfully
Running on
MacBook-Pro-de-Rene.local
(OS X 10.11) under/bin/zsh
, version 2d7d7e8c3e3ad4bbe99b342a28ca7f97df9ef89e (compare to master).Puppet Command
Output (from /opt/boxen/repo/log/boxen.log)