#1183: configprint option does not regonize environments
------------------------------------+---------------------------------------
Reporter: ehisey | Owner: community
Type: defect | Status: new
Priority: normal | Component: executables
Version: 0.24.4 | Severity: normal
Keywords: environment configprint | Stage: Unreviewed
Patch: None | Complexity: Unknown
------------------------------------+---------------------------------------
When using puppetd ---environment=development --configprint <config
name> the --environment variable is getting ignored. As you can see
below
Complete puppet.conf:
{{{
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
environment = production
manifest = $manifestdir/site.pp
[puppetmasterd]
environments=production,development
[puppetd]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
environments=production,development
[production]
manifest = /srv/puppet/production/manifests/site.pp
[development]
manifest = /srv/puppet/development/manifests/site.pp
}}}
From default settings[[BR]]
{{{
# puppetd --configprint manifest
/etc/puppet/manifests/site.pp
}}}
Using enviroments:
{{{
# puppetd --environment=development --configprint manifest
/etc/puppet/manifests/site.pp
# puppetd --environment=production --configprint manifest
/etc/puppet/manifests/site.pp
}}}
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1183>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---