Re: [Puppet Users] Puppetmaster performance degradation after update to 3.8.2

2015-10-15 Thread Adam Winberg
for posterity - a new puppetlabs ticket was created for this, https://tickets.puppetlabs.com/browse/PUP-5380, where the root cause of the problem is pinpointed. On Tue, Oct 13, 2015 at 3:34 PM, Adam Winberg wrote: > ok, so I have been tinkering a bit more with this and I my problems st

Re: [Puppet Users] Puppetmaster performance degradation after update to 3.8.2

2015-10-13 Thread Adam Winberg
d this to https://tickets.puppetlabs.com/browse/SERVER-819, since it seems to be a similar problem even though I do not use puppetdb. I'm hoping that someone out there can think of any reason for my problems. Regards Adam On Thursday, September 17, 2015 at 7:03:50 AM UTC+2, Adam Winberg wrote:

Re: [Puppet Users] Puppetmaster performance degradation after update to 3.8.2

2015-09-16 Thread Adam Winberg
I actually tried the --profile option but never got it to actually record any 'PROFILE' log data. The logdest and debug flags works as expected, but no 'PROFILE' entries in the logfile. On Thu, Sep 17, 2015 at 1:02 AM, Josh Cooper wrote: > Hi Adam, > > On Wed,

[Puppet Users] Puppetmaster performance degradation after update to 3.8.2

2015-09-16 Thread Adam Winberg
Upgraded from 3.7.3 to 3.8.2 and have after that had very slow compilation and file serving from the puppet master. We're running our puppetmaster with apache/passenger, ca. 900 hosts. Complete puppet runs earlier took 10-15s and after update take 30-300s. Very unstable performance. Even running w

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Adam Winberg
template > elsewhere, yes? Because the file resources uses the value of the > $ifcfg_template variable. > > Please also debug the scope of the declaration of that variable. Is it a > parameter? > > HTH, > Felix > > On 05/17/2015 07:41 PM, Adam Winberg wrote: > >

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Adam Winberg
gt; > It seems most likely that there is some kind of scoping issue. > > HTH, > Felix > > > On 05/16/2015 07:46 PM, Adam Winberg wrote: > > Hi, > > trying to populate an ifcfg template (network config) with ipv6 config, > but cant get one of my variables to sho

[Puppet Users] cant get variable to show in template (erb)

2015-05-16 Thread Adam Winberg
Hi, trying to populate an ifcfg template (network config) with ipv6 config, but cant get one of my variables to show. The one I want to use is "$ipv6_addr_cidr", but it just doesnt work, when my template is created the variable is not defined. I can see the 'notify' which I put right after definin

Re: [Puppet Users] pluginsync not working with 3.7.0 on RHEL6

2014-09-12 Thread Adam Winberg
son set a really low KeepAliveTimeout setting and by adjusting this to '5' as to get it higher than puppet default the problem went away. So, as always, the problem arise due to some specific configuration in my environment. over and out. //Adam On 12 September 2014 09:37, Adam Winberg wrote: >

Re: [Puppet Users] pluginsync not working with 3.7.0 on RHEL6

2014-09-12 Thread Adam Winberg
I spoke to soon... Removing, or rather making a change in the plugins, made the puppetrun work once, but the followin run fails with the same error. So I am still very open to ideas. //Adam On 12 September 2014 08:58, Adam Winberg wrote: > think i found the problem, I recently installed

Re: [Puppet Users] pluginsync not working with 3.7.0 on RHEL6

2014-09-11 Thread Adam Winberg
complain about it. However, 3.7.0 is not as forgiving and crashes without saying a word about why. I will file a bug to get a better error message for this. //Adam On 12 September 2014 08:34, Adam Winberg wrote: > After upgrading clients to 3.7.0 on RHEL6 my puppet runs error out w

[Puppet Users] pluginsync not working with 3.7.0 on RHEL6

