Installation script CentOS6 (with oVirt)

I get some strange errors on My CentOS 6 installation:

echo include foreman, foreman_proxy | puppet apply --modulepath
/root/foreman-installer
err:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-testing]:
Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse
'http://www1.dreyou.org/ovirt/vdsm/'
err:
/Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]:
Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse
'http://www1.dreyou.org/ovirt/vdsm/'
notice: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]:
Dependency Yumrepo[foreman_proxy] has failures: true
notice: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]:
Dependency Yumrepo[foreman_proxy-testing] has failures: true
warning: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]:
Skipping because of failed dependencies
notice: /Stage[main]/Foreman_proxy::Config/Augeas[sudo-foreman-proxy]:
Dependency Yumrepo[foreman_proxy] has failures: true
notice: /Stage[main]/Foreman_proxy::Config/Augeas[sudo-foreman-proxy]:
Dependency Yumrepo[foreman_proxy-testing] has failures: true
warning: /Stage[main]/Foreman_proxy::Config/Augeas[sudo-foreman-proxy]:
Skipping because of failed dependencies
notice: /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]: Dependency
Yumrepo[foreman_proxy] has failures: true
notice: /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]: Dependency
Yumrepo[foreman_proxy-testing] has failures: true
warning: /Stage[main]/Foreman_proxy::Config/User[foreman-proxy]: Skipping
because of failed dependencies
notice: /File[/etc/foreman-proxy/settings.yml]: Dependency
Yumrepo[foreman_proxy] has failures: true
notice: /File[/etc/foreman-proxy/settings.yml]: Dependency
Yumrepo[foreman_proxy-testing] has failures: true
warning: /File[/etc/foreman-proxy/settings.yml]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]:
Dependency Yumrepo[foreman_proxy] has failures: true
notice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]:
Dependency Yumrepo[foreman_proxy-testing] has failures: true
warning: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]:
Skipping because of failed dependencies
notice: /File[/etc/puppet/autosign.conf]: Dependency Yumrepo[foreman_proxy]
has failures: true
notice: /File[/etc/puppet/autosign.conf]: Dependency
Yumrepo[foreman_proxy-testing] has failures: true
warning: /File[/etc/puppet/autosign.conf]: Skipping because of failed
dependencies
err:
/Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman-testing]:
Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse
'http://www1.dreyou.org/ovirt/vdsm/'
notice: /File[/tftpboot/boot]: Dependency Yumrepo[foreman_proxy] has
failures: true
notice: /File[/tftpboot/boot]: Dependency Yumrepo[foreman_proxy-testing]
has failures: true
warning: /File[/tftpboot/boot]: Skipping because of failed dependencies
notice: /File[/tftpboot/pxelinux.cfg]: Dependency Yumrepo[foreman_proxy]
has failures: true
notice: /File[/tftpboot/pxelinux.cfg]: Dependency
Yumrepo[foreman_proxy-testing] has failures: true
warning: /File[/tftpboot/pxelinux.cfg]: Skipping because of failed
dependencies
err:
/Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman]:
Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse
'http://www1.dreyou.org/ovirt/vdsm/'
notice: /Stage[main]/Foreman::Install/Package[foreman-sqlite3]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Install/Package[foreman-sqlite3]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Install/Package[foreman-sqlite3]: Skipping
because of failed dependencies
notice: /Stage[main]/Foreman::Install/Package[foreman]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Install/Package[foreman]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Install/Package[foreman]: Skipping because
of failed dependencies
notice: /File[foreman_vhost]: Dependency Yumrepo[foreman] has failures: true
notice: /File[foreman_vhost]: Dependency Yumrepo[foreman-testing] has
failures: true
warning: /File[foreman_vhost]: Skipping because of failed dependencies
notice: /Stage[main]/Apache::Service/Exec[reload-apache]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Apache::Service/Exec[reload-apache]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Apache::Service/Exec[reload-apache]: Skipping because
of failed dependencies
notice: /File[/usr/share/foreman]: Dependency Yumrepo[foreman] has
failures: true
notice: /File[/usr/share/foreman]: Dependency Yumrepo[foreman-testing] has
failures: true
warning: /File[/usr/share/foreman]: Skipping because of failed dependencies
notice: /Stage[main]/Foreman::Config::Passenger/Exec[restart_foreman]:
Dependency Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Config::Passenger/Exec[restart_foreman]:
Dependency Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Config::Passenger/Exec[restart_foreman]:
Skipping because of failed dependencies
notice: /Stage[main]/Foreman::Config/User[foreman]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Config/User[foreman]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Config/User[foreman]: Skipping because of
failed dependencies
notice: /File[/etc/foreman/settings.yaml]: Dependency Yumrepo[foreman] has
failures: true
notice: /File[/etc/foreman/settings.yaml]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /File[/etc/foreman/settings.yaml]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman::Config::Reports/Cron[daily summary]:
Dependency Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Config::Reports/Cron[daily summary]:
Dependency Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Config::Reports/Cron[daily summary]:
Skipping because of failed dependencies
notice: /File[/usr/share/foreman/config/environment.rb]: Dependency
Yumrepo[foreman] has failures: true
notice: /File[/usr/share/foreman/config/environment.rb]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /File[/usr/share/foreman/config/environment.rb]: Skipping because
of failed dependencies
notice: /Stage[main]/Foreman::Config/Cron[clear_session_table]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Config/Cron[clear_session_table]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Config/Cron[clear_session_table]: Skipping
because of failed dependencies
notice: /Stage[main]/Foreman::Service/Service[foreman]: Dependency
Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Service/Service[foreman]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Service/Service[foreman]: Skipping because
of failed dependencies
notice: /File[/usr/share/foreman/config.ru]: Dependency Yumrepo[foreman]
has failures: true
notice: /File[/usr/share/foreman/config.ru]: Dependency
Yumrepo[foreman-testing] has failures: true
warning: /File[/usr/share/foreman/config.ru]: Skipping because of failed
dependencies
notice: /Stage[main]/Foreman::Config::Reports/Cron[expire_old_reports]:
Dependency Yumrepo[foreman] has failures: true
notice: /Stage[main]/Foreman::Config::Reports/Cron[expire_old_reports]:
Dependency Yumrepo[foreman-testing] has failures: true
warning: /Stage[main]/Foreman::Config::Reports/Cron[expire_old_reports]:
Skipping because of failed dependencies
notice: Finished catalog run in 3.35 seconds

