[Puppet Users] Re: high cpu usage and slow puppet performance..

2009-03-12 Thread barrowkwan
-03-12 at 00:41 -0700, barrowkwan wrote: > > looks like the following could cause high cpu usage and take puppet > > longer time to finish a catalog run > > >    file { "/some/path": > >            owner => "user1", > >      

[Puppet Users] high cpu usage and slow puppet performance..

2009-03-12 Thread barrowkwan
looks like the following could cause high cpu usage and take puppet longer time to finish a catalog run file { "/some/path": owner => "user1", group => "group1", ensure => directory, recurse => true } especially whe

[Puppet Users] Re: Custom function with custom class

2008-09-17 Thread barrowkwan
to answer my own question, just put myclass.rb under /var/lib/puppet/ lib instead of /var/lib/puppet/lib/pupet/parser/functions On Sep 16, 3:33 pm, barrowkwan <[EMAIL PROTECTED]> wrote: > I have created a custom function, my_test.rb  ( it is under /var/lib/ > puppet/lib/puppet/pars

[Puppet Users] Custom function with custom class

2008-09-16 Thread barrowkwan
I have created a custom function, my_test.rb ( it is under /var/lib/ puppet/lib/puppet/parser/functions in Fedora ). the function is like this module Puppet::Parser::Functions newfunction(:my_test, :type => :rvalue) do |args| "HelloWorld" end end now I want to create a custom Class and