Re: [Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread Cesar
Hi Ramin, thanks for those suggestions! I didn't know Ruby was so important there. We do use 1.8.7 (and had some issues while developing providers and report processors because it is such and old version), as it was the officially supported version for Red Hat 6. I think we have a big margin t

[Puppet Users] How to copy and install 3 different files from puppet master to 3 different locations

2017-04-20 Thread mike . zayour
I created a module to copy one file from the master and install to agents and it works fine with code below: but now I am trying to copy 3 different files in different directory and install each one on different environment. For example: file A need to be installed on all agents in A environment

Re: [Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread Ramin K
On 4/20/17 3:32 AM, Cesar wrote: I was wondering whether there is any way to reduce catalog compilation? Could the catalog compilation be split across different Puppet master processes or something like that? - upgrade to 3.8.x, definitely performances gains to be had. - Passenger 5/5.1 and t

[Puppet Users] hiera_include('classes') fails with "undefined method `downcase' for nil:NilClass"

2017-04-20 Thread Peter K
I'm missing something. I've never been able to include classes via hiera via the hiera_include('classes') command. Any insight? If I call : # /opt/puppetlabs/bin/puppet agent -t --debug > /tmp/debug Yields: > Error: Could not retrieve catalog from remote server: Error 500 on SERVER: > Server Er

Re: [Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread Cesar
Hi James, thanks for your thorough answer. We definitely have in mind that we should upgrade Puppet to 4.X to get all the benefits of Puppet Server, but until that happens we were wondering whether there was a simpler way to boost performance on the Puppet master until we can perform an upgrade

Re: [Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread James Pryor
Cesar, For general catalog compilation time improvements, you might be best served by using Puppet Server ( https://docs.puppet.com/puppetserver/1.2/services_ master_puppetserver.html ) instead of passenger. In 2014, my team & I performed our own sort of benchmark tests of the puppet master serve

[Puppet Users] Catalog compilation performance issues in Puppet 3

2017-04-20 Thread Cesar
Hi all, we have some performance issues with Puppet 3.3 catalog compilation (we are using Passenger to host Puppet master processes). It looks like a single Puppet master process is being used for the catalog compilation, and importing the catalogs is taking ~3 minutes. Apr 19 10:21:14 ieatlms3