··· Op dinsdag 18 december 2012 15:58:46 UTC+1 schreef yamaka...@gmail.com het volgende: > > I "had" a decent install of oVirt on my system and wanted to install > Foreman with it. > > Because my install is running on CentOS, and I wanted to try The Foreman > and am a Ubuntu user most of the time, I would like to use a script that > installs all needed packages, like Ubuntu/Debian does but it's own. > > I found the following script that doesn't work that good anymore and > removes the oVirt installation: > > http://www.uncompiled.com/centos-6-puppet-27-mcollective-foreman-rabbit > > The forman repo was kinda simple to fix, but at the end I get a lot of > errors. > > It would be nice to have some script that install the right packages on > CentOS. > > Does someone have something available ? > > Cheers, > > Matt >

Looks like a Puppet issue. Can you pastebin the
/etc/yum.repos.d/ovirt-dre.repo file? Perhaps its syntax is invalid and
the yumrepo type can't parse it.

··· On 18/12/12 16:33, yamakasi.014@gmail.com wrote: > I get some strange errors on My CentOS 6 installation: > > echo include foreman, foreman_proxy | puppet apply --modulepath > /root/foreman-installer > err: > /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-testing]: > Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse > 'http://www1.dreyou.org/ovirt/vdsm/' > err: > /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]: > Could not evaluate: /etc/yum.repos.d/ovirt-dre.repo:7: Can't parse > 'http://www1.dreyou.org/ovirt/vdsm/'


Dominic Cleal
Red Hat Engineering