[Puppet Users] Puppet ordering: ensure exported resource to be evaluated BEFORE classes

2018-01-08 Thread desertkun
I would like to export "location" information from one node to another. And stuck with that problem for weeks now. In order to achieve that, I use exported resources. Here's the simplified idea: define location ($host) { notify {"Location being defined ${title} -> ${host}": } } # export t

RE: [Puppet Users] Puppet ordering: ensure exported resource to beevaluated BEFORE classes

2018-01-08 Thread Matthew Kennedy
As far as I understand this is not really possible. This is because you don’t have control over the order of compilation of resources into the catalog. The compiler first evaluates all classes then moves on and eventually has a step that evaluates all collections and so on until the catalog is

[Puppet Users] puppet5 upgrade performance issues

2018-01-08 Thread chris smith
Hi there, I recently did an upgrade from puppetserver 2.7.2 to puppetserver 5.0 and performance has bottomed out pretty terribly. Agents and puppetdb also got updated. Compiling the catalog on the server used to take 10-20 seconds, now they are taking 90-150 seconds and agent runs are taking 30