API to update Puppet Environments

Looking over the API, is there a call to update / import new environments
from a SmartProxy? I see calls to import / update puppet classes, but
nothing that checks for new defined environments.

Thanks

It's pretty much the same - Foreman only imports environments when there
are Puppet classes, it doesn't detect a defined, empty environment. If
you need that, you'll need to create them explicitly via POST
/api/v2/environments.

··· On 26/01/16 22:39, Matthew Ceroni wrote: > Looking over the API, is there a call to update / import new > environments from a SmartProxy? I see calls to import / update puppet > classes, but nothing that checks for new defined environments.


Dominic Cleal
dominic@cleal.org