[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 am writing a custom native type/ provider and want to perform some rspec 
 testing but I can't seem to find any documentation on how to test native 
 types and providers.  Can someone point me in the right direction.   



 Corey

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[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 {

package { iptables:
ensure   = latest,
category = net-firewall,
}

   
}

#  ~ # puppet agent --test --noop --tags main::firewall
notice: Ignoring --listen on onetime run
info: Retrieving plugin
info: Loading facts in root_device
info: Loading facts in site
info: Loading facts in system_profile
info: Loading facts in gcc_profile
info: Loading facts in portage_sync
info: Loading facts in default_gw
info: Loading facts in root_device
info: Loading facts in site
info: Loading facts in system_profile
info: Loading facts in gcc_profile
info: Loading facts in portage_sync
info: Loading facts in default_gw
info: Caching catalog for ..com
info: Applying configuration version '1066:1074M'
notice: Finished catalog run in 1.01 seconds

In this case a update for iptables is available when i don't specify a
tag. This has worked in 0.25.x and according to the docs it should too
in 2.6

Thanks,

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 cecil.hypol...@gmail.com wrote:
 Hi all, Just wondering, is there a limit on the file size that you can
 transfer with PUPPET.

 Thank you all

 --
 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 this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.





-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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
bake...@missouri.edu wrote:
 I tried installing via yum, received this error concerning the package 
 signature..

 error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature: BAD, key ID 8347a27f

 -Original Message-
 From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On 
 Behalf Of James Turnbull
 Sent: Tuesday, April 06, 2010 2:49 AM
 To: puppet-dev; puppet-users; puppet-announce
 Subject: [Puppet Users] Puppet Dashboard packages now available!

 Hi all

 I've created RPM and DEB packages for the Puppet Dashboard 1.0.0rc1.
 These are available via APT and Yum repositories hosted by Puppet
 Labs. These are first release packages and I am by no means a
 packaging expert with either DEBs or RPMs so any feedback or comments
 are welcomed.  I'll continue to update the packages as updates to the
 Dashboard are released.

 Overall instructions for installing and running the Dashboard can be found at:

 http://github.com/reductivelabs/puppet-dashboard

 1.  Get DEB Packages via APT

 a. Add the following to your /etc/apt/sources.list file:

 deb http://apt.puppetlabs.com/ubuntu lucid main
 deb-src http://apt.puppetlabs.com/ubuntu lucid main

 b. Add the Puppet Labs repository key to APT (the package is signed
 with this key also).

 $ gpg --recv-key 8347A27F
 $ gpg -a --export 8347A27F | sudo apt-key add -

 c. Run apt-get update

 $ sudo apt-get update

 d. Install Puppet Dashboard

 $ sudo apt-get install puppet-dashboard

 The Dashboard will be installed in /usr/share/puppet-dashboard and you
 run the server from here or create a Passenger configuration.

 2.  Get RPM packages via Yum

 a.  Create a Yum repo entry for Puppet Labs

 $ vi /etc/yum.repos.d/puppetlabs.repo
 [puppetlabs]
 name=Puppet Labs Packages
 baseurl=http://yum.puppetlabs.com/base/
 enabled=1
 gpgcheck=1
 gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-reductive

 b.  Install via yum

 $ sudo yum install puppet-dashboard

 You will be prompted to install the Puppet Labs release key as part of
 the installation process and the RPM packages are signed with that
 key.

 The Dashboard will be installed in /usr/share/puppet-dashboard and you
 run the server from here or create a Passenger configuration.

 Regards

 James Turnbull

 --
 Author of:
 * Pro Linux System Administration (http://tinyurl.com/linuxadmin)
 * Pulling Strings with Puppet (http://tinyurl.com/pupbook)
 * Pro Nagios 2.0 (http://tinyurl.com/pronagios)
 * Hardening Linux (http://tinyurl.com/hardeninglinux)

 --
 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 this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.

 --
 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 this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.





-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 smain...@gmail.com wrote:


 2010/3/30 smain kahlouch smain...@gmail.com


 2010/3/30 Ben Lovell benjamin.lov...@gmail.com

 On 30 March 2010 16:38, smain kahlouch smain...@gmail.com wrote:


 2010/3/30 smain kahlouch smain...@gmail.com


 2010/3/30 smain kahlouch smain...@gmail.com


 2010/3/30 Peter Meier peter.me...@immerda.ch

 gem update rack
 Updating installed gems
 Updating rack
 Successfully installed rack-1.1.0
 Gems updated: rack

 I still have the same error.

 just to be sure: you restarted apache, right?

 can you give us a list of your installed gems, as well you server and
 client version?

 cheers pete

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



 Yes Apache has been restarted. It seems that i have two versions of
 rack installed :

 gem list

 *** LOCAL GEMS ***

 rack (1.1.0, 1.0.1)
 rake (0.8.7)


 Do you have any idea please ?

 I still can't figure out  how to solve my problem.
 I still have the same errors :

 err: /File[/var/lib/puppet/lib]: Failed to generate additional resources
 using 'eval_generate': Error 400 on SERVER: undefined method `path' for
 #Rack::Request:0x7fd034ce6ce0
 debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
 yaml; using pson
 err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
 resource: Error 400 on SERVER: undefined method `path' for
 #Rack::Request:0x7fd034cc0720 Could not retrieve file metadata for
 puppet://puppet/plugins: Error 400 on SERVER: undefined method `path' for
 #Rack::Request:0x7fd034cc0720
 debug: Finishing transaction 69914353358540 with 0 changes
 debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml;
 using pson
 err: Could not retrieve catalog from remote server: Error 400 on SERVER:
 undefined method `path' for #Rack::Request:0x7fd034cbc378


 It seems as though you have multiple rubies on your machine. Can you
 confirm what the following displays at the prompt:
 `ruby -v`
 Also, please confirm which ruby version passenger is loading by checking
 the PassengerRuby in your apache configuration.
 Thanks,
 Ben

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


 Hi Ben, thanks for your answer.

 ruby -v
 ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

 passenger.conf
 IfModule mod_passenger.c
   PassengerRoot /usr
   PassengerRuby /usr/bin/ruby
 /IfModule

 /usr/bin/ruby -v
 ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

 Regards,
 Grifith



 I'm coming back to mongrel temporarly. If you have an idea how to solve this
 problem i will try again.

 Thanks

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 gm.johns...@gmail.com wrote:
 If I run puppetmasterd alone I can connect to an 0.24.x client.
 However, if I use passenger (2.2.11) and apache I get the following
 error in my apache error_log:

 Could not prepare for execution: Got 1 failure(s) while initializing:
 change from absent to file failed: Could not set file on ensure:
 Permission denied - /var/puppet/log/masterhttp.log

 Client-side I get this error:

 puppetd[4471]: Could not call puppetca.getcert: #RuntimeError: HTTP-
 Error: 500 Internal Server Error
 Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate:
 Certificate retrieval failed: HTTP-Error: 500 Internal Server Error

 Changing permissions, user, group ownership on /var/puppet/log/
 masterhttp.log seems to have no effect.

 Any insights would be appreciated.

 Cheers--

 Charles

 --
 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 this group, send email to 
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/puppet-users?hl=en.





-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] subscribe require

2010-03-18 Thread Daniel Kerwin
On Thu, Mar 18, 2010 at 2:57 PM, Christopher Johnston
chjoh...@gmail.com 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
 following below would setup a dependency on the package pam to be installed
 in order for the file type to run.
 package { 'pam':
   ensure =  latest,
 }
 file { '/etc/pam.d/system-auth':
   ensure  = symlink,
   target  = 'system-auth-ac',
   require = Package['pam']
 }
 But what I am confused about is how is subscribe different?  Doesn't that
 handle the same relationship of saying that you are subscribing (and/or)
 requiring something?

Subscribe and notify are responsible for notifying resources of
changes in another resource. For example:

file { /etc/apache2/httpd.conf;
   ...
   require = Package[apache],
   notify = Service[apache],
}

The require statement ensures that the package apache is installed
before the file is managed. When the file httpd.conf is updated the
service apache is notified to restart/reload.

Hope this helps


 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 k...@gocept.com wrote:
 Am 16.03.2010 17:16, schrieb Daniel Kerwin:
 is it possible to add a system variable like config_version to a template?

 I don't understand your question? What do you mean with system variable?
 Facts? Manifest variables?

 Do you want just to *use* variables in templates? Do you want to set them
 from templates (which would I consider as bad idea)?

 Cheers

 Christian

 --
 Dipl.-Inf. Christian Kauhaus  · mail/jabber: k...@gocept.com
 gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
 http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1
 Zope and Plone consulting and development

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
Sent from Google Mail for mobile | mobile.google.com


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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 Clausen ftclau...@gmail.com wrote:
 Hi All,

 From what I have read the defacto tome seems to be Pulling Strings with
 Puppet by James Turnbull. Is this still the best reference? I notice it was
 published in 2008 so it might be out of date. I can also just read the
 regular docs on the site but I like the way books are written - it flows
 better for me when learning a subject.

 Regards,

 Fred.

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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 mattmora...@gmail.com wrote:
 More puppet run woes, is anyone using this feature successfully?
 I've got it working so the master can trigger the runs, but the client
 doesn't see any changes to do when the run is triggered.
 On the client
 # puppetd --test --noop
 Shows the changes that are going to happen
 On the master
 # puppetrun --host server.local
 The client polls, I see the compiled catalogue in the masters log, but the
 clients logs say there is no change to do.
 Running 0.25.1, does this work in 0.25.4?
 If i'm wasting my time on this, then i'll probably go down the mcollective
 route, though this is OTT for what I need right now :-S
 Cheers,
 Matt

 --
 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 this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 connections (500). Any suggestions?

Thanks,

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 mich...@reductivelabs.com 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 there's opportunity to make everything better.   We want
 everyone to love Puppet from their first few minutes using it, all the
 way through to datacenter nirvana.

 With Puppet, if you're just learning it, what were some of your
 stumbling blocks?   If you are an existing user, think back to that
 time, or times when you were talking with new users?

 One of the ideas I had from cobbler was cobbler check which was a tool
 you could run to identify some of these problems.   I'm not sure if it
 makes sense for Puppet, but it may do some things like say you appear
 to have DNS problems resolving this, you should try... and so forth.  
 What else might there be?   Obviously one of the things I'm going to be
 looking for are what questions keep coming up on IRC ... Are there
 mainly questions around puppetca?   Should scaling be easier to set up
 out of the box and in the default configuration (right after RPM or deb
 install)?

 Are there easy additions or changes to the software we can make to make
 error messages clearer and self-resolving?   Obvious things in the
 documentation/manpages we can clean up?    (Aside:  I think Puppet
 Dashboard has a LOT of opportunity to help with this too, so watch this
 space!)

 I'm going to be looking into this myself, but I'd love to hear from
 you.   Any and all data is welcome.   (If you'd prefer to reply
 personally or talk over IRC, that's fine too.)

 Thanks!

 --Michael

-- 
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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 mich...@reductivelabs.com wrote:
 Hi Everyone,

 We have a WhosUsingPuppet page up here:

 http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet

 However, while this mailing list has 1600+ people on it (excellent!) we
 have only about 100 on the user page.   We'd love to have you listed up
 there!   (Note:  eventually I really do need to sort/categorize this one).

 So, here's the really cool deal just visit the web page, and click
 Edit to add yourself.   If you don't have a Trac account, you'll need
 to click Register in the upper right first and set one up.    
 Painless, I  promise.

 Now add yourself to the web page.   If you *also* add a Testimonial (at
 the bottom of the page), we'll send you a free T-shirt.    No need to
 link to an email or anything.   Just include a few quotes about why you
 think Puppet is great and how it has helped you, and then email me
 /directly/ with your address and shirt size:

           To:   mich...@reductivelabs.com
           Subject:   [Puppet Testimonial] Free T-Shirt

           * Your Name
           * Your Address
           * Your Company + Website
           * Shirt Size
           * Copy and Paste of What You Wrote On The Wiki Page

 And we'll send shirts out -- probably on a monthly basis.    Supplies
 may be limited depending on how many people take us up on this, though
 we will do our very best!   And yes, we will ship internationally.

 Again, here's the web page:

        http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet

 Thanks!

 --Michael

-- 
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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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 --host efgh --tag restart_my_service

It's easy to create a class to restart services but it then get
applied anytime i use puppetrun.

Thanks,

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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[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

On Feb 2, 3:15 pm, Oliver Schad pup...@oschad.de wrote:
 Hi,

 is there a way to manage cron jobs by puppet with the builtin cron
 ressource in extra files?

 I use to manage my cron jobs below /etc/cron.d and a service own name, for
 example /etc/cron.d/apache (which can contain many jobs).

 If I remove my service apache from the system or migrate it to another
 machine I have exactly one cron dependency so it is very easy to manage.

 I know, puppet manages my jobs but I like it that the system has the same
 structure as without puppet (for example if I had to remove puppet for
 some reason).

 I don't see a way to do that in puppet but maybe I don't understand the
 documentation.

 regards
 Oli

  signature.asc
  1KViewDownload

-- 
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 this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.