[Puppet Users] Rackspace support in cloud provisioner

2012-06-19 Thread Carl Caum
Carl Caum Product Owner @ccaum -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more

Re: [Puppet Users] Compile catalog time: 2.6 vs 2.7.X

2012-05-08 Thread Carl Caum
class, use of conditionals, and use of functions. -- Carl Caum Puppet Labs On Tuesday, May 8, 2012 at 11:15 AM, Derek J. Balling wrote: FWIW, we are experiencing exactly the same thing in 2.7 that you are. We used to average 6-9 seconds for compilation time and now it's anywhere from 15

[Puppet Users] Re: Compile catalog time: 2.6 vs 2.7.X

2012-05-08 Thread Carl Caum
Further, it would help to know how many different environments you're using On May 8, 3:24 pm, Carl Caum c...@puppetlabs.com wrote: Arnau, is it possible for you to send me a copy of your manifests?  A colleague and I were recently trying to find out where the slowness in 2.7 really was.  We

[Puppet Users] Calling class defines in pure ruby DSL

2010-12-09 Thread Carl Caum
Let's say I have a define in class 'foo' called 'foo::bar': define foo::bar ($var1, $var2) { ... } Then I have a ruby hostclass hostclass :foo do ... } I see I can successfully set the parameters by doing: environment.known_resource_types.definitions['foo::bar'].set_arguments

Re: [Puppet Users] Puppet in a virtual environment

2010-12-08 Thread Carl Caum
You can name it whatever you like. 'puppet' is the default. In your client's puppet.conf files, add the line: server = puppetmaster_hostname under the [agent] section if running version 2.6 and [main] section if running version 0.25. It also doesn't hurt to add this line to your

Re: [Puppet Users] Restarting services

2010-11-05 Thread Carl Caum
Use the audit meta-parameter. Set it to enable and ensure, or all. service { foo: audit = ['ensure','enable']; } http://www.puppetlabs.com/blog/all-about-auditing-with-puppet/ On Nov 5, 2010, at 3:20 PM, byron appelt wrote: Is it possible to use a Service resource, but not have

[Puppet Users] Local puppet forge repository

2010-10-18 Thread Carl Caum
Is there a way to run your own puppet forge repository? We are interested versioning and distributing our modules the same way we do our custom RPMs. We want to use puppet-module-tool and configure it to point to our local repository. -- You received this message because you are subscribed

[Puppet Users] Exec in 2.6 and environment variables

2010-10-13 Thread Carl Caum
Hello everyone. I'm running in to trouble setting/changing environment variables for exec resources in 2.6.2. If the environment variable exists before I try to run the command, puppet can't seem to change it. For example, exec {foo: environment = PATH=/blah, command = /bin/bash -c

[Puppet Users] SVN pre-commit hook on wiki

2010-09-02 Thread Carl Caum
On the wiki page http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control, the SVN Pre-Commit Hook script needs to be fixed to not check the syntax on files getting deleted. The following line: $SVNLOOK changed -t $TXN $REPOS | awk '{print $2}' | grep '\.pp$' | while read line

Re: [Puppet Users] SVN pre-commit hook on wiki

2010-09-02 Thread Carl Caum
Huh. I didn't think I had permission to edit that. Turns out I already had a login and everything :P On Sep 2, 2010, at 1:46 PM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/02/2010 08:34 PM, Carl Caum wrote: On the wiki page http://projects.puppetlabs.com

Re: [Puppet Users] accessing client certname in manifests?

2010-05-28 Thread Carl Caum
I can't find it. I just use $fqdn mostly with the exception of a few DHCP boxes. On May 28, 2010, at 2:02 PM, Nigel Kersten wrote: On Fri, May 28, 2010 at 12:00 PM, Dan Bode d...@puppetlabs.com wrote: On Fri, May 28, 2010 at 11:52 AM, Nigel Kersten nig...@google.com wrote: I

Re: [Puppet Users] (* Checking puppet managed servers for success *)

2010-03-12 Thread Carl Caum
Look at The Foreman or Puppet Dashboard http://theforeman.org/ http://reductivelabs.com/2009/12/14/a-tour-of-puppet-dashboard-0-1-0/ On Mar 12, 2010, at 8:58 AM, Ed Greenberg wrote: Is there any centralized way to look at the puppetmaster server and see (a) when did we last hear from each

[Puppet Users] Generating a change report

2010-03-09 Thread Carl Caum
I want to run puppet with --noop on a system and generate a management readable report. Does anyone have a technique/tool to do this? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] capacity planning with puppet.

