[Puppet Users] Re: custom type and provider testing

2013-05-28 Thread Daniel Kerwin
Hi Corey, you would basically test it like normal ruby code. Here's a example for a type test. You could check out one of my type tests here: https://gist.github.com/anonymous/5662336 Hope this helps! Cheers, Daniel Am Dienstag, 28. Mai 2013 04:06:59 UTC+2 schrieb Corey Osman: > > Hi, > > I

[Puppet Users] Upgrade to 2.6: Cannot use class name as tag anymore?

2010-10-21 Thread Daniel Kerwin
Hi list, i just upgraded some servers to Puppet 2.6.2 and it seems like it's not possible to use class names as tags anymore. I haven't found any documentation about this except a bug for 2.6.1 that should be fixed (http://projects.puppetlabs.com/issues/4631). Example: class firewall { pack

Re: [Puppet Users] File Size

2010-04-07 Thread Daniel Kerwin
Not sure about a limit but puppet isn't very good at transfering really big files. This may lead to memory problems afaik On Wed, Apr 7, 2010 at 6:56 PM, Seeker wrote: > Hi all, Just wondering, is there a limit on the file size that you can > transfer with PUPPET. > > Thank you all > > -- > You r

Re: [Puppet Users] Puppet Dashboard packages now available!

2010-04-06 Thread Daniel Kerwin
Do you have something like a release tarball? I'd like to create a Gentoo ebuild for it. On Tue, Apr 6, 2010 at 3:07 PM, Baker, Luke Jefferson wrote: > I tried installing via yum, received this error concerning the package > signature.. > > error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature:

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread Daniel Kerwin
Can you post your apache config? Maybe you want to compare it to i config i posted: http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch wrote: > > > 2010/3/30 smain kahlouch >> >> >> 2010/3/30 Ben Lovell >>> >>> On 30 March 20

Re: [Puppet Users] puppet 0.25.4 & passenger

2010-03-30 Thread Daniel Kerwin
Check the ownership on /etc/puppet/rack/config.ru. Should belong to puppet. The UID/GID under which puppetmasterd will run is determined by looking at config.ru Hope this helps On Tue, Mar 30, 2010 at 8:21 PM, cnjohnson wrote: > If I run puppetmasterd alone I can connect to an 0.24.x client. > H

Re: [Puppet Users] subscribe require

2010-03-18 Thread Daniel Kerwin
On Thu, Mar 18, 2010 at 2:57 PM, Christopher Johnston wrote: > Can some help explain the differences and use cases of subscribe and > require.  They seem to have a bit overlap in the sense that they do the same > thing almost.  I understand a require sets up a dependency.  So for eg the > followin

[Puppet Users] Re: config_version in template?

2010-03-17 Thread Daniel Kerwin
I want add the content of puppet.conf's variable config_version to a template. Currently I use a generate statement and it would be great to get rid of the duplicate code On 3/17/10, Christian Kauhaus wrote: > Am 16.03.2010 17:16, schrieb Daniel Kerwin: >> is it possible t

[Puppet Users] config_version in template?

2010-03-16 Thread Daniel Kerwin
Hi list, is it possible to add a system variable like config_version to a template? -- Cheers, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from th

Re: [Puppet Users] Re: realize group before user ?

2010-03-10 Thread Daniel Kerwin
Add this line to your user definition: require => Group["policyd"] That should work On Wed, Mar 10, 2010 at 12:05 PM, janfrode wrote: > Sorry, but it doesn't seem to be that simple. I just tried to include > a class that does: > >    realize ( >        Group["policyd"], >        User["policyd"]

Re: [Puppet Users] Puppet books.

2010-03-08 Thread Daniel Kerwin
By now "Pulling String with Puppet" is the only book i know. There will be another book from James: http://www.apress.com/book/view/1430230576 I read Pulling Strings... and it's still a good reference. Combined with the latest docs you'll get things done. On Mon, Mar 8, 2010 at 5:03 PM, Friedrich

Re: [Puppet Users] puppetrun not executing or seeing changes

2010-03-04 Thread Daniel Kerwin
I've been using puppetrun for a while now and it works very good. Can you post the log messages on puppetmaster and client? I started to use it in 0.25.1 and never had problems. On Thu, Mar 4, 2010 at 11:53 AM, Matt wrote: > More puppet run woes, is anyone using this feature successfully? > I've

[Puppet Users] My first type/provider - does nothing...

2010-02-15 Thread Daniel Kerwin
Hi list, i tried to write my first type and provider that should create logical volumes. Seems like i'm missing something as i get nothing when i use it: No errors and no logical volume :-( type/logicalvolume.rb: = Puppet::Type.newtype(:logicalvolume) do @doc = "Manage logica

[Puppet Users] Storeconfigs connection pool problem

2010-02-11 Thread Daniel Kerwin
Hi list, i just enabled storeconfigs and cannot use puppetrun on more than 5 hosts. When i try 6+ i get the error message: puppetmasterd[16209]: could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it. My Mysql setup allows a lot more co

[Puppet Users] Re: Making the new users experience easier

2010-02-04 Thread Daniel Kerwin
What about a screencast series? On Feb 2, 6:08 pm, Michael DeHaan wrote: > Just one more email and I'll let you go for a few hours :) > > One of the things I like to see in apps is that they are immediately > intuitive and easy to use for new users.  I think Puppet is really good > here, but ther

[Puppet Users] Re: Free press! Free Puppet T-shirts!

2010-02-03 Thread Daniel Kerwin
Just added my company. Tried this before but it seems like Trac had problems sending me my confirmation mail... I'll write a Testimonial as soon as i have some free time. On Feb 3, 5:22 pm, Michael DeHaan wrote: > Hi Everyone, > > We have a "WhosUsingPuppet" page up here: > > http://reductivelab

[Puppet Users] Re: cron jobs in extra files

2010-02-02 Thread Daniel Kerwin
I use the same layout and the only way it works for me was to create file resources and distribute the files directly. After distribution i call check_system_crontabs to rebuild the crontab based on cron scripts in /etc/cron.d ... afaik there's no way to use the cron type to accomplish this layout

[Puppet Users] Forced service start/stop/restart using puppetrun?

2010-02-02 Thread Daniel Kerwin
Hi, we use puppetrun to manage our servers and one thing is missing that would make my life much easier. Is there a way to start/stop/restart services directly with puppetrun? I made some experiments but nothing really worked out. I'm looking for something like this: # puppetrun --host abcd --hos