cmuench / Magento-Vagrant-Puppet-Nginx

Installs magento and a nginx server
61 stars 21 forks source link

vagrant errors #5

Open Morriz opened 10 years ago

Morriz commented 10 years ago

Hi, tnx for your work first of all. I did find the following when I did a vagrant up (after having done the previous steps in your docs of course):

warning: require is a metaparam; this value will inherit to all contained resources warning: notify is a metaparam; this value will inherit to all contained resources warning: Dynamic lookup of $location_options at /tmp/vagrant-puppet-1/modules-0/nginx/templates/vhost/vhost_location_directory.erb:13 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. warning: Dynamic lookup of $location_options at /tmp/vagrant-puppet-1/modules-0/nginx/templates/vhost/vhost_location_directory.erb:14 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.

Then this one:

err: /Stage[main]/N98magerun::Install/Exec[install magento]/returns: change from notrun to 0 failed: /usr/bin/env php /usr/local/bin/n98-magerun.phar install --magentoVersionByName='magento-ce-1.8.1.0' --installationFolder='/vagrant_data' --dbHost='localhost' --dbUser='root' --dbPass='root' --dbName='magento' --installSampleData='yes' --useDefaultConfigParams='yes' --replaceHtaccessFile='' --baseUrl='http://127.0.0.1:8080' returned 1 instead of one of [0] at /tmp/vagrant-puppet-1/modules-0/n98magerun/manifests/install.pp:37

And furthur up this one:

The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

puppet apply --modulepath '/tmp/vagrant-puppet-1/modules-0:/etc/puppet/modules' --manifestdir /tmp/vagrant-puppet-1/manifests --detailed-exitcodes /tmp/vagrant-puppet-1/manifests/base.pp || [ $? -eq 2 ]

Stdout from the command:

warning: require is a metaparam; this value will inherit to all contained resources warning: notify is a metaparam; this value will inherit to all contained resources warning: Dynamic lookup of $location_options at /tmp/vagrant-puppet-1/modules-0/nginx/templates/vhost/vhost_location_directory.erb:13 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. warning: Dynamic lookup of $location_options at /tmp/vagrant-puppet-1/modules-0/nginx/templates/vhost/vhost_location_directory.erb:14 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.

All the others were notices

twbach commented 10 years ago

Same here.

mrroman commented 10 years ago

The problem is with CURL. It doesn't follow redirect to n98-magerun.phar. I fixed this by adding -L parameter to curl in n98magerun\manifests\init.pp.

cmuench commented 10 years ago

Thanks. It seems that github has changed the download URLs. See this issue: https://github.com/cmuench/puppet-n98magerun/issues/4 We will patch n98-magerun puppet module and n98-magerun itself.

sunel commented 8 years ago

currently i am getting this error

==> default: Warning: Could not retrieve fact fqdn
==> default: Warning: Host is missing hostname and/or domain: packer-virtualbox-iso-1422601639
==> default: Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
==> default: Error: Failed to parse template nginx/conf.d/nginx.conf.erb:
==> default:   Filepath: /usr/local/rvm/gems/ruby-1.9.3-p551/gems/puppet-3.4.3/lib/puppet/parser/scope.rb
==> default:   Line: 287
==> default:   Detail: Scope variable name false is a FalseClass, not a string
==> default:  at /tmp/vagrant-puppet/modules-3f354aa1aaba57c23bdcf57ab8a6b77b/nginx/manifests/config.pp:51 on node packer-virtualbox-iso-1422601639
==> default: Error: Failed to parse template nginx/conf.d/nginx.conf.erb:
==> default:   Filepath: /usr/local/rvm/gems/ruby-1.9.3-p551/gems/puppet-3.4.3/lib/puppet/parser/scope.rb
==> default:   Line: 287
==> default:   Detail: Scope variable name false is a FalseClass, not a string
==> default:  at /tmp/vagrant-puppet/modules-3f354aa1aaba57c23bdcf57ab8a6b77b/nginx/manifests/config.pp:51 on node packer-virtualbox-iso-1422601639