I updated some config files that were touched by the install and now is
working…
···
On Friday, October 26, 2012 10:32:06 AM UTC-7, Andrew Gooding wrote:
>
> I am not getting the URL to access Foreman. Please help me to point them
> out.
>
> I installed Foreman over Centos 6.3 using the following procedure:
>
>
>
> 1. Installed needed base software (ruby, etc)
>
>
>
> 2. install puppet-server-2.7.19
>
>
>
> 3. mkdir -p modules/common; cd modules/common
>
>
>
> 4. git clone --recursive git://
> github.com/theforeman/foreman-installer.git .
>
>
>
> 5. change the foreman_url parameter to include the port number on
> which foreman listens (port 3000)
>
> sed -i "s/http:\/\/\${::fqdn}/http:\/\/puppet.mycompany.com:3000/g"
> /etc/puppet/modules/common/foreman/manifests/params.pp
>
>
>
> 6. echo include puppet, puppet::server, foreman, foreman_proxy,
> passenger | puppet apply --modulepath /etc/puppet/modules/common/
>
>
>
> 7. Foreman Tools installed:
>
> foreman-cli
>
> foreman-libvirt
>
> foreman-ovirt
>
> foreman-ec2 ## Required
>
> foreman-vmware
>
> foreman-console
>
> foreman-mysql
>
> foreman-mysql2
>
> foreman-postgresql
>
> foreman-sqlite
>
>
>
> 8. /usr/share/foreman/config/database.yml
>
> production:
>
> adapter: mysql
>
> database: puppet
>
> username: puppet
>
> password: MYSQL_PASSWORD_PH
>
> socket: "/var/lib/mysql/mysql.sock"
>
> host: localhost
>
> encoding: utf8
>
> timeout: 5000
>
>
>
> 9. /usr/share/foreman/config/settings.yaml
>
> ---
>
> :unattended: true
>
> :puppetconfdir: /etc/puppet/puppet.conf
>
> :login: false
>
> :require_ssl: true
>
> :modulepath: /etc/puppet/modules/
>
> :tftppath: tftp/
>
> :ldap: false
>
> :puppet_server: puppet
>
> :puppet_interval: 30
>
> :document_root: /usr/share/foreman/public
>
> :administrator: FOREMAN_EMAIL_PH
>
> :foreman_url: foreman.DOMAIN_PH
>
>
>
> 10. Rake Foreman DB migration
>
> Set mysql database and user.
>
> cd /usr/share/foreman
>
> cp /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb
> /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman-report.rb
>
> RAILS_ENV=production rake db:migrate
>
> (I see the database and tables are in place)
>
>
>
> 11. Start services
>
> service foreman restart
>
> service foreman-proxy restart
>
> service httpd restart
>
>
>
> 12. The installation created this files under /etc/httpd/conf.d
>
> README foreman.conf passenger.conf puppet.conf ssl.conf welcome.conf
>
> foreman.conf
>
>
>
>
>
> puppet.conf
>
>
>
>
>
> The only page that I see is this one:
>
> http://foreman.mycompany.com:8443/features
>
> http://foreman.mycompany.com:80 # Apache site
>
>
>
> I cannot find a file with the port 3000 and maybe for that I cannot access
> Foreman, the question here is how can I get it/generated in coherence with
> all the settings?
>
>
>
> Where is my Foreman front end URL?
>
>
>
> Maybe I missed an important step in the process, PLEASE HELP !
>
>> 4. git clone --recursive
>> git://github.com/theforeman/foreman-installer.git .
>>
>> 6. echo include puppet, puppet::server, foreman, foreman_proxy,
>> passenger | puppet apply --modulepath /etc/puppet/modules/common/
If you use the default parameters to the installer, it uses Passenger
and SSL, so it will install Apache and listen on
https://yourforemanserver/ rather than on
http://yourforemanserver:3000/
Hope that helps,
Greg