Skip to content

Instantly share code, notes, and snippets.

@bizmate
Created November 15, 2013 16:23
Show Gist options
  • Save bizmate/7487145 to your computer and use it in GitHub Desktop.
Save bizmate/7487145 to your computer and use it in GitHub Desktop.
cannot figure out where the error is coming from
/bin/sh -xe /tmp/hudson5724027307813135954.sh
+ OE_CUSTOM_HTTP_PORT=8889
+ OE_CUSTOM_SQL_PORT=3334
+ OE_CUSTOM_IP=192.168.50.5
+ export OE_CUSTOM_HTTP_PORT
+ export OE_CUSTOM_SQL_PORT
+ export OE_CUSTOM_IP
+ vagrant destroy --force
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
[default] Running cleanup tasks for 'puppet' provisioner...
+ git clean -f -d -x
Removing .htaccess
Removing .vagrant/
Removing index.php
Removing protected/config/local/common.php
Removing protected/config/local/console.php
Removing protected/runtime/
Removing vendor/
+ git submodule update --init
+ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise64'...
Progress: 40%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 80%
Progress: 90%
[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] -- 80 => 8889 (adapter 1)
[default] -- 3306 => 3334 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /var/www
[default] -- /tmp/vagrant-puppet/manifests
[default] Running provisioner: puppet...
Running Puppet with default.pp...
stdin: is not a tty
debug: importing '/tmp/vagrant-puppet/manifests/classes/openeyes.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/mysql.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/composer.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/curl.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/apache2.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/php5.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/xdebug.pp' in environment production
notice: Scope(Class[main]): Running advanced xdebug config
debug: Failed to load library 'selinux' for feature 'selinux'
notice: Scope(Class[Curl]): Running curl install
notice: Scope(Xdebug::Config[default]): Define xdebug config $ini_file_path , $remote_enable 1, $remote_host 192.168.50.1,
debug: template[inline]: Bound template variables for inline template in 0.00 seconds
debug: template[inline]: Interpolated template inline template in 0.00 seconds
debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not exist
debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not exist
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svstat does not exist
debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
debug: Puppet::Type::Package::ProviderYum: file yum does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/portupgrade does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_delete does not exist
debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/portinstall does not exist
debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist
debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/eix does not exist
debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderUrpmi: file urpmq does not exist
debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_delete does not exist
debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
debug: Creating default schedules
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet]/ensure: created
debug: /File[/etc/puppet/ssl]/ensure: created
debug: /File[/etc/puppet/ssl/private_keys]/ensure: created
debug: /File[/var/lib/puppet]/ensure: created
debug: /File[/var/lib/puppet/facts]/ensure: created
debug: /File[/var/lib/puppet/client_data]/ensure: created
debug: /File[/var/lib/puppet/run]/ensure: created
debug: /File[/var/lib/puppet/state]/ensure: created
debug: /File[/var/lib/puppet/state/graphs]/ensure: created
debug: /File[/var/lib/puppet/client_yaml]/ensure: created
debug: /File[/var/lib/puppet/lib]/ensure: created
debug: /File[/var/lib/puppet/clientbucket]/ensure: created
debug: /File[/etc/puppet/ssl/public_keys]/ensure: created
debug: /File[/etc/puppet/ssl/certs]/ensure: created
debug: /File[/var/lib/puppet/log]/ensure: created
debug: /File[/etc/puppet/ssl/private]/ensure: created
debug: /File[/etc/puppet/ssl/certificate_requests]/ensure: created
debug: Finishing transaction 70325381688180
info: Applying configuration version '1384528948'
debug: /Stage[main]/Xdebug::Debian/Package[xdebug]/require: requires Class[Php5]
debug: /Stage[main]/Mysql/Package[mysql-server]/require: requires Exec[apt-update]
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]/require: requires Service[mysql]
debug: /Stage[main]/Composer/Exec[run_composer_build]/require: requires Exec[install_composer]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyes db]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyes user]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyestest db]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyestest user]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create application config]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create console config]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires File[/var/www/protected/runtime]
debug: /Stage[main]/Php5/Package[php5-curl]/require: requires Exec[apt-update]
debug: /Stage[main]/Php5/Package[php5-curl]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/require: requires Exec[create openeyestest db]
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/require: requires Exec[create openeyes user]
debug: /Stage[main]/Mysql/Package[php5-mysql]/require: requires Package[php5]
debug: /Stage[main]/Mysql/Package[php5-mysql]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create openeyes user]/require: requires Exec[create openeyes db]
debug: /Stage[main]/Curl/Package[curl]/require: requires Exec[apt-update]
debug: /Stage[main]/Curl/Package[curl]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Php5/Package[php5]/require: requires Exec[apt-update]
debug: /Stage[main]/Php5/Package[php5]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create application config]/require: requires Service[mysql]
debug: /Stage[main]/Apache2/Package[apache2]/require: requires Exec[apt-update]
debug: /Stage[main]/Openeyes/Exec[create openeyes db]/require: requires Service[mysql]
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/require: requires Package[apache2]
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Apache2/File[default virtualhost]/require: requires Package[apache2]
debug: /Stage[main]/Apache2/File[default virtualhost]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Mysql/File[mysql configuration]/require: requires Package[mysql-server]
debug: /Stage[main]/Mysql/File[mysql configuration]/notify: subscribes to Service[mysql]
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/require: requires Package[xdebug]
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create console config]/require: requires Service[mysql]
debug: /Stage[main]/Composer/Exec[install_composer]/require: requires Package[curl]
debug: /Stage[main]/Mysql/Service[mysql]/require: requires Package[mysql-server]
debug: /Stage[main]/Apache2/Service[apache2]/require: requires Package[apache2]
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
debug: Exec[apt-update](provider=posix): Executing '/usr/bin/apt-get update'
debug: Executing '/usr/bin/apt-get update'
notice: /Stage[main]/Amp/Exec[apt-update]/returns: executed successfully
debug: /Stage[main]/Amp/Exec[apt-update]: The container Class[Amp] will propagate my refresh event
debug: Prefetching apt resources for package
debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n mysql-server'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mysql-server'
notice: /Stage[main]/Mysql/Package[mysql-server]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Mysql/Package[mysql-server]: The container Class[Mysql] will propagate my refresh event
debug: Class[Amp]: The container Stage[main] will propagate my refresh event
debug: /Schedule[never]: Skipping device resources because running on a host
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5'
notice: /Stage[main]/Php5/Package[php5]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Php5/Package[php5]: The container Class[Php5] will propagate my refresh event
info: /Stage[main]/Php5/Package[php5]: Scheduling refresh of Service[apache2]
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-mysql'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysql'
notice: /Stage[main]/Mysql/Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Mysql/Package[php5-mysql]: The container Class[Mysql] will propagate my refresh event
info: /Stage[main]/Mysql/Package[php5-mysql]: Scheduling refresh of Service[apache2]
notice: /Stage[main]/Php5/File[/etc/php5/cli/conf.d/buffering_settings.ini]/ensure: created
debug: /Stage[main]/Php5/File[/etc/php5/cli/conf.d/buffering_settings.ini]: The container Class[Php5] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-curl'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-curl'
notice: /Stage[main]/Php5/Package[php5-curl]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Php5/Package[php5-curl]: The container Class[Php5] will propagate my refresh event
info: /Stage[main]/Php5/Package[php5-curl]: Scheduling refresh of Service[apache2]
debug: Class[Php5]: The container Stage[main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-xdebug'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-xdebug'
notice: /Stage[main]/Xdebug::Debian/Package[xdebug]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Xdebug::Debian/Package[xdebug]: The container Class[Xdebug::Debian] will propagate my refresh event
notice: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/ensure: created
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]: The container Xdebug::Config[default] will propagate my refresh event
info: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]: Scheduling refresh of Service[apache2]
debug: Xdebug::Config[default]: The container Class[Main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n curl'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install curl'
notice: /Stage[main]/Curl/Package[curl]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Curl/Package[curl]: The container Class[Curl] will propagate my refresh event
info: /Stage[main]/Curl/Package[curl]: Scheduling refresh of Service[apache2]
debug: Class[Curl]: The container Stage[main] will propagate my refresh event
debug: Exec[install_composer](provider=posix): Executing '/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php; mv composer.phar /usr/local/bin/composer'
debug: Executing '/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php; mv composer.phar /usr/local/bin/composer'
notice: /Stage[main]/Composer/Exec[install_composer]/returns: executed successfully
debug: /Stage[main]/Composer/Exec[install_composer]: The container Class[Composer] will propagate my refresh event
debug: Exec[run_composer_build](provider=posix): Executing 'composer install'
debug: Executing 'composer install'
err: /Stage[main]/Composer/Exec[run_composer_build]/returns: change from notrun to 0 failed: composer install returned 255 instead of one of [0] at /tmp/vagrant-puppet/manifests/classes/composer.pp:14
debug: Class[Composer]: The container Stage[main] will propagate my refresh event
notice: /Stage[main]/Mysql/File[mysql configuration]/ensure: created
debug: /Stage[main]/Mysql/File[mysql configuration]: The container Class[Mysql] will propagate my refresh event
info: /Stage[main]/Mysql/File[mysql configuration]: Scheduling refresh of Service[mysql]
debug: Puppet::Type::Service::ProviderUpstart: Executing '/sbin/status mysql'
debug: Puppet::Type::Service::ProviderUpstart: Executing '/sbin/status mysql'
debug: Service[mysql](provider=upstart): Executing '/sbin/stop mysql'
debug: Service[mysql](provider=upstart): Executing '/sbin/start mysql'
notice: /Stage[main]/Mysql/Service[mysql]: Triggered 'refresh' from 1 events
debug: /Stage[main]/Mysql/Service[mysql]: The container Class[Mysql] will propagate my refresh event
debug: Class[Mysql]: The container Stage[main] will propagate my refresh event
debug: Class[Xdebug::Debian]: The container Stage[main] will propagate my refresh event
debug: /Schedule[weekly]: Skipping device resources because running on a host
notice: /Stage[main]/Openeyes/File[/var/www/index.php]/ensure: defined content as '{md5}25cb30b287be37ffbd839c3f73e85d76'
debug: /Stage[main]/Openeyes/File[/var/www/index.php]: The container Class[Openeyes] will propagate my refresh event
notice: /Stage[main]/Openeyes/File[/var/www/.htaccess]/ensure: defined content as '{md5}cf419b3e92609384c9143d21e6d23c6f'
debug: /Stage[main]/Openeyes/File[/var/www/.htaccess]: The container Class[Openeyes] will propagate my refresh event
debug: Finishing transaction 70325396955160
info: FileBucket adding {md5}21dde95d9d269cbb2fa6560309dca40c
info: /Stage[main]/Openeyes/File[/var/www/index.html]: Filebucketed /var/www/index.html to puppet with sum 21dde95d9d269cbb2fa6560309dca40c
debug: /Stage[main]/Openeyes/File[/var/www/index.html]: Removing existing file for replacement with absent
notice: /Stage[main]/Openeyes/File[/var/www/index.html]/ensure: removed
debug: /Stage[main]/Openeyes/File[/var/www/index.html]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create application config](provider=posix): Executing check '/usr/bin/test -e /var/www/protected/config/local/common.php'
debug: Executing '/usr/bin/test -e /var/www/protected/config/local/common.php'
debug: Exec[create application config](provider=posix): Executing '/bin/cp /var/www/protected/config/local/common.vagrant.php /var/www/protected/config/local/common.php;'
debug: Executing '/bin/cp /var/www/protected/config/local/common.vagrant.php /var/www/protected/config/local/common.php;'
notice: /Stage[main]/Openeyes/Exec[create application config]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create application config]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create console config](provider=posix): Executing check '/usr/bin/test -e /var/www/protected/config/local/console.php'
debug: Executing '/usr/bin/test -e /var/www/protected/config/local/console.php'
debug: Exec[create console config](provider=posix): Executing '/bin/cp /var/www/protected/config/local/console.vagrant.php /var/www/protected/config/local/console.php;'
debug: Executing '/bin/cp /var/www/protected/config/local/console.vagrant.php /var/www/protected/config/local/console.php;'
notice: /Stage[main]/Openeyes/Exec[create console config]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create console config]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyestest db](provider=posix): Executing check '/usr/bin/mysql -uroot openeyestest'
debug: Executing '/usr/bin/mysql -uroot openeyestest'
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]/unless: ERROR 1049 (42000): Unknown database 'openeyestest'
debug: Exec[create openeyestest db](provider=posix): Executing '/usr/bin/mysql -uroot -e "create database IF NOT EXISTS openeyestest ;"'
debug: Executing '/usr/bin/mysql -uroot -e "create database IF NOT EXISTS openeyestest ;"'
notice: /Stage[main]/Openeyes/Exec[create openeyestest db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyes db](provider=posix): Executing check '/usr/bin/mysql -uroot openeyes'
debug: Executing '/usr/bin/mysql -uroot openeyes'
debug: /Stage[main]/Openeyes/Exec[create openeyes db]/unless: ERROR 1049 (42000): Unknown database 'openeyes'
debug: Exec[create openeyes db](provider=posix): Executing '/usr/bin/mysql -uroot -e "create database openeyes;"'
debug: Executing '/usr/bin/mysql -uroot -e "create database openeyes;"'
notice: /Stage[main]/Openeyes/Exec[create openeyes db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyes db]: The container Class[Openeyes] will propagate my refresh event
debug: /Schedule[puppet]: Skipping device resources because running on a host
debug: Class[Main]: The container Stage[main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n apache2'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install apache2'
notice: /Stage[main]/Apache2/Package[apache2]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Apache2/Package[apache2]: The container Class[Apache2] will propagate my refresh event
notice: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/ensure: created
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]: The container Class[Apache2] will propagate my refresh event
info: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]: Scheduling refresh of Service[apache2]
info: FileBucket adding {md5}b38ca5a963f52930ede3f4e1958f3275
info: /Stage[main]/Apache2/File[default virtualhost]: Filebucketed /etc/apache2/sites-available/default to puppet with sum b38ca5a963f52930ede3f4e1958f3275
notice: /Stage[main]/Apache2/File[default virtualhost]/content: content changed '{md5}b38ca5a963f52930ede3f4e1958f3275' to '{md5}c0dd98a99cb604ae9ce1d36aea92041a'
debug: /Stage[main]/Apache2/File[default virtualhost]: The container Class[Apache2] will propagate my refresh event
info: /Stage[main]/Apache2/File[default virtualhost]: Scheduling refresh of Service[apache2]
debug: Service[apache2](provider=upstart): Could not find apache2.conf in /etc/init
debug: Service[apache2](provider=upstart): Could not find apache2.conf in /etc/init.d
debug: Service[apache2](provider=upstart): Could not find apache2 in /etc/init
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 status'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 status'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 stop'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 start'
notice: /Stage[main]/Apache2/Service[apache2]: Triggered 'refresh' from 7 events
debug: /Stage[main]/Apache2/Service[apache2]: The container Class[Apache2] will propagate my refresh event
debug: Class[Apache2]: The container Stage[main] will propagate my refresh event
debug: Exec[create openeyes user](provider=posix): Executing check '/usr/bin/mysql -uopeneyes -poe_test openeyes'
debug: Executing '/usr/bin/mysql -uopeneyes -poe_test openeyes'
debug: /Stage[main]/Openeyes/Exec[create openeyes user]/unless: ERROR 1045 (28000): Access denied for user 'openeyes'@'localhost' (using password: YES)
debug: Exec[create openeyes user](provider=posix): Executing '/usr/bin/mysql -uroot -e "\
create user 'openeyes'@'localhost' identified by 'oe_test';\
create user 'openeyes'@'10.0.2.2' identified by 'oe_test';\
create user 'openeyes'@'%' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
debug: Executing '/usr/bin/mysql -uroot -e "\
create user 'openeyes'@'localhost' identified by 'oe_test';\
create user 'openeyes'@'10.0.2.2' identified by 'oe_test';\
create user 'openeyes'@'%' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
notice: /Stage[main]/Openeyes/Exec[create openeyes user]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyes user]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyestest user](provider=posix): Executing check '/usr/bin/mysql -uopeneyes -poe_test openeyestest'
debug: Executing '/usr/bin/mysql -uopeneyes -poe_test openeyestest'
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/unless: ERROR 1044 (42000): Access denied for user 'openeyes'@'localhost' to database 'openeyestest'
debug: Exec[create openeyestest user](provider=posix): Executing '/usr/bin/mysql -uroot -e "\
grant all privileges on openeyestest.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
debug: Executing '/usr/bin/mysql -uroot -e "\
grant all privileges on openeyestest.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
notice: /Stage[main]/Openeyes/Exec[create openeyestest user]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]: The container Class[Openeyes] will propagate my refresh event
notice: /Stage[main]/Openeyes/File[/var/www/protected/runtime]/ensure: created
debug: /Stage[main]/Openeyes/File[/var/www/protected/runtime]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[migrate openeyes db](provider=posix): Executing '/usr/bin/php /var/www/protected/yiic.php migrate --interactive=0;\
/usr/bin/php /var/www/protected/yiic.php migrate --connectionID=testdb --interactive=0;'
debug: Executing '/usr/bin/php /var/www/protected/yiic.php migrate --interactive=0;\
/usr/bin/php /var/www/protected/yiic.php migrate --connectionID=testdb --interactive=0;'
notice: /Stage[main]/Openeyes/Exec[migrate openeyes db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]: The container Class[Openeyes] will propagate my refresh event
debug: Class[Openeyes]: The container Stage[main] will propagate my refresh event
debug: Finishing transaction 70325381604380
debug: Storing state
info: Creating state file /var/lib/puppet/state/state.yaml
debug: Stored state in 0.00 seconds
notice: Finished catalog run in 305.74 seconds
debug: /File[/var/lib/puppet/rrd]/ensure: created
debug: Finishing transaction 70325381523820
debug: Received report to process from precise64.j13.me
debug: Processing report from precise64.j13.me with processor Puppet::Reports::Store
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
puppet apply --verbose --debug --color=false --manifestdir /tmp/vagrant-puppet/manifests --detailed-exitcodes /tmp/vagrant-puppet/manifests/default.pp || [ $? -eq 2 ]
Stdout from the command:
debug: importing '/tmp/vagrant-puppet/manifests/classes/openeyes.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/mysql.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/composer.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/curl.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/apache2.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/php5.pp' in environment production
debug: importing '/tmp/vagrant-puppet/manifests/classes/xdebug.pp' in environment production
notice: Scope(Class[main]): Running advanced xdebug config
debug: Failed to load library 'selinux' for feature 'selinux'
notice: Scope(Class[Curl]): Running curl install
notice: Scope(Xdebug::Config[default]): Define xdebug config $ini_file_path , $remote_enable 1, $remote_host 192.168.50.1,
debug: template[inline]: Bound template variables for inline template in 0.00 seconds
debug: template[inline]: Interpolated template inline template in 0.00 seconds
debug: Puppet::Type::Service::ProviderRedhat: file /sbin/chkconfig does not exist
debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not exist
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svstat does not exist
debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
debug: Puppet::Type::Package::ProviderYum: file yum does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/portupgrade does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_delete does not exist
debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/portinstall does not exist
debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist
debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/eix does not exist
debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderUrpmi: file urpmq does not exist
debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_delete does not exist
debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
debug: Creating default schedules
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet]/ensure: created
debug: /File[/etc/puppet/ssl]/ensure: created
debug: /File[/etc/puppet/ssl/private_keys]/ensure: created
debug: /File[/var/lib/puppet]/ensure: created
debug: /File[/var/lib/puppet/facts]/ensure: created
debug: /File[/var/lib/puppet/client_data]/ensure: created
debug: /File[/var/lib/puppet/run]/ensure: created
debug: /File[/var/lib/puppet/state]/ensure: created
debug: /File[/var/lib/puppet/state/graphs]/ensure: created
debug: /File[/var/lib/puppet/client_yaml]/ensure: created
debug: /File[/var/lib/puppet/lib]/ensure: created
debug: /File[/var/lib/puppet/clientbucket]/ensure: created
debug: /File[/etc/puppet/ssl/public_keys]/ensure: created
debug: /File[/etc/puppet/ssl/certs]/ensure: created
debug: /File[/var/lib/puppet/log]/ensure: created
debug: /File[/etc/puppet/ssl/private]/ensure: created
debug: /File[/etc/puppet/ssl/certificate_requests]/ensure: created
debug: Finishing transaction 70325381688180
info: Applying configuration version '1384528948'
debug: /Stage[main]/Xdebug::Debian/Package[xdebug]/require: requires Class[Php5]
debug: /Stage[main]/Mysql/Package[mysql-server]/require: requires Exec[apt-update]
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]/require: requires Service[mysql]
debug: /Stage[main]/Composer/Exec[run_composer_build]/require: requires Exec[install_composer]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyes db]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyes user]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyestest db]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create openeyestest user]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create application config]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires Exec[create console config]
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]/require: requires File[/var/www/protected/runtime]
debug: /Stage[main]/Php5/Package[php5-curl]/require: requires Exec[apt-update]
debug: /Stage[main]/Php5/Package[php5-curl]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/require: requires Exec[create openeyestest db]
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/require: requires Exec[create openeyes user]
debug: /Stage[main]/Mysql/Package[php5-mysql]/require: requires Package[php5]
debug: /Stage[main]/Mysql/Package[php5-mysql]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create openeyes user]/require: requires Exec[create openeyes db]
debug: /Stage[main]/Curl/Package[curl]/require: requires Exec[apt-update]
debug: /Stage[main]/Curl/Package[curl]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Php5/Package[php5]/require: requires Exec[apt-update]
debug: /Stage[main]/Php5/Package[php5]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create application config]/require: requires Service[mysql]
debug: /Stage[main]/Apache2/Package[apache2]/require: requires Exec[apt-update]
debug: /Stage[main]/Openeyes/Exec[create openeyes db]/require: requires Service[mysql]
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/require: requires Package[apache2]
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Apache2/File[default virtualhost]/require: requires Package[apache2]
debug: /Stage[main]/Apache2/File[default virtualhost]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Mysql/File[mysql configuration]/require: requires Package[mysql-server]
debug: /Stage[main]/Mysql/File[mysql configuration]/notify: subscribes to Service[mysql]
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/require: requires Package[xdebug]
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/notify: subscribes to Service[apache2]
debug: /Stage[main]/Openeyes/Exec[create console config]/require: requires Service[mysql]
debug: /Stage[main]/Composer/Exec[install_composer]/require: requires Package[curl]
debug: /Stage[main]/Mysql/Service[mysql]/require: requires Package[mysql-server]
debug: /Stage[main]/Apache2/Service[apache2]/require: requires Package[apache2]
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
debug: Exec[apt-update](provider=posix): Executing '/usr/bin/apt-get update'
debug: Executing '/usr/bin/apt-get update'
notice: /Stage[main]/Amp/Exec[apt-update]/returns: executed successfully
debug: /Stage[main]/Amp/Exec[apt-update]: The container Class[Amp] will propagate my refresh event
debug: Prefetching apt resources for package
debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n mysql-server'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mysql-server'
notice: /Stage[main]/Mysql/Package[mysql-server]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Mysql/Package[mysql-server]: The container Class[Mysql] will propagate my refresh event
debug: Class[Amp]: The container Stage[main] will propagate my refresh event
debug: /Schedule[never]: Skipping device resources because running on a host
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5'
notice: /Stage[main]/Php5/Package[php5]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Php5/Package[php5]: The container Class[Php5] will propagate my refresh event
info: /Stage[main]/Php5/Package[php5]: Scheduling refresh of Service[apache2]
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-mysql'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-mysql'
notice: /Stage[main]/Mysql/Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Mysql/Package[php5-mysql]: The container Class[Mysql] will propagate my refresh event
info: /Stage[main]/Mysql/Package[php5-mysql]: Scheduling refresh of Service[apache2]
notice: /Stage[main]/Php5/File[/etc/php5/cli/conf.d/buffering_settings.ini]/ensure: created
debug: /Stage[main]/Php5/File[/etc/php5/cli/conf.d/buffering_settings.ini]: The container Class[Php5] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-curl'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-curl'
notice: /Stage[main]/Php5/Package[php5-curl]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Php5/Package[php5-curl]: The container Class[Php5] will propagate my refresh event
info: /Stage[main]/Php5/Package[php5-curl]: Scheduling refresh of Service[apache2]
debug: Class[Php5]: The container Stage[main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n php5-xdebug'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php5-xdebug'
notice: /Stage[main]/Xdebug::Debian/Package[xdebug]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Xdebug::Debian/Package[xdebug]: The container Class[Xdebug::Debian] will propagate my refresh event
notice: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]/ensure: created
debug: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]: The container Xdebug::Config[default] will propagate my refresh event
info: /Stage[main]//Xdebug::Config[default]/File[/etc/php5/conf.d/xdebug_config.ini]: Scheduling refresh of Service[apache2]
debug: Xdebug::Config[default]: The container Class[Main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n curl'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install curl'
notice: /Stage[main]/Curl/Package[curl]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Curl/Package[curl]: The container Class[Curl] will propagate my refresh event
info: /Stage[main]/Curl/Package[curl]: Scheduling refresh of Service[apache2]
debug: Class[Curl]: The container Stage[main] will propagate my refresh event
debug: Exec[install_composer](provider=posix): Executing '/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php; mv composer.phar /usr/local/bin/composer'
debug: Executing '/usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php; mv composer.phar /usr/local/bin/composer'
notice: /Stage[main]/Composer/Exec[install_composer]/returns: executed successfully
debug: /Stage[main]/Composer/Exec[install_composer]: The container Class[Composer] will propagate my refresh event
debug: Exec[run_composer_build](provider=posix): Executing 'composer install'
debug: Executing 'composer install'
err: /Stage[main]/Composer/Exec[run_composer_build]/returns: change from notrun to 0 failed: composer install returned 255 instead of one of [0] at /tmp/vagrant-puppet/manifests/classes/composer.pp:14
debug: Class[Composer]: The container Stage[main] will propagate my refresh event
notice: /Stage[main]/Mysql/File[mysql configuration]/ensure: created
debug: /Stage[main]/Mysql/File[mysql configuration]: The container Class[Mysql] will propagate my refresh event
info: /Stage[main]/Mysql/File[mysql configuration]: Scheduling refresh of Service[mysql]
debug: Puppet::Type::Service::ProviderUpstart: Executing '/sbin/status mysql'
debug: Puppet::Type::Service::ProviderUpstart: Executing '/sbin/status mysql'
debug: Service[mysql](provider=upstart): Executing '/sbin/stop mysql'
debug: Service[mysql](provider=upstart): Executing '/sbin/start mysql'
notice: /Stage[main]/Mysql/Service[mysql]: Triggered 'refresh' from 1 events
debug: /Stage[main]/Mysql/Service[mysql]: The container Class[Mysql] will propagate my refresh event
debug: Class[Mysql]: The container Stage[main] will propagate my refresh event
debug: Class[Xdebug::Debian]: The container Stage[main] will propagate my refresh event
debug: /Schedule[weekly]: Skipping device resources because running on a host
notice: /Stage[main]/Openeyes/File[/var/www/index.php]/ensure: defined content as '{md5}25cb30b287be37ffbd839c3f73e85d76'
debug: /Stage[main]/Openeyes/File[/var/www/index.php]: The container Class[Openeyes] will propagate my refresh event
notice: /Stage[main]/Openeyes/File[/var/www/.htaccess]/ensure: defined content as '{md5}cf419b3e92609384c9143d21e6d23c6f'
debug: /Stage[main]/Openeyes/File[/var/www/.htaccess]: The container Class[Openeyes] will propagate my refresh event
debug: Finishing transaction 70325396955160
info: FileBucket adding {md5}21dde95d9d269cbb2fa6560309dca40c
info: /Stage[main]/Openeyes/File[/var/www/index.html]: Filebucketed /var/www/index.html to puppet with sum 21dde95d9d269cbb2fa6560309dca40c
debug: /Stage[main]/Openeyes/File[/var/www/index.html]: Removing existing file for replacement with absent
notice: /Stage[main]/Openeyes/File[/var/www/index.html]/ensure: removed
debug: /Stage[main]/Openeyes/File[/var/www/index.html]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create application config](provider=posix): Executing check '/usr/bin/test -e /var/www/protected/config/local/common.php'
debug: Executing '/usr/bin/test -e /var/www/protected/config/local/common.php'
debug: Exec[create application config](provider=posix): Executing '/bin/cp /var/www/protected/config/local/common.vagrant.php /var/www/protected/config/local/common.php;'
debug: Executing '/bin/cp /var/www/protected/config/local/common.vagrant.php /var/www/protected/config/local/common.php;'
notice: /Stage[main]/Openeyes/Exec[create application config]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create application config]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create console config](provider=posix): Executing check '/usr/bin/test -e /var/www/protected/config/local/console.php'
debug: Executing '/usr/bin/test -e /var/www/protected/config/local/console.php'
debug: Exec[create console config](provider=posix): Executing '/bin/cp /var/www/protected/config/local/console.vagrant.php /var/www/protected/config/local/console.php;'
debug: Executing '/bin/cp /var/www/protected/config/local/console.vagrant.php /var/www/protected/config/local/console.php;'
notice: /Stage[main]/Openeyes/Exec[create console config]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create console config]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyestest db](provider=posix): Executing check '/usr/bin/mysql -uroot openeyestest'
debug: Executing '/usr/bin/mysql -uroot openeyestest'
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]/unless: ERROR 1049 (42000): Unknown database 'openeyestest'
debug: Exec[create openeyestest db](provider=posix): Executing '/usr/bin/mysql -uroot -e "create database IF NOT EXISTS openeyestest ;"'
debug: Executing '/usr/bin/mysql -uroot -e "create database IF NOT EXISTS openeyestest ;"'
notice: /Stage[main]/Openeyes/Exec[create openeyestest db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyestest db]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyes db](provider=posix): Executing check '/usr/bin/mysql -uroot openeyes'
debug: Executing '/usr/bin/mysql -uroot openeyes'
debug: /Stage[main]/Openeyes/Exec[create openeyes db]/unless: ERROR 1049 (42000): Unknown database 'openeyes'
debug: Exec[create openeyes db](provider=posix): Executing '/usr/bin/mysql -uroot -e "create database openeyes;"'
debug: Executing '/usr/bin/mysql -uroot -e "create database openeyes;"'
notice: /Stage[main]/Openeyes/Exec[create openeyes db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyes db]: The container Class[Openeyes] will propagate my refresh event
debug: /Schedule[puppet]: Skipping device resources because running on a host
debug: Class[Main]: The container Stage[main] will propagate my refresh event
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n apache2'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install apache2'
notice: /Stage[main]/Apache2/Package[apache2]/ensure: ensure changed 'purged' to 'present'
debug: /Stage[main]/Apache2/Package[apache2]: The container Class[Apache2] will propagate my refresh event
notice: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]/ensure: created
debug: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]: The container Class[Apache2] will propagate my refresh event
info: /Stage[main]/Apache2/File[/etc/apache2/mods-enabled/rewrite.load]: Scheduling refresh of Service[apache2]
info: FileBucket adding {md5}b38ca5a963f52930ede3f4e1958f3275
info: /Stage[main]/Apache2/File[default virtualhost]: Filebucketed /etc/apache2/sites-available/default to puppet with sum b38ca5a963f52930ede3f4e1958f3275
notice: /Stage[main]/Apache2/File[default virtualhost]/content: content changed '{md5}b38ca5a963f52930ede3f4e1958f3275' to '{md5}c0dd98a99cb604ae9ce1d36aea92041a'
debug: /Stage[main]/Apache2/File[default virtualhost]: The container Class[Apache2] will propagate my refresh event
info: /Stage[main]/Apache2/File[default virtualhost]: Scheduling refresh of Service[apache2]
debug: Service[apache2](provider=upstart): Could not find apache2.conf in /etc/init
debug: Service[apache2](provider=upstart): Could not find apache2.conf in /etc/init.d
debug: Service[apache2](provider=upstart): Could not find apache2 in /etc/init
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 status'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 status'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 stop'
debug: Service[apache2](provider=upstart): Executing '/etc/init.d/apache2 start'
notice: /Stage[main]/Apache2/Service[apache2]: Triggered 'refresh' from 7 events
debug: /Stage[main]/Apache2/Service[apache2]: The container Class[Apache2] will propagate my refresh event
debug: Class[Apache2]: The container Stage[main] will propagate my refresh event
debug: Exec[create openeyes user](provider=posix): Executing check '/usr/bin/mysql -uopeneyes -poe_test openeyes'
debug: Executing '/usr/bin/mysql -uopeneyes -poe_test openeyes'
debug: /Stage[main]/Openeyes/Exec[create openeyes user]/unless: ERROR 1045 (28000): Access denied for user 'openeyes'@'localhost' (using password: YES)
debug: Exec[create openeyes user](provider=posix): Executing '/usr/bin/mysql -uroot -e "\
create user 'openeyes'@'localhost' identified by 'oe_test';\
create user 'openeyes'@'10.0.2.2' identified by 'oe_test';\
create user 'openeyes'@'%' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
debug: Executing '/usr/bin/mysql -uroot -e "\
create user 'openeyes'@'localhost' identified by 'oe_test';\
create user 'openeyes'@'10.0.2.2' identified by 'oe_test';\
create user 'openeyes'@'%' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyes.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
notice: /Stage[main]/Openeyes/Exec[create openeyes user]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyes user]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[create openeyestest user](provider=posix): Executing check '/usr/bin/mysql -uopeneyes -poe_test openeyestest'
debug: Executing '/usr/bin/mysql -uopeneyes -poe_test openeyestest'
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]/unless: ERROR 1044 (42000): Access denied for user 'openeyes'@'localhost' to database 'openeyestest'
debug: Exec[create openeyestest user](provider=posix): Executing '/usr/bin/mysql -uroot -e "\
grant all privileges on openeyestest.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
debug: Executing '/usr/bin/mysql -uroot -e "\
grant all privileges on openeyestest.* to 'openeyes'@'localhost' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'10.0.2.2' identified by 'oe_test';\
grant all privileges on openeyestest.* to 'openeyes'@'%' identified by 'oe_test';\
flush privileges;"'
notice: /Stage[main]/Openeyes/Exec[create openeyestest user]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[create openeyestest user]: The container Class[Openeyes] will propagate my refresh event
notice: /Stage[main]/Openeyes/File[/var/www/protected/runtime]/ensure: created
debug: /Stage[main]/Openeyes/File[/var/www/protected/runtime]: The container Class[Openeyes] will propagate my refresh event
debug: Exec[migrate openeyes db](provider=posix): Executing '/usr/bin/php /var/www/protected/yiic.php migrate --interactive=0;\
/usr/bin/php /var/www/protected/yiic.php migrate --connectionID=testdb --interactive=0;'
debug: Executing '/usr/bin/php /var/www/protected/yiic.php migrate --interactive=0;\
/usr/bin/php /var/www/protected/yiic.php migrate --connectionID=testdb --interactive=0;'
notice: /Stage[main]/Openeyes/Exec[migrate openeyes db]/returns: executed successfully
debug: /Stage[main]/Openeyes/Exec[migrate openeyes db]: The container Class[Openeyes] will propagate my refresh event
debug: Class[Openeyes]: The container Stage[main] will propagate my refresh event
debug: Finishing transaction 70325381604380
debug: Storing state
info: Creating state file /var/lib/puppet/state/state.yaml
debug: Stored state in 0.00 seconds
notice: Finished catalog run in 305.74 seconds
debug: /File[/var/lib/puppet/rrd]/ensure: created
debug: Finishing transaction 70325381523820
debug: Received report to process from precise64.j13.me
debug: Processing report from precise64.j13.me with processor Puppet::Reports::Store
Stderr from the command:
stdin: is not a tty
Build step 'Execute shell' marked build as failure
@bizmate
Copy link
Author

bizmate commented Nov 18, 2013

For anyone experiencing the same problem, the --no-interaction and --prefer-source options fixed this for me in composer. Not vagrant related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment