Issue #5526 has been updated by Jason Antman.

If you're configuring your master via puppet, and using Puppet3/PuppetDB, this 
data should be available through storedconfigs. I'm running a fork of the 
very-out-of-date puppetlabs-puppet module, and once I have my next dev 
environment up and running, I'll confirm. I know it's really a workaround, but 
if you have puppet::master::environment classes declared, that data should be 
available from PuppetDB.

----------------------------------------
Feature #5526: API call to return list of available environments
https://projects.puppetlabs.com/issues/5526#change-97703

* Author: James Turnbull
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: API
* Target version: 
* Affected Puppet version: 
* Keywords: API introspection environment ENC
* Branch: 
----------------------------------------
Usage: Would like to make an API call as a validation to an ENC to return a 
list of valid environments:

Story: Bob has an ENC in a web interface and wants to add a node to an 
environment.  He sets the environment setting to "testing" but has no idea 
until he runs the ENC if the "testing" environment exists.  Instead he'd like 
his web interface to query the Puppet master and return a list of valid 
environments so he can validate that the "testing" environment exists.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to