The code in foreman.rb is probably connecting directly to foreman on
http://(local?)host:3000. You may need to modify that file to connect to
http://host:80 or via https. Alternately you could just have passenger
listen to said port (localhost:3000).
Note I don't strictly know that's true of Foreman. I'm guessing, based
on my experiences with dashboard and passenger.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
/etc/httpd/conf.d/foreman.conf:
<VirtualHost *:443>
ServerName hostnameXYZ
ServerAlias foreman
RailsAutoDetect On
DocumentRoot /var/www/html
RailsBaseURI /foreman
# Use puppet certi ficates for SSL
SSLEngine on
SSLCertificateFile /var/lib/puppet/ssl/certs/
hpjs01.isn.instinet.com.pem
SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/
hpjs01.isn.instinet.com.pem
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
reports= log,foreman,store
pluginsync = true
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
reportdir = /var/lib/puppet/reports
storeconfigs = true
dbadapter = mysql
dbuser = app_puppet
dbpassword = CoNf1Gpupp3T
dbserver = localhost
dbsocket = /sql/mysql/mysql.sock
rrddir=/var/lib/puppet/rrd
rrdinterval=$runinterval
rrdgraph=true
[puppetd]
classfile = $vardir/classes.txt
report = true
localconfig = $vardir/localconfig
*****************************************
The reports come in fine under /var/lib/puppet/reports. The only
piece that's not working is the reports on foreman. Any suggestions?
Thanks,
Henry
> What does your apache conf look like for foreman and the reports?
>