2010-02-18 Thread Carl Caum
Any way you can share that PDF? The main page suggests it's supposed to be public anyway so I'm assuming the required login is a mistake. When you looked at deploying your puppet modules to the clients and getting rid of the puppetmaster model, did you consider only syncing only the modules the

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

2010-02-03 Thread Carl Caum
Sounds good. Just added my company. I'll do a testimonial when I have more time. On Feb 3, 2010, at 10:22 AM, Michael DeHaan wrote: Hi Everyone, We have a WhosUsingPuppet page up here: http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet However, while this mailing list has

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

2010-02-03 Thread Carl Caum
Oops. Looks like I jumped the gun. I have to get approval from the higher ups so I've removed our entry for now. I'm sure they'll approve it so we can get it back up soon. On Feb 3, 2010, at 10:32 AM, Carl Caum wrote: Sweet. Just added my company. I'll do a testimonial when I have more

Re: [Puppet Users] qualified variables inside of a node definition?

2010-02-03 Thread Carl Caum
You could use stored configs and collect all the values for all the hosts on all the hosts. So something like this: node foo { ipaddress = 1.2.3.4 } node bar { ipaddress = 5.6.7.8 } class jumpstart { @@file{ /etc/sysidcfg.d/$hostname: content = template(sysidcfg.erb), tag

Re: [Puppet Users] Re: qualified variables inside of a node definition?

2010-02-03 Thread Carl Caum
Oh, I apologize. After re-reading your original post I see you clearly stated that. You'll have to use extlookup: http://blog.klavsen.info/content/extlookup-puppet-extension-you-cant-live-without You can make two calls to get the ipaddress, once in the classes and once in your node

Re: [Puppet Users] up2date + arch

2010-01-28 Thread Carl Caum
On Jan 28, 2010, at 10:08 AM, James Cammarata wrote: On Wed, 27 Jan 2010 14:42:12 -0600, Carl Caum carl.c...@gmail.com wrote: Make extra sure that's true. I found it won't give you an error but the package still won't always be installed. On Jan 27, 2010, at 12:05 PM, James Cammarata

Re: [Puppet Users] up2date + arch

2010-01-27 Thread Carl Caum
Unfortunately even the yum provider sucks at this too. It may have been fixed recently, but I don't think so since the problem exists in how rpm reports back queries for available packages. I have to solve this with an exec. . You could do something similar to: exec {install libacl.i386:

Re: [Puppet Users] up2date + arch

2010-01-27 Thread Carl Caum
Make extra sure that's true. I found it won't give you an error but the package still won't always be installed. On Jan 27, 2010, at 12:05 PM, James Cammarata wrote: On Wed, 27 Jan 2010 11:50:41 -0600, Carl Caum carl.c...@gmail.com wrote: Unfortunately even the yum provider sucks

Re: [Puppet Users] hosts update trouble

2010-01-25 Thread Carl Caum
? Is that not the case anymore? (I am using version 0.24.8-4 from Fedora 10) -Chris On Sun, Jan 24, 2010 at 8:28 PM, Carl Caum carl.c...@gmail.com wrote: Add: ignoreschedules = true to your puppet.conf. I think you can also set listen = true and that will disable runs and just run when

Re: [Puppet Users] hosts update trouble

2010-01-24 Thread Carl Caum
: How do you disable autorun? Sent from my iPhone On Jan 22, 2010, at 3:29 PM, Carl Caum carl.c...@gmail.com wrote: I've run in to the same problem. I've started to solve this problem by getting rid of puppetmasters and puppetd. Instead I'm building a new management tool called

Re: [Puppet Users] 1.8.5 memory leaks for clients

2010-01-22 Thread Carl Caum
I haven't noticed any problems from my clients. That doesn't mean after a while (a year?) you won't want to restart puppetd. I restart puppetmasterd about every month. Someday I'll care enough to build my own RPMs. On Jan 13, 2010, at 5:49 AM, SyRenity wrote: Hi. I understand it's

Re: [Puppet Users] hosts update trouble

2010-01-22 Thread Carl Caum
I've run in to the same problem. I've started to solve this problem by getting rid of puppetmasters and puppetd. Instead I'm building a new management tool called Puppeteer. I'm almost ready to begin testing, but it's not ready for others to try yet. I'll post to the list when it's read for

Re: [Puppet Users] New Puppet Documentation Site

2010-01-14 Thread Carl Caum
Agreed. The font is too big. Other than that it's great though. Good work On Jan 14, 2010, at 4:16 PM, Nigel Kersten wrote: On Thu, Jan 14, 2010 at 10:50 AM, Andrew Schulman google-groups-and...@sneakemail.com wrote: http://docs.reductivelabs.com/guides/introduction.html There

Re: [Puppet Users] Best practice for modules used for multiple environments

2009-12-10 Thread Carl Caum
Currently, we handle this by using variables that we set when parsing site.pp. We have a directory /etc/puppet/manifests/resources. In site.pp, we have 'import resources/*' before we have any node definitions. One of the files in the resources directory may be something like sites.pp where

Re: [Puppet Users] I am new bee in puppet please help me to configure a node to install something from central puppet master.

2009-12-10 Thread Carl Caum
I'd recommend you start here to get familiar with the docs: http://reductivelabs.com/trac/puppet/wiki/TOC Also, James Turnbull's 'Pulling Strings With Puppet' book has a great quick start intro. http://www.amazon.com/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780 Full

[Puppet Users] Re: Multiple manifest versions?

2009-11-17 Thread Carl Caum
. On Nov 17, 2009, at 12:16 AM, Ohad Levy wrote: that sounds interesting, how does it work? in a way, you are reproducing the role of the puppetmaser... On Tue, Nov 17, 2009 at 1:20 PM, Carl Caum carl.c...@gmail.com wrote: No, the manifest is generated per host on the fly. So each manifest

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Carl Caum
I have series of module servers that serve modules to the host. I don't use puppetmasters though. In a nutshell, I have a manifest server called the 'puppeteer' that generates manifests based on meta data stored in a database. Well, it will be in database soon. For now it's in XML files.

[Puppet Users] Re: Multiple manifest versions?

2009-11-16 Thread Carl Caum
, 2009 at 12:30 PM, Carl Caum carl.c...@gmail.com wrote: I have series of module servers that serve modules to the host. I don't use puppetmasters though. In a nutshell, I have a manifest server called the 'puppeteer' that generates manifests based on meta data stored in a database. Well

[Puppet Users] Re: conditional restart of service

2009-10-29 Thread Carl Caum
Not to say You're doing this all wrong!, but wouldn't this best be handled in the init script? You can put it under puppet control. On Oct 29, 2009, at 3:39 PM, Jason Lavoie wrote: I'm trying to have a exec dependency on a service object that would keep it from being restarted if the

[Puppet Users] Puppet + Augeas + dhcpd.conf

2009-10-29 Thread Carl Caum
Has anyone used augeas to manage the dhcpd.conf file? I really don't want to have a series of .d directories to build this thing. Each subnet needs to be a resource and each static host entry inside the subnet needs to be its own resource.

[Puppet Users] Re: Extracting users

2009-10-23 Thread Carl Caum
You can use stored configs. http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration Insteading of having virtual resources you'll have exported resources that you than collect (vs realizing). http://reductivelabs.com/trac/puppet/wiki/ExportedResources These exported resources

[Puppet Users] Re: Module include order?

2009-10-23 Thread Carl Caum
There's two ways you can go about this. 1) One dirty little secret of puppet is that inheritance is always done in order. So if you move the includes for yum and yum-priority to the node basenode_centos_5, they will processed first. I'm not sure if this is still true in 0.25 though. 2)

[Puppet Users] Re: Module include order?

2009-10-23 Thread Carl Caum
, 2009 at 1:22 PM, Douglas Garstang doug.garst...@gmail.com wrote: Awesome info. Thanks Carl! On Fri, Oct 23, 2009 at 1:18 PM, Carl Caum carl.c...@gmail.com wrote: There's two ways you can go about this. 1) One dirty little secret of puppet is that inheritance is always done in order

[Puppet Users] Re: Module include order?

2009-10-23 Thread Carl Caum
If you have packages in your yum class the. You shouldn't have package resources require the yum class. Then you have a cycle because the class requires itself which requires itself which On Oct 23, 2009, at 5:07 PM, Douglas Garstang wrote: Especially, since now I am getting this crap..

[Puppet Users] Re: any plans to support pkgutil?

2009-10-21 Thread Carl Caum
Try the attached file. Put it in a module named pkgutil and put it in pkgutil/plugins/puppet/provider/package/pkgutil.rb Make sure you have plugin syncing on. I haven't tested it. I just modified a different provider. Should be a starting point for you.

[Puppet Users] Re: Mac OS X plist resource type spec

2009-10-08 Thread Carl Caum
:52 AM, Carl Caum wrote: Nigel Kersten and I had previously worked on a plist provider spec for Mac OS X. Attached is a PDF of the current state. I would appreciate any input and criticisms. Puppet Plist native type spec.pdf

[Puppet Users] Re: Hello, puppet show!

2009-10-05 Thread Carl Caum
Puppet does nothing but make sure your system looks as you've described it. So to test puppet, make the system different than what you've described. I wouldn't touch the sudoers file for obvious reason :) But try uninstalling the ntp package, then run puppet again. It should install the package.

[Puppet Users] Re: Video from PuppetCamp

2009-10-05 Thread Carl Caum
1) The link seems to be dead. 2) Does anyone have a high res image of Ohad's subversion layout? On Fri, Oct 2, 2009 at 1:18 AM, Allister Banks allis...@pointconsultants.com wrote: Thank you, thank you, thank you, thank you. Stuck at a wedding in Japan(not hacking on FreeBSD), and between

