[Puppet Users] Re: Update facts without applying catalog.

2015-07-13 Thread asq
W dniu piątek, 10 lipca 2015 00:37:42 UTC+2 użytkownik Sergii Alieksanov napisał: > > Is it possible to force puppet agent to send facts to master (puppetdb) > while it is locked (puppet agent --disable) or run in --noop mode? > The reason to have such feature is pretty simple: having up-to-date

[Puppet Users] Re: how to access fact with host specific name like zone_vm5809_iptype

2015-07-03 Thread asq
W dniu piątek, 3 lipca 2015 08:28:22 UTC+2 użytkownik Andreas Dvorak napisał: > > Dear all, > > I would like to use the fact zone_vm5809_iptype, but vm5809 is specific to > the host vm5809. > If this fact on any host is excl do something > > Can somebody please help me? > > I have tried: > if ( $

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-10-02 Thread asq
W dniu wtorek, 1 października 2013 19:11:40 UTC+2 użytkownik Matthaus Litteken napisał: > > Sorry about that. Something went awry in the ship of 1.5.0. We've > updated the apt repos and 1.5.0 is now there for all of the debian and > ubuntu flavors. And as Ken said, thanks for letting us know! >

[Puppet Users] Re: define()'s sloooow

2013-01-29 Thread asq
W dniu wtorek, 29 stycznia 2013 16:54:46 UTC+1 użytkownik jcbollinger napisał: > > > The bottom line is that I don't have an explanation for why your > compilations are so slow. Sorry. I don't think it's anything specific to > defined types, except inasmuch as defined type instances do have ov

[Puppet Users] puppetmaster loads ruby gems which significantly slows it down

2013-01-28 Thread asq
as a side check for "define()'s slw" topic, i've shaved my rvm ruby from all gems (but passenger and gpgme used by hiera) to observe compilation times drop in half. wtf? why is puppet/ruby loading all those gems it doesn't need? i share my rvm ruby with foreman, so i had installed some 60

[Puppet Users] Re: define()'s sloooow

2013-01-28 Thread asq
W dniu poniedziałek, 28 stycznia 2013 17:04:51 UTC+1 użytkownik asq napisał: > > > on production we use passenger with no of puppetmaster processes equal to > number of threads (and queue of excessive catalog requests on haproxy on > front of it). > i mean - number of c

[Puppet Users] Re: define()'s sloooow

2013-01-28 Thread asq
W dniu poniedziałek, 28 stycznia 2013 16:49:38 UTC+1 użytkownik jcbollinger napisał: > > - 1 erb (35 lines with 5 variables substitution and 1 if/else clause) > > The erb evaluation is probably more costly than everything else about that > particular File declaration, combined. Especially so in

[Puppet Users] Re: define()'s sloooow

2013-01-25 Thread asq
W dniu piątek, 25 stycznia 2013 16:29:00 UTC+1 użytkownik asq napisał: > > W dniu piątek, 25 stycznia 2013 16:07:43 UTC+1 użytkownik jcbollinger > napisał: > please check define rule_inline() in linked pp file - it's nothing fancy. > > - 3 static files > - 1 erb

[Puppet Users] Re: define()'s sloooow

2013-01-25 Thread asq
W dniu piątek, 25 stycznia 2013 16:07:43 UTC+1 użytkownik jcbollinger napisał: > > > To be clear, it looks like you are talking about counts of defined type * > instances*, not counts of distinct defined types. Is that right? > yes. it's test::rule() and test::rule_inline() in linked manifest.

[Puppet Users] define()'s sloooow

2013-01-24 Thread asq
are we having problem with defines in puppet 3.0.1/3.0.2? the more and more we use defines in our repo, the more lagish puppetmaster becomes. today i've made some synthetic checks with our lb setup, which consists of 121 defines, each of them wraps around 4 another defines (nagios, haproxy, stu

Re: [Puppet Users] Re: hiera broken in puppet-3

2012-12-12 Thread asq
W dniu środa, 12 grudnia 2012 17:39:59 UTC+1 użytkownik Peter De Cleyn napisał: > > I just did the same process of debugging you did (should learn to search > this list first) and the proposed solution works for me. > > Did you file this as a bug yet on the puppet ticketing system (can't find >

Re: [Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-29 Thread asq
W dniu czwartek, 29 listopada 2012 18:23:23 UTC+1 użytkownik Jeff McCune napisał: > > It might not be the cause, but one related change we made in Puppet 3 is > that we scan Ruby gem's and will load extensions contained within them. > This is #7788 [1] This change in behavior could be causing

Re: [Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-29 Thread asq
W dniu czwartek, 29 listopada 2012 17:42:48 UTC+1 użytkownik Jeff McCune napisał: > > On Thu, Nov 29, 2012 at 12:24 AM, asq > > wrote: > > W dniu środa, 28 listopada 2012 22:57:40 UTC+1 użytkownik Michael > Stanhke > > napisał: > >> > >> What ve

Re: [Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-29 Thread asq
W dniu środa, 28 listopada 2012 22:57:40 UTC+1 użytkownik Michael Stanhke napisał: > > What version of Puppet are you on? Where did you get your 1.9.3? > 3.0.1 and 1.9.3p327 from rvm. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view

[Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-28 Thread asq
i've made a migration on our puppetmasters yesterday, hoping it will run faster and/or make less load on machines with newer ruby. but actual result is just opposite, our compilation times went up a lot, ie: Nov 27 14:30:12 punch puppet-master[15293]: Compiled catalog for lb1 in environment pro

[Puppet Users] agent to fileserver retry

2012-11-27 Thread asq
hi, we use active/standby load balancer in front of our puppetmaster cluster. once in a while load banalcer vIP migrates (ie. when we reboot active node), which gives about 5-10 seconds of unavailability (until loadbalancer reconnects to backends). during that time it emits 503... i wonder if it

[Puppet Users] memory constraint agent (<100MB)

2012-11-02 Thread asq
hi, we're currently evaluating use of puppet agents on memory constrained agents (like hypervisors and low-end vps servers). since our upgrade to 3.0.1 they seem to consume more resources, ie. we observe nrpe timeouts on those servers while puppet agent is running. anybody has an experience on ru

[Puppet Users] Re: hiera broken in puppet-3

2012-10-29 Thread asq
ok, i got it working with this patch: https://github.com/Fewbytes/puppet/commit/71d9449464d5f10042b9cc31aea1586f98363293 however, if i apply the rest of this PR it breaks again. so beware :) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To vi

[Puppet Users] Re: hiera broken in puppet-3

2012-10-29 Thread asq
W dniu piątek, 26 października 2012 18:19:22 UTC+2 użytkownik Ellison Marks napisał: > > I think that might have been renamed... > > > http://docs.puppetlabs.com/puppet/3/reference/lang_variables.html#facts-and-built-in-variables > > Down near the bottom, under parser set variables, there's $modul

[Puppet Users] hiera broken in puppet-3

2012-10-26 Thread asq
is anybody using hiera with puppet-3 and per-module hierarchy? it seems calling_module/calling_class is entirely broken now. see: http://pastebin.com/CfbW5Kcu and #16730 and PR1214 (which only fixes backend_puppet i think). anyone has some unofficial patches? because i'm just stuck in migration

Re: [Puppet Users] hiera and dynamic variables

2012-07-23 Thread asq
W dniu poniedziałek, 23 lipca 2012 09:21:09 UTC+2 użytkownik Felix.Frank napisał: > > This end could be trivially met by putting this class declaration in a > scope that is present for all your nodes. Perhaps a "default" class or > similar. > > The class parameter should be assigned directly fr

[Puppet Users] hiera and dynamic variables

2012-07-20 Thread asq
hi, we're currently evaluating hiera to get rid of hordes of global variables and prepare our manifests for next iteration of puppet. now, we have some variables, used by classes, which set properties based on facts, ie. we set approperiate interface address which should be used on monitoring

[Puppet Users] can't get yaml from 2.6 loaded into 3rd party script

2011-01-03 Thread asq
what am i doing wrong? <0>r...@test2(46)~$ cat <<.|/usr/bin/ruby ; echo $? > require 'puppet' > require 'yaml' > YAML.load_file('/var/lib/puppet/client_yaml/catalog/$HOSTNAME.yaml') > . /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `transfer': can't convert Array into String (TypeEr

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 18:00, Brice Figureau wrote: > Which means it now tries to send the file. You just hit another issue > which is discussed in this > thread:http://groups.google.com/group/puppet-users/browse_thread/thread/5435... i've tried 2.2.11/1.2.1 combo and unfortunately results are pretty much t

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 13:01, Brice Figureau wrote: > I think you're seeing bug #4319:http://projects.puppetlabs.com/issues/4319 > > Can you try the latest 2.6.1rc1 and confirm that it solves your issue? > Or alternatively try what Thorsten Biel suggested in another e-mail in > this thread (ie getting rid of

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 12:19, Brice Figureau wrote: > Ruby version shouldn't matter, I more think this is a puppet rack > versioning issue. > > Would it be possible to test rack 1.1.0 (which is what I tried when > adding this feature)? same thing with rack 1.1.0 (i did gem cleanup) > Do you have any interes

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 12:09, asq wrote: > On 3 Sie, 09:19, Brice Figureau wrote: > > > Since 2.6, puppet now streams the file content through rack. It is well > > possible you're hitting a bug with this new feature. > > > Can you let us know what version of passenger and

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 09:19, Brice Figureau wrote: > Since 2.6, puppet now streams the file content through rack. It is well > possible you're hitting a bug with this new feature. > > Can you let us know what version of passenger and rack you are using. It > would also be worth upgrading those versions to se

[Puppet Users] getting empty files from fileserver

2010-08-02 Thread asq
this is really weird. i've upgraded test machine to 2.6 and started getting those. virtually any file pulled from puppetmaster has zero size. it's even true for internal objects like custom functions and facts. whenever puppet decides that file has actually changed (this logic works fine) it pulls