servergrove / vps-dev-setup

Puppet and Vagrant configuration files to setup a development environment similar to ServerGrove
20 stars 4 forks source link

Result of centos vagrant up #4

Closed markushausammann closed 10 years ago

markushausammann commented 10 years ago
Running Puppet with base.pp...
err: /Stage[setup]/Redhat_repository/Exec[epel.repo]/returns: change from notrun
 to 0 failed: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-releas
e-6-7.noarch.rpm returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules
-0/repository/manifests/redhat_repository.pp:17
notice: /Stage[setup]/Redhat_repository/Exec[import-key]/returns: executed succe
ssfully
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/baseurl: baseurl ch
anged '' to 'http://repos.servergrove.com/servergrove-rhel-6/$basearch'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/enabled: enabled ch
anged '' to '1'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/gpgcheck: gpgcheck
changed '' to '1'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/gpgkey: gpgkey chan
ged '' to 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-servergrove-rhel-6'
notice: /Stage[main]/Mysql/Package[mysql-client]: Dependency Exec[epel.repo] has
 failures: true
warning: /Stage[main]/Mysql/Package[mysql-client]: Skipping because of failed de
pendencies
notice: /Stage[main]/Mysql/Package[mysql-server]: Dependency Exec[epel.repo] has
 failures: true
warning: /Stage[main]/Mysql/Package[mysql-server]: Skipping because of failed de
pendencies
notice: /Stage[main]/Mysql/Service[mysql]: Dependency Exec[epel.repo] has failur
es: true
warning: /Stage[main]/Mysql/Service[mysql]: Skipping because of failed dependenc
ies
notice: /Stage[main]/Apache/Package[apache2]: Dependency Exec[epel.repo] has fai
lures: true
warning: /Stage[main]/Apache/Package[apache2]: Skipping because of failed depend
encies
notice: /Stage[main]/Php/Package[php53]: Dependency Exec[epel.repo] has failures
: true
warning: /Stage[main]/Php/Package[php53]: Skipping because of failed dependencie
s
notice: /Stage[main]/Php/Package[php53-mod_php]: Dependency Exec[epel.repo] has
failures: true
warning: /Stage[main]/Php/Package[php53-mod_php]: Skipping because of failed dep
endencies
notice: /Stage[main]/Webserver/File[/etc/apache2/sites-enabled/example.com]: Dep
endency Exec[epel.repo] has failures: true
warning: /Stage[main]/Webserver/File[/etc/apache2/sites-enabled/example.com]: Sk
ipping because of failed dependencies
notice: /Stage[main]/Php/Package[php53-apc]: Dependency Exec[epel.repo] has fail
ures: true
warning: /Stage[main]/Php/Package[php53-apc]: Skipping because of failed depende
ncies
notice: /Stage[main]/Apache/Service[apache2]: Dependency Exec[epel.repo] has fai
lures: true
warning: /Stage[main]/Apache/Service[apache2]: Skipping because of failed depend
encies
notice: Finished catalog run in 11.43 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

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

Stdout from the command:

err: /Stage[setup]/Redhat_repository/Exec[epel.repo]/returns: change from notrun
 to 0 failed: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-releas
e-6-7.noarch.rpm returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules
-0/repository/manifests/redhat_repository.pp:17
notice: /Stage[setup]/Redhat_repository/Exec[import-key]/returns: executed succe
ssfully
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/baseurl: baseurl ch
anged '' to 'http://repos.servergrove.com/servergrove-rhel-6/$basearch'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/enabled: enabled ch
anged '' to '1'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/gpgcheck: gpgcheck
changed '' to '1'
notice: /Stage[setup]/Redhat_repository/Yumrepo[servergrove]/gpgkey: gpgkey chan
ged '' to 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-servergrove-rhel-6'
notice: /Stage[main]/Mysql/Package[mysql-client]: Dependency Exec[epel.repo] has
 failures: true
warning: /Stage[main]/Mysql/Package[mysql-client]: Skipping because of failed de
pendencies
notice: /Stage[main]/Mysql/Package[mysql-server]: Dependency Exec[epel.repo] has
 failures: true
warning: /Stage[main]/Mysql/Package[mysql-server]: Skipping because of failed de
pendencies
notice: /Stage[main]/Mysql/Service[mysql]: Dependency Exec[epel.repo] has failur
es: true
warning: /Stage[main]/Mysql/Service[mysql]: Skipping because of failed dependenc
ies
notice: /Stage[main]/Apache/Package[apache2]: Dependency Exec[epel.repo] has fai
lures: true
warning: /Stage[main]/Apache/Package[apache2]: Skipping because of failed depend
encies
notice: /Stage[main]/Php/Package[php53]: Dependency Exec[epel.repo] has failures
: true
warning: /Stage[main]/Php/Package[php53]: Skipping because of failed dependencie
s
notice: /Stage[main]/Php/Package[php53-mod_php]: Dependency Exec[epel.repo] has
failures: true
warning: /Stage[main]/Php/Package[php53-mod_php]: Skipping because of failed dep
endencies
notice: /Stage[main]/Webserver/File[/etc/apache2/sites-enabled/example.com]: Dep
endency Exec[epel.repo] has failures: true
warning: /Stage[main]/Webserver/File[/etc/apache2/sites-enabled/example.com]: Sk
ipping because of failed dependencies
notice: /Stage[main]/Php/Package[php53-apc]: Dependency Exec[epel.repo] has fail
ures: true
warning: /Stage[main]/Php/Package[php53-apc]: Skipping because of failed depende
ncies
notice: /Stage[main]/Apache/Service[apache2]: Dependency Exec[epel.repo] has fai
lures: true
warning: /Stage[main]/Apache/Service[apache2]: Skipping because of failed depend
encies
notice: Finished catalog run in 11.43 seconds

Stderr from the command:

I don't know what all of this means since I've never worked with puppet before but maybe you can work with that.

pgodel commented 10 years ago

I updated the epel release version as it seems they changed it, can you try again?

markushausammann commented 10 years ago

Thanks, I'll try it again. I found other boxes with the same problem in the meantime. I'm playing around with all kinds of boxes and setups. Especially the CentOS 6.4 box from puphpet. Nice project but I'd say some things are a bit alpha-like still.

icg-imarinova commented 10 years ago

Were you able to resolve this issue?

markushausammann commented 10 years ago

I have spent a massive amount of time trying to make vagrant work for us... but so far to no avail. Whenever I manage to solve one problem, another pops up. So I don't know about this specific one here anymore. I've given up for now.

pgodel commented 10 years ago

We are converting the Puppet configuration into Ansible which be have found to be much easier to work with. We will update this repo with the new configuration once we are done testing.

markushausammann commented 10 years ago

That's great, my analysis of Puppet, Chef and Ansible has clearly resulted in me becoming a fan of Ansible. I didn't dare to hope you'd convert your boxes.

markushausammann commented 10 years ago

https://vagrantcloud.com/

markushausammann commented 10 years ago

Any news on this?

pgodel commented 10 years ago

Sorry, I have not had any time to finish this, we are focused in our last weeks of development on the new release. I will let you know asap. If you want to beta test it, I can try to push something out.

markushausammann commented 10 years ago

If you have a beta version, I'd be glad to beta-test.