Is PuppetDB environment aware?

50 views
Skip to first unread message

Vadym Chepkov

unread,
Jun 16, 2014, 10:15:06 PM6/16/14
to puppet...@googlegroups.com
Greetings,

Does PuppetDB support "environments" similar to puppet?
I noticed exported resources are "crossing" from one environment to another.
I would like to prevent this without having to add $environment to every single tag and 
forge modules don't do it anyway, so there must be a some way to have PuppetDB to segregate environments.

Thanks,
Vadym

Yanis Guenane

unread,
Jun 17, 2014, 8:41:15 AM6/17/14
to puppet...@googlegroups.com
The latest version of PuppetDB (ie. 2.0.0) does support environments.

The first line of the release note is 'PuppetDB 2.0.0 is a feature release focusing on environments support'.

Here the full link: http://docs.puppetlabs.com/puppetdb/2.0/release_notes.html

--
Yanis Guenane
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f33befb1-2c44-484b-a815-6f93d0ed232b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vadym Chepkov

unread,
Jun 17, 2014, 11:12:26 AM6/17/14
to puppet...@googlegroups.com
On Jun 17, 2014, at 8:40 AM, Yanis Guenane <ygue...@gmail.com> wrote:

The latest version of PuppetDB (ie. 2.0.0) does support environments.

The first line of the release note is 'PuppetDB 2.0.0 is a feature release focusing on environments support'.

Here the full link: http://docs.puppetlabs.com/puppetdb/2.0/release_notes.html


I guess this means that Puppet Enterprise product currently doesn’t support environments since it includes PuppetDB 1.5.2
No work arounds?  Are there any plans to include PuppetDB 2.0.0  in PE any time soon?

Thanks,
Vadym


Ken Barber

unread,
Jun 17, 2014, 12:12:16 PM6/17/14
to Puppet Users
The support for environments in PDB is for storing the environment
where a catalog/factset/report came from ... and you can certainly
query on it, but currently with ordinary resource collection you
cannot constrain on environment. There is an open ticket in the Puppet
queue to do this in the future:
https://tickets.puppetlabs.com/browse/PUP-2217

For now though one can use something like puppetdbquery, and certainly
filter on environment.

As far as PE inclusion, inclusion of PDB 2.x is slated for PE 3.4 at
this point in time. I'm not sure when the dates for that release will
be confirmed.

ken.
Reply all
Reply to author
Forward
0 new messages