2014-09-11 Thread Adam Winberg
After upgrading clients to 3.7.0 on RHEL6 my puppet runs error out with: -- Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: end of file reached Warning: Not using cache on failed catalog Error: Could not

Re: [Puppet Users] Slow compilation after moving to modules

2012-12-05 Thread Adam Winberg
17:25, Adam Winberg wrote: > We are working on moving our puppet code from old-school method of > importing standalone classes in site.pp to modules. I was hoping i could > move one class at a time and at the same time review syntax, coding, > subclasses and so forth for each class. S

[Puppet Users] Slow compilation after moving to modules

2012-12-05 Thread Adam Winberg
We are working on moving our puppet code from old-school method of importing standalone classes in site.pp to modules. I was hoping i could move one class at a time and at the same time review syntax, coding, subclasses and so forth for each class. So, i defined a modulepath in puppet.conf and put

Re: [Puppet Users] Catalog changes not picked up immediately

2011-04-05 Thread Adam Winberg
> On 04/05/2011 04:10 PM, hai wu wrote: > > We have same problem, using modules for all and using passenger. Have > > to run puppet agent -tv at least 2 times if need to test a change > > right away .. > > I can confirm this behavior with puppet 2.6.2, using modules and running > on passenger on RH

Re: [Puppet Users] inventory of managed resources

2010-08-27 Thread Adam Winberg
FAULT that is matched for my clientX. i could do a simple grep/awk/sort script which looks through the log file and collects fileserver entries with the 200 return code. not so pretty though, would be nice to have a native command in the puppetmaster for this. //Adam On 11 August 2010 08:28, Adam

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
i've tested the localconfig.yaml parser and it works well, but it only shows which files puppet handles from a client point of view. i.e it shows that puppet manages "/etc/my.cnf" for my client but i really want to see which file it manages from a server point of view, i.e. "/path/to/fileshare/etc/

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
1 group then my query would result in a list of files: my.cnf--DBGROUP1 resolv.conf--serverA any ideas on how to accomplish this? //Adam On 10 July 2010 10:48, Adam Winberg wrote: > ah, good point! i will look into it, thank you. > > //Adam > > > On 9 July 2010 09:23, David Schmitt

Re: [Puppet Users] inventory of managed resources

2010-07-10 Thread Adam Winberg
ah, good point! i will look into it, thank you. //Adam On 9 July 2010 09:23, David Schmitt wrote: > On 7/7/2010 4:33 PM, Adam Winberg wrote: > >> Hi, >> >> are there any good ways of scripting an inventory of managed resources >> on all nodes? I've found

[Puppet Users] inventory of managed resources

2010-07-07 Thread Adam Winberg
Hi, are there any good ways of scripting an inventory of managed resources on all nodes? I've found the inventory script by R.I.Pienaar ( http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php) which does what I want but only locally on each client. Is there any native wa

Re: [Puppet Users] facter values in upper case

2010-05-28 Thread Adam Winberg
t; practically it is (sadly) simpler to deal with Ruby being a bit kooky, and > just use a different fact or variable name. > >Daniel > > > On Fri, May 28, 2010 at 4:13 PM, Adam Winberg > wrote: > > > >> ok, interesting! > >> > >> however

Re: [Puppet Users] facter values in upper case

2010-05-28 Thread Adam Winberg
ck. I'm new to puppet and my ruby is rubbish, am i doing something wrong? //Adam On 28 May 2010 08:53, Ohad Levy wrote: > you can use inline_template to sanitize your values.. e.g.: > > $my_type = inline_template("<%= type.upcase %> > > Ohad > > On Fri, May

[Puppet Users] facter values in upper case

2010-05-27 Thread Adam Winberg
I guess i could do something like if $type == "laptop" { $type = "LAPTOP" } but im looking to see if there is any other smarter ways of doing this. Thanks, //Adam Winberg -- You received this message because you are subscribed to the Google Groups "Puppet Users