[Puppet Users] Re: creating custom types

2009-09-29 Thread Carl Caum
This is always a good starting place: http://reductivelabs.com/trac/puppet/wiki/Development/CreatingCustomTypes On Wed, Sep 30, 2009 at 12:35 AM, Matt Delves m.del...@ballarat.edu.auwrote: Hey Folks, I'm after some documentation about creating a custom puppet type. Particularly creating

[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Carl Caum
I'd definitely be interested in going but I don't get in to SF till 11:00am. According to GMaps, the earliest I could get the Google Campus is at 2:00pm by bus. Anyone have any suggestions? On Mon, Sep 28, 2009 at 12:57 PM, Nigel Kersten nig...@google.com wrote: If you're interested in coming

[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-28 Thread Carl Caum
Change of plans. I rented a car. I could make it if it's around 12:00 ish. On Mon, Sep 28, 2009 at 2:12 PM, Carl Caum carl.c...@gmail.com wrote: Thanks. It still it looks like I couldn't get there before 2:00pm. Oh well, have fun. On Mon, Sep 28, 2009 at 2:03 PM, Ian Ward Comfort

[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist

2009-01-09 Thread Carl Caum
Try adding an exec statement that runs at the beginning of your manifest. I'd have to know your manifest to suggest the best way to do it. I personally have an essential package resource require it. exec {mkdir -p /var/lib/puppet:} On Jan 9, 2009, at 10:02 AM, Arnau Bria wrote: On

[Puppet Users] Re: custom package provider troubles

2008-12-31 Thread Carl Caum
. Andrew On 12/31/08, Carl Caum carl.c...@gmail.com wrote: I have written a custom package provider for the pkgutil utility on Solaris 10. Pkgutil replaces pkg-get which is not deprecated. All I did was modify the Blastwave provider to use pkgutil instead of pkg- get. I've tried two approaches

[Puppet Users] Re: Understanding the default node.

2008-12-24 Thread Carl Caum
On Dec 24, 2008, at 2:55 AM, Peter Meier wrote: Hi So the way I have implemented it is that we have a basenode node with the common elements that all nodes get. The basenode is then inherited by each of the specific nodes, therefore you get something like: import foo import

[Puppet Users] Re: site.pp question

2008-12-23 Thread Carl Caum
Post your package.pp file On Dec 23, 2008, at 7:19 AM, Gershenz wrote: Hey I have a server named lnx02system, he is the puppet-master in my site.pp file I have the folowing lines: import classes/* node default { include sudo } node lnx01system{ include passwd } The problem is that

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
} } } On Dec 19, 2008, at 11:16 PM, Crawford Kyle wrote: On Dec 19, 2008, at 10:48 PM, Nigel Kersten wrote: On Fri, Dec 19, 2008 at 7:23 PM, Crawford Kyle kcrw...@gmail.com wrote: On Dec 19, 2008, at 7:55 PM, Nigel Kersten wrote: On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum carl.c

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
ideas? On Dec 19, 2008, at 11:16 PM, Crawford Kyle wrote: On Dec 19, 2008, at 10:48 PM, Nigel Kersten wrote: On Fri, Dec 19, 2008 at 7:23 PM, Crawford Kyle kcrw...@gmail.com wrote: On Dec 19, 2008, at 7:55 PM, Nigel Kersten wrote: On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum carl.c

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum carl.c...@gmail.com wrote: Most plist management can be done with the defaults command. It means we exec out everytime, but we could write a definition/plugin around it. It also has

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
system_profiler, which is used to generate default facts is failing. Maybe it doesn't work because of virtual hardware. On Dec 22, 2008, at 12:28 PM, Carl Caum wrote: Most plist management can be done with the defaults command. It means we exec out everytime, but we could write

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:59 AM, Nigel Kersten wrote: On Mon, Dec 22, 2008 at 9:47 AM, Carl Caum carl.c...@gmail.com wrote: On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum carl.c...@gmail.com wrote: Most plist management can be done

[Puppet Users] Join active directory domain on Mac OS X Leopard

2008-12-19 Thread Carl Caum
Does anyone know how to go about joining Mac OS X Leopard to an Active Directory domain with puppet? Primarily it needs to be broken down in to doing LDAP authentication with a few attribute mappings and using kerberos for the password authentication.

[Puppet Users] Provider Development - is synced?

2008-12-12 Thread Carl Caum
Hello all. I'm working on creating a plugin to manage configuration files by allowing entries to be their own resource. I've started on writing the provider using examples such as this: http://reductivelabs.com/trac/puppet/wiki/CompleteResourceExample However, I can't find any

[Puppet Users] Re: Provider development - is synced?

2008-12-12 Thread Carl Caum
Nevermind, now I understand how the getter and setter works. I just needed to take another look at it. On Dec 12, 2008, at 9:25 AM, Carl Caum wrote: Hello all. I'm working on creating a plugin to manage configuration files by allowing entries to be their own resource. I've started