puppet dashboard multiple directory environments?
I have puppet-dashboard (news RHEL6 release) as ENC running combined with puppet 3.7.x and PuppetDB. All as passenger modules (httpd). It works like a charm with one "production" environment. The mysql-database for the other environments is set up too.
However, adding a key parameter "environment" with value "development" in Puppet Dashboard seems to have no effect to the way, puppet-dashboard-workers store the data in the database. They always use the puppet-dashboard-production database, independent of the configured environment at the ENC. Even changing the environment in the puppet agent (puppet.conf, [agent] section) itself does not affect the database puppet-dashboard uses to store the node and report itself.
Unfortunately the old documentation of puppet-dashboard vanished.
The Database connection between puppet-server/dashboard/mysql-server works flawless, both for the production and development database.
So far I tried to change the workers process, so that the delayedjobs run with RUBYENV=development instead of production (/etc/init.d/puppet-dashboard-workers) but this only leads to pending jobs and seems to have no effect...
I can serve you guys some logs tomorrow back at work, but anyways would be glad if anyone who has a similiar setup could tell me where to dig in.