[Puppet Users] Puppet Community Roles and Profiles

2017-01-11 Thread Thomas Müller
Hey Joe Roles and profiles isnt tied to puppet enterprise. Works great with non-enterprise edition. Original blogpost about the concept: http://www.craigdunn.org/2012/05/239/ Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Puppet Community Roles and Profiles

2017-01-11 Thread Joe
Hello All, Does Puppet Community support Roles and Profiles? The Puppet Community does section does not appear to have documentation on them, just looking for confirmation. Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Exec Windows command fails

2017-01-11 Thread Dimitri Yioulos
Hello, all. I'm trying to create a manifest that will 1) create a file populated with wmic-generated data, and; 2) rename that file to include the server name. Here's what I've written: class win_diskinfo { exec { 'create disk info file' : command => 'c:\windows\system32\cmd.exe /C

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Christopher Wood
On Wed, Jan 11, 2017 at 09:40:00PM +, R.I.Pienaar wrote: > > > - Original Message - > > From: "Christopher Wood" > > To: "puppet-users" > > Sent: Wednesday, 11 January, 2017 22:33:22 > > Subject: Re: [Puppet Users] Puppet

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Ramin K
On 1/11/17 9:58 AM, Zachary Vida wrote: Hello, I was wonder if there are any significant impovements in later version of puppet >= 2.6 to catolog compilation and/or application runtimes. In an environment I manage we populate many local files (/etc/passwd,/etc/group,/etc/hosts) via ENC. This

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread R.I.Pienaar
- Original Message - > From: "Christopher Wood" > To: "puppet-users" > Sent: Wednesday, 11 January, 2017 22:33:22 > Subject: Re: [Puppet Users] Puppet managing thousands of resources > Out of gruesome interest, 5000 resources

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Christopher Wood
Out of gruesome interest, 5000 resources of what? Assuming I'm remembering the path correctly, something like this would count it up, modify for your local case (assuming no puppetdb at your place) to search for resource types: python -m json.tool /var/lib/puppet/client_data/catalog/`hostname

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:26, Arpin Dominique (Nter) wrote: > Because you don’t use the right name… > I was using the alias name, which should also work. The bug report explains things. Cheers, -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:20, Josh Cooper wrote: > > The reference File['abc'] does not succeed because 'abc' is an > alias, and not the title - I believe there is a ticket about that > already logged. > > > Filed as https://tickets.puppetlabs.com/browse/PUP-6984 Ah, awesome - thanks! --

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Trevor Vaughan
By my calculations...really. I'm around 3k normally right now with no issue but, as you move toward 10k, your agents start to have a bad time. CC'ing Henrik and Eric since this is an "in the wild" case outside of my theoretical ranting. It's pretty easy to test using 'puppet apply' and files

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Zachary Vida
Exponential? Really or just an expression, but rough estimate is probably about 5k On Wed, Jan 11, 2017, 2:50 PM Trevor Vaughan wrote: > How many resources are in your catalog? > > Puppet starts to hit exponential catalog sizes and run times as you > approach 10k

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Trevor Vaughan
How many resources are in your catalog? Puppet starts to hit exponential catalog sizes and run times as you approach 10k resources. Thanks, Trevor On Wed, Jan 11, 2017 at 12:58 PM, Zachary Vida wrote: > Hello, I was wonder if there are any significant impovements in

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread R.I.Pienaar
Lots of improvements. Http connections are reused and new static catalogs will help. It's different for everyone just how much it helps though. --- R.I.Pienaar > On 11 Jan 2017, at 18:58, Zachary Vida wrote: > > Hello, I was wonder if there are any significant

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Zachary Vida
Lowe, I am well aware it is very old. We have a single puppet master and a couple of hundred servers. I hope that answers your question? On Wednesday, January 11, 2017 at 1:44:26 PM UTC-5, Lowe Schmidt wrote: > > How do you run the puppetmaster? (Also, 2.6 is wy EOL) > > -- > Lowe Schmidt

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Lowe Schmidt
How do you run the puppetmaster? (Also, 2.6 is wy EOL) -- Lowe Schmidt | +46 723 867 157 On 11 January 2017 at 18:58, Zachary Vida wrote: > Hello, I was wonder if there are any significant impovements in later > version of puppet >= 2.6 to catolog compilation and/or

[Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Zachary Vida
Hello, I was wonder if there are any significant impovements in later version of puppet >= 2.6 to catolog compilation and/or application runtimes. In an environment I manage we populate many local files (/etc/passwd,/etc/group,/etc/hosts) via ENC. This results in a steady state catalog

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-11 Thread Henrik Lindberg
On 10/01/17 13:57, Tiago Delboni wrote: Hi Henrik, thanks for helping. I didn't have a "metadata.json" so I created one with "puppet module generate". Unfortunately, it is still not working - puppet apply is showing the same error: "Expected parameter 'windowspath_param' of

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-11 Thread Henrik Lindberg
On 09/01/17 14:22, Martin Alfke wrote: Hi Henrik, A non-existent type will in some versions of puppet be taken as being a resource type. One thing you can check is that your module (where you are using Stdlib::XXX types have declared a dependency on Stdlib in its metadata. If it does not

Re: [Puppet Users] Over-engineering rant

2017-01-11 Thread Henrik Lindberg
On 11/01/17 02:50, John Gelnaw wrote: On Tuesday, January 10, 2017 at 3:19:45 PM UTC-5, Eric Sorenson wrote: I'd like to point out that this ntp module is also deliberately a test case for *all* of the puppet 4 language features, and as such is kind of a "reference module", so it

Re: [Puppet Users] writing custom fact -> return value not as expected

2017-01-11 Thread Denny
Thank you guys for the clarification! Stupid question #2: How do I get facter use LC_ALL=en_US.UTF-8 instead of LC_ALL=C? A simple add to my Facter::Util::Resolution.exec("...") did not work, of course. Denny Am Mittwoch, 11. Januar 2017 08:07:06 UTC+1 schrieb Dirk Heinrichs: > > Am