You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following syntax from my install_drush.pp, is not downloading drush.phar:
...
## download drush: wget is a wrapper around the 'exec' function## @timeout, override the default 'exec' timeout# @verbose, verbose loggingwget::fetch {'download-drush':
source => "https://github.com/drush-ops/drush/releases/download/${drush_version}/drush.phar",
destination => '/tmp/drush.phar',
verbose => false,
}
...
When I run a build via vagrant up, I get the following error traceback:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: vagrant-r10k: Building the r10k module path with puppet provisioner module_path "puppet/environment/development/modules". (if module_path is an array, first element is used)
==> default: vagrant-r10k: Beginning r10k deploy of puppet modules into c:/path/to/drupal-demonstration/puppet/environment/development/modules using c:/path/to/drupal-demonstration/puppet/environment/development/Puppetfile
==> default: vagrant-r10k: Deploy finished
==> default: Importing base box 'puppetlabs/centos-7.2-64-puppet'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'puppetlabs/centos-7.2-64-puppet' is up to date...
==> default: Setting the name of the VM: drupal-demonstration_default_1451593369309_73348
==> default: vagrant-r10k: Building the r10k module path with puppet provisioner
module_path "puppet/environment/development/modules". (if module_path is an array, first element is used)
==> default: vagrant-r10k: Beginning r10k deploy of puppet modules into c:/path/to/drupal-demonstration/puppet/environment/development/modules using c:/path/to/drupal-demonstration/puppet/environment/development/Puppetfile
==> default: vagrant-r10k: Deploy finished
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default:22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:Warning: Connection timeout. Retrying...
default:Warning: Remote connection disconnect. Retrying...
default:default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key...==> default: Machine booted and ready!GuestAdditions versions on your host (5.0.12) and guest (4.3.22) do not match.Loaded plugins: fastestmirrorDetermining fastest mirrors * base: mirrors.greenmountainaccess.net * extras: ftp.linux.ncsu.edu * updates: mirror.solarvps.comPackage kernel-devel-3.10.0-327.el7.x86_64 already installed and latest versionPackage gcc-4.8.5-4.el7.x86_64 already installed and latest versionPackage 1:make-3.82-21.el7.x86_64 already installed and latest versionPackage 4:perl-5.16.3-286.el7.x86_64 already installed and latest versionNothing to doCopy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.isomount: /dev/loop0 is write-protected, mounting read-onlyInstalling Virtualbox Guest Additions 5.0.12 - guest version is 4.3.22Verifying archive integrity... All good.Uncompressing VirtualBox 5.0.12 Guest Additions for Linux............VirtualBox Guest Additions installerRemoving installed version 4.3.22 of VirtualBox Guest Additions...Copying additional installer modules ...Installing additional modules ...Removing existing VirtualBox non-DKMS kernel modules[ OK ]Building the VirtualBox Guest Additions kernel modulesBuilding the main Guest Additions module[ OK ]Building the shared folder support module[ OK ]Building the OpenGL support module[ OK ]Doing non-kernel setup of the Guest Additions[ OK ]You should restart your guest to make sure the new modules are actually usedInstalling the Window System driversCould not find the X.Org or XFree86 Window System, skipping.An error occurred during installation of VirtualBox Guest Additions 5.0.12. Some functionality may not work as intended.In most cases it is OK that the "Window System drivers" installation failed.Restarting VM to apply changes...==> default: Attempting graceful shutdown of VM...==> default: Booting VM...==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying...==> default: Machine booted and ready!==> default: Checking for guest additions in VM...==> default: Setting hostname...==> default: Mounting shared folders... default: /vagrant => c:/path/to/drupal-demonstration default: /tmp/vagrant-puppet/environments => c:/path/to/drupal-demonstration/puppet/environment default: /tmp/vagrant-puppet/modules-f71316dd467cca918424590c4186206a => c:/path/to/drupal-demonstration/puppet/environment/development/modules default: /tmp/vagrant-puppet/manifests-864bb2b87e0b8d63b5331c073d57a286 => c:/path/to/drupal-demonstration/puppet/environment/development/manifests==> default: Running provisioner: puppet...==> default: Running Puppet with environment development...==> default: Notice: Compiled catalog for drupal-demonstration.com in environment development in 1.92 seconds==> default: Notice: /Stage[main]/Mysql::Server::Install/Package[mysql-server]/ensure: created==> default: Notice: /Stage[main]/Mysql::Server::Config/File[mysql-config-file]/content: content changed '{md5}54dc3e561e817f9c0a376a58383eb013' to '{md5}f3c1bf65999dea8a571555188e422e79'==> default: Notice: /Stage[main]/Mysql::Server::Installdb/Exec[mysql_install_db]/returns: executed successfully==> default: Notice: /Stage[main]/Mysql::Server::Service/Service[mysqld]/ensure: ensure changed 'stopped' to 'running'==> default: Notice: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]/password_hash: defined 'password_hash' as '*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19'==> default: Notice: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]/ensure: defined content as '{md5}46bf5a6182b0abfe142e30fe85424afd'==> default: Notice: /Stage[main]/Mysql::Server::Providers/Mysql_user[authenticated@localhost]/ensure: created==> default: Notice: /Stage[main]/Mysql::Server::Providers/Mysql_user[provisioner@localhost]/ensure: created==> default: Notice: /Stage[main]/Mysql::Server::Providers/Mysql_grant[authenticated@localhost/db_drupal.*]/ensure: created==> default: Notice: /Stage[main]/Mysql::Server::Providers/Mysql_grant[provisioner@localhost/db_drupal.*]/ensure: created==> default: Notice: /Stage[main]/Mysql::Server::Providers/Mysql_database[db_drupal]/ensure: created==> default: Notice: /Stage[main]/Mysql::Bindings::Python/Package[python-mysqldb]/ensure: created==> default: Notice: Applied catalog in 40.86 seconds==> default: Running provisioner: puppet...==> default: Running Puppet with environment development...==> default: Notice: Compiled catalog for drupal-demonstration.com in environment development in 0.92 seconds==> default: Notice: /Stage[main]/Main/Package[git]/ensure: created==> default: Notice: /Stage[main]/Main/Package[httpd]/ensure: created==> default: Notice: /Stage[main]/Main/Package[php]/ensure: created==> default: Notice: /Stage[main]/Main/Package[php-mysql]/ensure: created==> default: Notice: /Stage[main]/Main/Package[gd]/ensure: created==> default: Notice: /Stage[main]/Main/Package[dos2unix]/ensure: created==> default: Notice: /Stage[main]/Main/Exec[start-httpd]: Triggered 'refresh' from 6 events==> default: Notice: /Stage[main]/Main/Exec[autostart-httpd]: Triggered 'refresh ' from 1 events==> default: Notice: /Stage[main]/Main/Exec[add-epel]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[update-yum]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[install-phpmyadmin]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[define-errordocument-403]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-403]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[remove-comment-errordocument-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-comment-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[define-http-400]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-400]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[remove-comment-errordocument-2]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-comment-2]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[phpmyadmin-access-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[phpmyadmin-access-2]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[php-memory-limit]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[change-docroot]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[adjust-firewalld]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[restart-firewalld]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[allow-htaccess-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-htaccess-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[allow-htaccess-2]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[mv-httpd-conf-htaccess-2]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[set-time-zone]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Exec[build-rpm-package-1]: Triggered 'refresh' from 1 events==> default: Notice: /Stage[main]/Main/Package[php-opcache]/ensure: created==> default: Notice: /Stage[main]/Main/Exec[restart-services]: Triggered 'refresh' from 1 events==> default: Notice: Applied catalog in 261.22 seconds==> default: Running provisioner: puppet...==> default: Running Puppet with environment development...==> default: Notice: Compiled catalog for drupal-demonstration.com in environment development in 1.24 seconds==> default: Error: Validation of Exec[test-drush-install] failed: 'php drush.phar core-status' is not qualified and no path was specified. Please qualify the command or specify a path. at /tmp/vagrant-puppet/manifests-864bb2b87e0b8d63b5331c073d57a286/install_drush.pp:18The SSH command responded with a non-zero exit status. Vagrantassumes that this means the command failed. The output for this commandshould be in the log above. Please read the output to determine whatwent wrong.
The text was updated successfully, but these errors were encountered:
The following syntax from my
install_drush.pp
, is not downloadingdrush.phar
:When I run a build via
vagrant up
, I get the following error traceback:The text was updated successfully, but these errors were encountered: