[Puppet Users] Partial catalog runs

2012-05-09 Thread Bostjan Skufca
Hello fellow puppeteers :) I was just wondering: would anyone benefit from puppet's abitity to only do partial catalog runs? Additional explanation: As you manage your hosts with puppet, your catalog tends to grow and puppet runs are becoming longer. If you manage some overseas servers, runtime

[Puppet Users] Re: Partial catalog runs

2012-05-09 Thread Bostjan Skufca
Aaah, that's useful. I guess I've been searching for the wrong keywords (partial catalog run != tags). Thank you very much! b. On Thursday, 10 May 2012 01:45:24 UTC+2, Bostjan Skufca wrote: > > Hello fellow puppeteers :) > > I was just wondering: would anyone benefit fr

[Puppet Users] puppet-announce

2010-09-06 Thread Bostjan Skufca
Hi! Is there some a puppet-announce mailing list available? Or any other low-volume new-version-has-just-been-released notification method? If there is not any available, I recommend creating one. Best regards, b. -- You received this message because you are subscribed to the Google Groups "Pu

[Puppet Users] Re: puppet-announce

2010-09-06 Thread Bostjan Skufca
I kindly request appologies for hasty posting. "some a puppet- announce" should read as "something like a puppet-announce". On 6 sep., 18:39, Bostjan Skufca wrote: > Hi! > > Is there some a puppet-announce mailing list available? Or any other > low-volume ne

[Puppet Users] Re: puppet-announce

2010-09-06 Thread Bostjan Skufca
Crap :) Tnx, b. On 6 sep., 19:38, James Turnbull wrote: > Bostjan Skufca wrote: > > I kindly request appologies for hasty posting. "some a puppet- > > announce" should read as "something like a puppet-announce". > > > On 6 sep., 18:39, Bostjan Skufca

[Puppet Users] Auth.conf does not work with IPs

2010-12-06 Thread Bostjan Skufca
Hi! Did someone else notice similar behaviour? I use "puppet kick hostname.domain.net" to occasionally trigger catalog runs. But it does not work if I specify IP in auth.conf, like this: path /run method save allow 1.2.3.4 -

[Puppet Users] Puppetmaster module path specification with wildcards

