Configuration issue that I can't seem to figure out

I'm gathering this is PEBKAC

puppet 2.6.8 (from gem)
foreman 0.3 (from git)
passenger 3.0.7 / apache (puppetmaster, dashboard & foreman)

If I cd /var/www/foreman and execute 'rake puppet:import:puppet_classes' it seems to import classes & environment changes that I have made just fine. But these changes aren't reflected on the foreman web server. For example, my development environment doesn't show up at all on the web server. So if I then choose 'Import Classes and Environments' on the foreman web server itself, it doesn't see any changes (but sometimes it has found classes that I have added in the past). It just says "No changes to your environments detected" The rake execution says that it created the 'development' environment and the classes in the development environment just fine - as expected. The web server doesn't show the development environment at all.

puppet.conf on the puppetmaster (and foreman web server is the same system)
[main]

Basic config:

logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/etc/puppet/ssl
rundir=/var/run/puppet
graphdir = /var/lib/puppet/state/graphs
reportdir = /var/lib/puppet/reports
factpath = $vardir/lib/facter, $vardir/yaml/facts
bucketdir = /var/lib/puppet/bucket
yamldir = /var/lib/puppet/yaml
plugindest = /var/lib/puppet/lib

<----snip —>
[production]
manifestdir = /etc/puppet/manifests
manifest = /etc/puppet/manifests/site.pp
modulepath = /etc/puppet/modules
modulesdir = /etc/puppet/modules

[development]
manifestdir = /etc/puppet/environments/development/manifests
manifest = /etc/puppet/environments/development/manifests/site.pp
modulepath = /etc/puppet/environments/development/modules
modulesdir = /etc/puppet/environments/development/modules

#Puppetmaster-config:
[master]
<----snip —>

··· -- Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com

Need help communicating between generations at work to achieve your desired success? Let us help!

> I'm gathering this is PEBKAC
>
> puppet 2.6.8 (from gem)
> foreman 0.3 (from git)
> passenger 3.0.7 / apache (puppetmaster, dashboard & foreman)
>
> If I cd /var/www/foreman and execute 'rake puppet:import:puppet_classes'
try:
RAILS_ENV=production rake puppet…

Ohad

it seems to import classes & environment changes that I have made
just fine. But these changes aren't reflected on the foreman web
server. For example, my development environment doesn't show up at all
on the web server. So if I then choose 'Import Classes and
Environments' on the foreman web server itself, it doesn't see any
changes (but sometimes it has found classes that I have added in the
past). It just says "No changes to your environments detected" The
rake execution says that it created the 'development' environment and
the classes in the development environment just fine - as expected.
The web server doesn't show the development environment at all.

··· On Thu, Jul 28, 2011 at 8:31 PM, Craig White wrote: > > puppet.conf on the puppetmaster (and foreman web server is the same system) > [main] > # Basic config: > logdir=/var/log/puppet > vardir=/var/lib/puppet > ssldir=/etc/puppet/ssl > rundir=/var/run/puppet > graphdir = /var/lib/puppet/state/graphs > reportdir = /var/lib/puppet/reports > factpath = $vardir/lib/facter, $vardir/yaml/facts > bucketdir = /var/lib/puppet/bucket > yamldir = /var/lib/puppet/yaml > plugindest = /var/lib/puppet/lib > > <----snip ---> > [production] > manifestdir = /etc/puppet/manifests > manifest = /etc/puppet/manifests/site.pp > modulepath = /etc/puppet/modules > modulesdir = /etc/puppet/modules > > [development] > manifestdir = /etc/puppet/environments/development/manifests > manifest = /etc/puppet/environments/development/manifests/site.pp > modulepath = /etc/puppet/environments/development/modules > modulesdir = /etc/puppet/environments/development/modules > > #Puppetmaster-config: > [master] > <----snip ---> > > -- > Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com > 1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com > > Need help communicating between generations at work to achieve your desired success? Let us help! > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. > >

I see said the blind man…

Thanks

··· On Jul 28, 2011, at 11:18 AM, Ohad Levy wrote:

On Thu, Jul 28, 2011 at 8:31 PM, Craig White craig.white@ttiltd.com wrote:

I’m gathering this is PEBKAC

puppet 2.6.8 (from gem)
foreman 0.3 (from git)
passenger 3.0.7 / apache (puppetmaster, dashboard & foreman)

If I cd /var/www/foreman and execute 'rake puppet:import:puppet_classes’
try:
RAILS_ENV=production rake puppet…

Ohad

it seems to import classes & environment changes that I have made
just fine. But these changes aren’t reflected on the foreman web
server. For example, my development environment doesn’t show up at all
on the web server. So if I then choose ‘Import Classes and
Environments’ on the foreman web server itself, it doesn’t see any
changes (but sometimes it has found classes that I have added in the
past). It just says “No changes to your environments detected” The
rake execution says that it created the ‘development’ environment and
the classes in the development environment just fine - as expected.
The web server doesn’t show the development environment at all.

puppet.conf on the puppetmaster (and foreman web server is the same system)
[main]

Basic config:

logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/etc/puppet/ssl
rundir=/var/run/puppet
graphdir = /var/lib/puppet/state/graphs
reportdir = /var/lib/puppet/reports
factpath = $vardir/lib/facter, $vardir/yaml/facts
bucketdir = /var/lib/puppet/bucket
yamldir = /var/lib/puppet/yaml
plugindest = /var/lib/puppet/lib

<----snip —>
[production]
manifestdir = /etc/puppet/manifests
manifest = /etc/puppet/manifests/site.pp
modulepath = /etc/puppet/modules
modulesdir = /etc/puppet/modules

[development]
manifestdir = /etc/puppet/environments/development/manifests
manifest = /etc/puppet/environments/development/manifests/site.pp
modulepath = /etc/puppet/environments/development/modules
modulesdir = /etc/puppet/environments/development/modules

#Puppetmaster-config:
[master]
<----snip —>


Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com

Need help communicating between generations at work to achieve your desired success? Let us help!


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.


Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com

Need help communicating between generations at work to achieve your desired success? Let us help!