LT71707-MAC:puppet-master lmo0$ vagrant ssh [vagrant@puppetmaster ~]$ yum -y install http://yum.theforeman.org/rc/el6/x86_64/foreman-release.rpm Loaded plugins: fastestmirror You need to be root to perform this command. [vagrant@puppetmaster ~]$ sudo yum -y install http://yum.theforeman.org/rc/el6/x86_64/foreman-release.rpm Loaded plugins: fastestmirror Determining fastest mirrors * base: mirrors.usinternet.com * extras: mirror.itc.virginia.edu * updates: mirrors.usinternet.com base | 3.7 kB 00:00 base/primary_db | 4.4 MB 00:04 extras | 3.4 kB 00:00 extras/primary_db | 18 kB 00:00 puppetlabs-deps | 1.9 kB 00:00 puppetlabs-deps/primary_db | 20 kB 00:00 puppetlabs-products | 1.9 kB 00:00 puppetlabs-products/primary_db | 92 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 3.2 MB 00:02 Setting up Install Process foreman-release.rpm | 10 kB 00:00 Examining /var/tmp/yum-root-bSY6he/foreman-release.rpm: foreman-release-1.2.0-0.4.RC3.el6.noarch Marking /var/tmp/yum-root-bSY6he/foreman-release.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package foreman-release.noarch 0:1.2.0-0.4.RC3.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: foreman-release noarch 1.2.0-0.4.RC3.el6 /foreman-release 2.0 k Transaction Summary ======================================================================================================================== Install 1 Package(s) Total size: 2.0 k Installed size: 2.0 k Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : foreman-release-1.2.0-0.4.RC3.el6.noarch 1/1 Verifying : foreman-release-1.2.0-0.4.RC3.el6.noarch 1/1 Installed: foreman-release.noarch 0:1.2.0-0.4.RC3.el6 Complete! [vagrant@puppetmaster ~]$ yum -y install foreman-installer Loaded plugins: fastestmirror You need to be root to perform this command. [vagrant@puppetmaster ~]$ sudo yum -y install foreman-installer Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.usinternet.com * extras: mirror.itc.virginia.edu * updates: mirrors.usinternet.com foreman | 3.6 kB 00:00 foreman/primary_db | 73 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package foreman-installer.noarch 1:1.2.0-0.3.RC3.el6 will be installed --> Processing Dependency: rubygem-highline for package: 1:foreman-installer-1.2.0-0.3.RC3.el6.noarch --> Running transaction check ---> Package rubygem-highline.noarch 0:1.4.0-2.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: foreman-installer noarch 1:1.2.0-0.3.RC3.el6 foreman 289 k Installing for dependencies: rubygem-highline noarch 1.4.0-2.el6 foreman 161 k Transaction Summary ======================================================================================================================== Install 2 Package(s) Total download size: 449 k Installed size: 1.6 M Downloading Packages: (1/2): foreman-installer-1.2.0-0.3.RC3.el6.noarch.rpm | 289 kB 00:00 (2/2): rubygem-highline-1.4.0-2.el6.noarch.rpm | 161 kB 00:00 ------------------------------------------------------------------------------------------------------------------------ Total 978 kB/s | 449 kB 00:00 warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID e775ff07: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman Importing GPG key 0xE775FF07: Userid : Foreman Archive Signing Key Package: foreman-release-1.2.0-0.4.RC3.el6.noarch (@/foreman-release) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-foreman Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : rubygem-highline-1.4.0-2.el6.noarch 1/2 Installing : 1:foreman-installer-1.2.0-0.3.RC3.el6.noarch 2/2 Verifying : rubygem-highline-1.4.0-2.el6.noarch 1/2 Verifying : 1:foreman-installer-1.2.0-0.3.RC3.el6.noarch 2/2 Installed: foreman-installer.noarch 1:1.2.0-0.3.RC3.el6 Dependency Installed: rubygem-highline.noarch 0:1.4.0-2.el6 Complete! [vagrant@puppetmaster ~]$ ruby /usr/share/foreman-installer/generate_answers.rb Welcome to the Foreman Installer! --------------------------------- This installer will help you set up Foreman and the associated extra configuration necessary to get you up and running. There is an interactive shell which will ask you questions, but if you just want to get up and running as fast as possible, answer 'yes' to the all-in-one install at the beginning Ready to start? (y/n) y Do you want to use the default all-in-one setup? This will configure Foreman, Foreman-Proxy, Puppet (including a puppetmaster), several puppet environments, TFTP (for provisioning) and sudo (for puppet certificate management) (y/n) Please enter "yes" or "no". Do you want to use the default all-in-one setup? This will configure Foreman, Foreman-Proxy, Puppet (including a puppetmaster), several puppet environments, TFTP (for provisioning) and sudo (for puppet certificate management) (y/n) y /usr/share/foreman-installer/generate_answers.rb:87:in `initialize': Permission denied - /usr/share/foreman-installer/foreman_installer/answers.yaml (Errno::EACCES) from /usr/share/foreman-installer/generate_answers.rb:87:in `open' from /usr/share/foreman-installer/generate_answers.rb:87:in `save_or_run_and_exit' from /usr/share/foreman-installer/generate_answers.rb:171 [vagrant@puppetmaster ~]$ sudo ruby /usr/share/foreman-installer/generate_answers.rb Welcome to the Foreman Installer! --------------------------------- This installer will help you set up Foreman and the associated extra configuration necessary to get you up and running. There is an interactive shell which will ask you questions, but if you just want to get up and running as fast as possible, answer 'yes' to the all-in-one install at the beginning Ready to start? (y/n) y Do you want to use the default all-in-one setup? This will configure Foreman, Foreman-Proxy, Puppet (including a puppetmaster), several puppet environments, TFTP (for provisioning) and sudo (for puppet certificate management) (y/n) y Do you want to run Puppet now with these settings? (y/n) y Info: Loading facts in /usr/share/foreman-installer/postgresql/lib/facter/postgres_default_version.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/root_home.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/pe_version.rb Info: Loading facts in /usr/share/foreman-installer/concat/lib/facter/concat_basedir.rb Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults Info: Loading facts in /usr/share/foreman-installer/postgresql/lib/facter/postgres_default_version.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/root_home.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /usr/share/foreman-installer/stdlib/lib/facter/pe_version.rb Info: Loading facts in /usr/share/foreman-installer/concat/lib/facter/concat_basedir.rb Info: Applying configuration version '1372528213' Notice: /File[/var/lib/puppet/concat]/ensure: created Notice: /File[/var/lib/puppet/concat/bin]/ensure: created Notice: /File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure: defined content as '{md5}88a59747f75834fad4827c4ab6087a81' Notice: /Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman]/descr: descr changed 'Foreman RC' to 'Foreman rc repository' Notice: /Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman]/gpgkey: gpgkey changed 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman' to 'http://yum.theforeman.org/RPM-GPG-KEY-foreman' Notice: /Stage[main]/Foreman_proxy::Tftp/Package[wget]/ensure: created Notice: /Stage[main]/Postgresql::Client/Package[postgresql-client]/ensure: created Notice: /Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman-source]/descr: descr changed 'Foreman RC - source' to 'Foreman rc source repository' Notice: /Stage[main]/Foreman::Install/Foreman::Install::Repos[foreman]/Yumrepo[foreman-source]/gpgkey: gpgkey changed 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman' to 'http://yum.theforeman.org/RPM-GPG-KEY-foreman' Info: create new repo foreman_proxy-source in file /etc/yum.repos.d/foreman_proxy-source.repo Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-source]/descr: descr changed '' to 'Foreman rc source repository' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-source]/baseurl: baseurl changed '' to 'http://yum.theforeman.org/rc/el6/source' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-source]/enabled: enabled changed '' to '0' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-source]/gpgcheck: gpgcheck changed '' to '1' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy-source]/gpgkey: gpgkey changed '' to 'http://yum.theforeman.org/RPM-GPG-KEY-foreman' Info: changing mode of /etc/yum.repos.d/foreman_proxy-source.repo from 600 to 644 Info: create new repo foreman_proxy in file /etc/yum.repos.d/foreman_proxy.repo Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/descr: descr changed '' to 'Foreman rc repository' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/baseurl: baseurl changed '' to 'http://yum.theforeman.org/rc/el6/$basearch' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/enabled: enabled changed '' to '1' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/gpgcheck: gpgcheck changed '' to '1' Notice: /Stage[main]/Foreman_proxy::Install/Foreman::Install::Repos[foreman_proxy]/Yumrepo[foreman_proxy]/gpgkey: gpgkey changed '' to 'http://yum.theforeman.org/RPM-GPG-KEY-foreman' Info: changing mode of /etc/yum.repos.d/foreman_proxy.repo from 600 to 644 Notice: /Stage[main]/Foreman::Install/Package[foreman-postgresql]/ensure: created Notice: /Stage[main]/Foreman::Install/Package[foreman-selinux]/ensure: created Notice: /Stage[main]/Puppet::Server::Install/Package[puppet-server]/ensure: created Info: Class[Puppet::Server::Install]: Scheduling refresh of Class[Puppet::Server::Config] Notice: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml]/ensure: created Notice: /File[/usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb]/ensure: defined content as '{md5}2f08fddeb52bea0efa8ea9acd5b2696b' Notice: /Stage[main]/Postgresql::Server/Package[postgresql-server]/ensure: created Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-proxy' returned 1: Error: Package: foreman-proxy-1.2.0-0.3.RC3.el6.noarch (foreman) Requires: rubygem(sinatra) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Error: /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-proxy' returned 1: Error: Package: foreman-proxy-1.2.0-0.3.RC3.el6.noarch (foreman) Requires: rubygem(sinatra) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Info: Class[Foreman_proxy::Install]: Scheduling refresh of Class[Foreman_proxy::Config] Notice: /Stage[main]/Tftp::Install/Package[tftp-server]/ensure: created Notice: /Stage[main]/Tftp::Install/Package[syslinux]/ensure: created Info: Class[Tftp::Install]: Scheduling refresh of Class[Tftp::Config] Info: Class[Tftp::Config]: Scheduling refresh of Xinetd::Service[tftp] Notice: /File[/etc/tftpd.map]/ensure: defined content as '{md5}e25509e3ae895f72cf1671b614890797' Info: /File[/etc/tftpd.map]: Scheduling refresh of Class[Xinetd] Info: Class[Xinetd]: Scheduling refresh of Service[xinetd] Notice: /File[/var/lib/tftpboot//menu.c32]/ensure: defined content as '{md5}73308b382ddddfb212de61895648d765' Notice: /File[/var/lib/tftpboot//chain.c32]/ensure: defined content as '{md5}a068c7ca7159b708c34a1389c5e75ba0' Notice: /File[/var/lib/tftpboot//memdisk]/ensure: defined content as '{md5}f2cb2d76aa181eecfd102c1a042aacb2' Notice: /File[/var/lib/tftpboot//pxelinux.0]/ensure: defined content as '{md5}869e4a77638e71c9d7042a55fcfb9992' Info: FileBucket adding {md5}9ff8cc688dd9f0dfc45e5afd25c427a7 Info: /File[/etc/xinetd.conf]: Filebucketed /etc/xinetd.conf to puppet with sum 9ff8cc688dd9f0dfc45e5afd25c427a7 Notice: /File[/etc/xinetd.conf]/content: content changed '{md5}9ff8cc688dd9f0dfc45e5afd25c427a7' to '{md5}168