2011-01-18 Thread Bostjan Skufca
Hi! Would anyone else fancy a wildcard path expansion in module path specification? Example: modulepath = /etc/puppet/modules/* ---[ above should expand to this equivalent ]-- [ provided that repo1 and repo2 dirs exist in /etc/puppet/modules ] modulepath = /etc/

[Puppet Users] Set client environment on master

2011-01-18 Thread Bostjan Skufca
Hi again! Is there any way to override client-specified environment in puppet master? I would like my puppetmaster node definition to set the real environment the node is in. Tnx for info, b. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Re: Set client environment on master

2011-01-18 Thread Bostjan Skufca
clients (not puppet clients, but company clients) which should not be able to see other client's stuff by just changing the environment manually). Tnx, b. On 19 jan., 04:08, Michael Knox wrote: > On 19/01/11 1:41 PM, Bostjan Skufca wrote:> Hi again! > > > Is there any

[Puppet Users] Re: Puppetmaster module path specification with wildcards

2011-01-19 Thread Bostjan Skufca
puppet/tree/feature/master/5936 Can you see it through to final inclusion? For now I am using it as a patch of my own. b. On 19 jan., 05:09, Daniel Pittman wrote: > On Tue, Jan 18, 2011 at 18:38, Bostjan Skufca > > wrote: > > Would anyone else fancy a wildcard pat

[Puppet Users] Re: Set client environment on master

2011-01-19 Thread Bostjan Skufca
The way John sums it up really makes sense. Feature request? b. On 20 jan., 00:04, John Warburton wrote: > On 19 January 2011 17:41, Bruce Richardson wrote: > > > On Wed, Jan 19, 2011 at 05:10:56PM +1100, John Warburton wrote: > > > wishes -https://projects.puppetlabs.com/issues/3910 > > > *Lo

[Puppet Users] Re: puppet 0.24.8, random problem with very slow puppetruns - no stored-configuration

2009-09-04 Thread Bostjan Skufca
Sorry, I forgot to mention what I AM seeing in the logs: ---> Could not call fileserver.list: #<#: execution expired> b. On Aug 30, 5:56 pm, Kurt wrote: > Hello list, > > In our company we use puppet to configure our ec2 instances. > we start our servers with fresh instances debian lenny, som

[Puppet Users] Re: puppet 0.24.8, random problem with very slow puppetruns - no stored-configuration

2009-09-04 Thread Bostjan Skufca
I just have to acknowledge that I too am seeing random problems with puppet which have advanced to "persistent problems". In the beginning it was fine, I installed ruby from sources, then facter and then puppet and it worked like a charm. Then, 2 months ago I noticed that puppet was just not fun

[Puppet Users] Can puppet handle device files

2009-09-09 Thread Bostjan Skufca
Hi! I cannot find it in documentation (yet?), but can puppet handle device files, in (examplary) form like this: file { "/var/named/dev/zero": ensure => device, minor => 10, major => 20, } Can this be done or do I have to create my own type handlers? Thanks,

[Puppet Users] Re: Can puppet handle device files

2009-09-14 Thread Bostjan Skufca
Nice trick. Thans for all the input! b. On Sep 12, 3:42 am, "John A. Barbuto" wrote: > Hi Bostjan, > > On Wed, Sep 9, 2009 at 7:17 PM, Bostjan Skufca > wrote: > > > Hi! > > > I cannot find it in documentation (yet?), but can puppet handle device

[Puppet Users] Pluginsync always downloads the same unchanged file

2009-09-14 Thread Bostjan Skufca
Hi! I have developed couple of plugins and puppet is syncing them. But it always downloads one particular file disregarding the fact that it has not changed at all. The md5 hash it displays in the log is indeed different, but if I do md5sum on the file it displays the correct hash. Can someone h

[Puppet Users] Do resources support some form of inheritance/prototyping?

2009-09-15 Thread Bostjan Skufca
Hi! Does anybody know, if resources can be inherited? Example: I would like to define three files with owner=root and group=bin and mode=754. To do that you can write: file { "file1": owner=root, group=bin, mode=754, } file { "file2": owner=root, group=bin, mode=754, } file { "file3

[Puppet Users] Re: Do resources support some form of inheritance/prototyping?

2009-09-15 Thread Bostjan Skufca
I believed that defaults could only be set for global scope. Funny:) Thank you both for your hints! b. On Sep 16, 2:58 am, Nigel Kersten wrote: > On Tue, Sep 15, 2009 at 5:39 PM, Bostjan Skufca > wrote: > > > > > > > Hi! > > > Does anybody know, if resou

[Puppet Users] Puppetd hangs with 100% CPU usage

2009-09-25 Thread Bostjan Skufca
Hi again, puppetd started to hang with 100% CPU usage all of the sudden. Strace just keeps repeating these 2 lines: --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- sigreturn() = ? (mask now []) In logs it hangs with this message: debug: Calling fileserver.describe

[Puppet Users] Re: Puppetd hangs with 100% CPU usage

2009-10-27 Thread Bostjan Skufca
spending couple of days of debugging. And relationship graphs (from relationships.dot and expanded_relationships.dot) really helped resolving this issue. Best regards, b. On 26 sep., 00:23, Bostjan Skufca wrote: > Hi again, > > puppetd started to hang with100% CPU usage all of the

[Puppet Users] Re: New webgui to survey your puppet activities

2009-10-27 Thread Bostjan Skufca
Screenshots look nice. Didn't get it going, error was: Message: Failed to open file: fopen(/var/puppet/reports/ sizif.servers.creatim.net/2147483647.yaml) [function.fopen]: failed to open stream: No such file or directory #0 /var/puppet/puppetsurvey.trunk/application/models/PuppetHost.php (157):

[Puppet Users] Re: New webgui to survey your puppet activities

2009-10-29 Thread Bostjan Skufca
ocale > settings? > > The other sugestions about error handling etc. are very good and i > will improve them. > > On 28 Okt., 04:37, Bostjan Skufca wrote: > > > Screenshots look nice. > > > Didn't get it going, error was: > > Message: Failed to open

[Puppet Users] Re: new release of puppetsurvey

2009-11-05 Thread Bostjan Skufca
Are you developing this on 64-bit platform? b. PS: Question arised when I started debugging PHP errors I got on my system while trying to run it - again:) On 4 nov., 20:26, Philip wrote: > I have released a new version of puppetsurvey on sourfeforge. Please > have a look athttp://puppetsurvey.

[Puppet Users] Dynamic scoping deprecated - for defines also?

2012-08-26 Thread Bostjan Skufca
Hello, in my logs I noticed deprecation warnings like this one: Dynamic lookup of $VARIABLE at FILE:LINE is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the change in behavior, use the --debug flag. Ok, I go to the URL, I can see the reas

[Puppet Users] Your number of resources and time of your catalog runs

2012-10-22 Thread Bostjan Skufca
Hi, I was just wondering what is someone else's number of manager resources and catalog run time. Mine is 1,700 resources and average catalog run of 70-100 seconds (40 seconds for catalog retrieval, 30-60 for catalog run), depending on the network distance between puppetmaster and managed node.

[Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Hi there, I'm running into slow catalog runs because of many files that are managed. I was thinking about some optimizations of this functionality. 1: On puppetmaster: For files with "source => 'puppet:///modules...' puppetmaster should already calculate md5 and send it with the catalog. 2: On

Re: [Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Inline On Monday, 22 October 2012 23:28:03 UTC+2, Brice Figureau wrote: > > Hi, > > For development questions, feel free to post in puppet-dev :) > > You're not the first irritated by those md5 computations taking time. > That's something I'd like to really optimize since a lng time. > Tha

Re: [Puppet Users] File optimizations

2012-10-22 Thread Bostjan Skufca
Hi Stephen, On Monday, 22 October 2012 21:28:23 UTC+2, Stephen Gran wrote: > > Turn the question around for a moment: why do you have so many file > resources? > These systems are puppet-controlled from the /etc/inittab through the whole boot process and each and every service startup file def

Re: [Puppet Users] Your number of resources and time of your catalog runs

2012-10-22 Thread Bostjan Skufca
Hi Jakov, On 22 October 2012 23:11, Jakov Sosic wrote: > We're not as near in the number of resources per node yet, so no point > in comparing :) Let's just say my client run is less then 10 seconds on > average :) > Those were the nice old days, when puppet catalog was still small and it run f

[Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-08 Thread Bostjan Skufca
Hi, I am currently looking to move away from node inheritance towards hiera, and I have a question how to achieve merge/overloading functionality with hiera. I have written an elaborate example below, but let me just quickly summarize all that into a question: With hiera: - How would you go ab

[Puppet Users] Re: puppet master following 3.7 upgrade intermittently gives errors for a specific set of classes

2015-03-10 Thread Bostjan Skufca
On Tuesday, 10 March 2015 00:37:19 UTC+1, Lori Cho wrote: > > > However, this does not happen on every run, so it's not an actual issue of > the class not existing. > > Try to restart puppet and rerun the faulty node. Sometimes errors in your manifest are only fully logged after they are initia

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-10 Thread Bostjan Skufca
On Monday, 9 March 2015 14:45:38 UTC+1, Christopher Wood wrote: > > On Sun, Mar 08, 2015 at 11:55:03AM -0700, Bostjan Skufca wrote: > >With hiera: > >- How would you go about when certain nodes need data merged from all > >scopes, but other nodes need data

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-11 Thread Bostjan Skufca
On Wednesday, 11 March 2015 14:57:00 UTC+1, Christopher Wood wrote: > > (Replying to two people in one email, hum.) > > I rather take your point, but isn't the requirement for different data > handling just another data item? Is any code unaware of the underlying data > structure? Even if you ha

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-11 Thread Bostjan Skufca
On Wednesday, 11 March 2015 15:59:12 UTC+1, Luke Bigum wrote: > > > On Wednesday, March 11, 2015 at 1:57:00 PM UTC, Christopher Wood wrote: >> >> >> Could you possibly expound on the "Each user of the data somehow has to >> know" part? I'm having trouble with the notion that people would use pup

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-11 Thread Bostjan Skufca
On Wednesday, 11 March 2015 15:59:12 UTC+1, Luke Bigum wrote: > > > The second example of module design may be super awesomely flexible in > terms of how I can structure my Hiera data, but it doesn't fit the > direction the community is moving in terms of module design. > What do you mean by th

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-11 Thread Bostjan Skufca
On Wednesday, 11 March 2015 23:31:38 UTC+1, Luke Bigum wrote: > > > > On Wednesday, March 11, 2015 at 4:35:36 PM UTC, Bostjan Skufca wrote: >> >> >> >>> Something like this seems like I'm telling a module *how* to look up my >>> own d

Re: [Puppet Users] Node key merging/overloading - node inheritance vs hiera

2015-03-13 Thread Bostjan Skufca
On Friday, 13 March 2015 17:40:50 UTC+1, Christopher Wood wrote: > > On Wed, Mar 11, 2015 at 09:25:04AM -0700, Bostjan Skufca wrote: > >On Wednesday, 11 March 2015 14:57:00 UTC+1, Christopher Wood wrote: > > (I've had some nasty run-ins with merging l