[Puppet Users] Re: Clean Puppet 3 to Puppet 4 migration

2017-10-18 Thread Peter Souter
One of the useful tools for an upgrade situation is the Catalog Preview tool. It requires Puppet 3.8, which should be a much smaller jump for you (3.7 -> 3.8) to begin with. It'll probably help soothe worries for the ops team by allowing a level of testing and certainty before the big jump.

[Puppet Users] Re: SSL_read:: shutdown while in init error

2017-10-18 Thread Peter Souter
Hi folks, I saw Vishal's question over on StackOverflow , and googling it came back to here! I answered Vishal over on SO, but thought I'd post it here for Maxim also and close the loop: It

Re: [Puppet Users] Re: Is ensure_resource() evil?

2017-10-18 Thread Rob Nelson
It’s not wrong, but it’s order dependent. Assuming the two or more resource definitions have some variance, you cannot guarantee the resource will be realized as you intend. This you have to be very careful to not have conflicting definitions that could flip flop over time or outright conflict.

Re: [Puppet Users] Re: Is ensure_resource() evil?

2017-10-18 Thread Johan Fleury
Le 17/10/2017 à 08:59, jcbollinger a écrit : > Nothing has changed with `ensure_resource()`. The problem is not its > implementation details, but rather the nature of the usage modes the > function is *designed* to support. The whole idea of it is flawed. We can > reprise that discussion if

Re: [Puppet Users] PuppetServer 2.8 resource Leak

2017-10-18 Thread Peter Meier
> There still a leak on Trocla database connections (latest > gem/module/hiera backend). > > I've installed a puppetserver, with only a node connected on; after 5 > days, there is 240 opened connections. So, as you were changing a lot (new gem, module and switching to new backend) I'm not sure

[Puppet Users] Re: Creating a PowerShell based fact to get Drive Letters and Labels

2017-10-18 Thread Jason McMahan
We use the windows disk facts module at https://forge.puppet.com/dylanratcliffe/windows_disk_facts That should give you what you want then you can use it within your manifests. On Tuesday, October 17, 2017 at 4:22:20 PM UTC-5, Ryan Murphy wrote: > > So I have the following powershell command

[Puppet Users] Autofs suggestions

2017-10-18 Thread Jason McMahan
Hello, We are looking to remove our auto mounts from ldap and manage in puppet. We have the puppet/autofs module. One thing we would like to do is break auto mounts from all to specific. For instance we do not want all servers to get oracle auto mounts however they are in the same map file.

[Puppet Users] Moving a node from an environment to new one causes error

2017-10-18 Thread Subhi Andrews
We are windows environment. Moved a couple of nodes were moved from our existing environment named tlc to citrix: Here's our master puppet.conf: rundir = /var/run/puppet # Where SSL certificates are kept. # The default value is '$confdir/ssl'. ssldir = $vardir/ssl

[Puppet Users] Terraform module available to deploy Puppet to a Nomad cluster.

2017-10-18 Thread Bill Ward
I wrote a Terraform module to deploy a puppet server environment to a Nomad cluster. https://registry.terraform.io/modules/admintome/puppet/nomad/0.1.0 I also wrote an article on my blog on how to use it: http://www.admintome.com/blog/terraform-module-for-puppet-in-docker/ This let's you

Re: [Puppet Users] PuppetServer 2.8 resource Leak

2017-10-18 Thread Poil
The Trocla leak seems to be in the trocla-hiera-backend diff --git a/lib/puppet/functions/trocla_lookup_key.rb b/lib/puppet/functions/trocla_lookup_key.rb index d377ec8..f61df46 100644 --- a/lib/puppet/functions/trocla_lookup_key.rb +++ b/lib/puppet/functions/trocla_lookup_key.rb @@ -33,6 +33,8

Re: [Puppet Users] PuppetServer 2.8 resource Leak

2017-10-18 Thread Poil
Hi, There still a leak on Trocla database connections (latest gem/module/hiera backend). I've installed a puppetserver, with only a node connected on; after 5 days, there is 240 opened connections. Best regards, Le 16/10/2017 à 09:44, Poil a écrit : Hi, We have upgrade to Hiera Backend