[Puppet Users] Re: Puppet environment + fileserver

2010-04-03 Thread Ken
Both of your statements are true ... however its a good thing to get into the rhythm of using modules as its more effort to convert later on when you do want to benefit from modularisation. Its also only a small initial cost to be honest so I think its worth it. ken. On Apr 2, 3:26 pm, Serge

[Puppet Users] Re: Export resource issue - "more than one of content, source, target"

2010-04-06 Thread Ken
its your 'ensure' line but try a few things first. Strip your resource back to its simplest parts until it works - then keep applying your specific configuration piece by piece until it breaks again. ken. On Apr 6, 5:10 am, Alan Sparks wrote: > I'm trying to create an expo

[Puppet Users] Re: Problem syncing custom fact

2010-04-06 Thread Ken
Yes in theory. Depending on the section you put it in of course. I have pluginsync=true in the [main] section of my puppet.conf, on both my client and server and sync works fine. Can you post your full configuration? Both client and server? Can you confirm your other settings are working when you

[Puppet Users] Re: Problem syncing custom fact

2010-04-06 Thread Ken
s when its wrong. It does when you get it wrong on the command line however, so the logic is there somewhere. This is already an open ticket here: http://projects.puppetlabs.com/issues/3119 ken. On Apr 6, 9:52 pm, byron appelt wrote: > I found the problem. My puppet.conf somehow got checked into

[Puppet Users] Re: Exported resource [...] cannot override local resource - Common error, how to get around

2010-04-06 Thread Ken
ensure => present, source => "file:///tmp/puppet-list-updates", backup => false, tag => "foo" } And then on the server use: File <<| tag == "foo" |>> ken. On Apr 6, 3:00 pm, Tore wrote: > Hi, > > I've

[Puppet Users] Re: puppet clients dieing

2010-04-07 Thread Ken
I've seen excessive memory usage in some clients due to odd variants - the Linux OOM killer usually kicks in at some point. Check 'dmesg' to make sure it wasn't this. Also - are you catching core dumps on your box incidentally? And as Tore mentions - anything in the logs? Of course the obvious th

[Puppet Users] Re: Puppet commands giving nothing but a stack trace

2010-04-08 Thread Ken
I don't suppose its your stack size? Whats the output of 'ulimit -a' on your box (as the user you were trying to run those command as of course). Mine is 8192 kb. Can you try it with a later version of Ruby from RHEL 5.4? On Apr 8, 9:50 pm, Rob McBroom wrote: > I suspect this has more to do with

[Puppet Users] Re: Yum provider using version-release as version?

2010-04-09 Thread Ken
e nice for providing the most flexible version selection criteria. Thoughts? ken. On Apr 9, 8:52 pm, "Tony G." wrote: > Hi, > > I'm using yum as our package provider and having an issue. Puppet is > complaining of the version, this is the code I'm trying

[Puppet Users] Re: Yum provider using version-release as version?

2010-04-10 Thread Ken
es, and that yum would be able to find the match > if executed with just the version and not the release, right? Yes this is correct. Its all about being less precise in your match. ken. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Yum provider using version-release as version?

2010-04-11 Thread Ken
installed it will print out > the Error too as the "ensure" string(the version only) does not match the > version-release that puppet constructs in the query define of the rpm.rb. Yeah I've definitely been surprised by this before - the behaviour is ambiguous enough, you s

[Puppet Users] Re: James Turnbull (finally) joins Puppet Labs

2010-04-12 Thread Ken
Excellent news. Congrats James. On Apr 12, 4:58 am, Luke Kanies wrote: > We're very excited to announce that after years of being a critical   > contributor to Puppet, including writing the Puppet Book, James   > Turnbull is joining Puppet Labs as Director of Operations, where he'll   > be respon

[Puppet Users] Re: Yum repo update now causing failure in client.

2010-04-13 Thread Ken
ile, or restarting your puppet master? The exec might still be cached on the server perhaps? ken. -- 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 f

[Puppet Users] Re: virtual resources

2010-04-14 Thread Ken
you could just tag the resources, and search for the tag instead. @file { $myarray: ensure => directory, tag => "myfiles" ... } File <| tag == "myfiles" |> It should do the same trick. ken. On Apr 13, 11:39 pm, Roy Nielsen wrote: > Hello, > >

[Puppet Users] Re: virtual resources

2010-04-14 Thread Ken
> @file { $myarray: >   ensure => directory, >   tag => "myfiles" >   ... > > } > > File <| tag == "myfiles" |> Or I think this will work also, probably close to your first requirement: @file { $myarray: ensure => directory, } realize(File[$myarray]) -- You received this message because you

[Puppet Users] Re: Jeff McCune joins Puppet Labs

2010-04-14 Thread Ken
Such good news you had to say it twice eh? Congrats Jeff. On Apr 14, 5:09 pm, Luke Kanies wrote: > Hi all, > > I'm pleased to announce that Jeff McCune will be joining Puppet Labs   > and moving to Portland, OR in May. > > Jeff has been a critical part of Puppet's great support for OS X,   > hav

[Puppet Users] Re: Time to scale up? : Could not call fileserver.describe: #

2010-04-14 Thread Ken
+1 on the passenger ... we wouldn't survive without it. We are running 0.25.4 as well. In regards to the nodes hitting the puppetmaster at the same time - I presume you've looked at the 'splay' option? There is a gotcha at the moment however: http://projects.puppetlabs.com/issues/3321 Vote if y

[Puppet Users] Re: Java recipe

2010-04-15 Thread Ken
What do you want to do above and beyond say - installing a package? ie. in redhat I just did: package {"java-1.6.0-sun": ensure => installed } As redhat stuff java in their repos :-). ken. On Apr 15, 9:15 am, SyRenity wrote: > Hi. > > Is there any good Sun Java recipe

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-20 Thread Ken
also carries other modes like SNAT support and --tosource and -- toports for REDIRECT. It was only tested on RHEL5.x - your mileage may vary. ken. On Apr 19, 8:05 pm, seph wrote: > I've been using camptocamp's iptables module. It works pretty well, lets > me define rules in various mo

[Puppet Users] Re: Managing Users in Groups

2010-04-20 Thread Ken
r block ... I believe this was mentioned in errata or a release note somewhere though. Perhaps a candidate for a wiki mod - although I get the feeling docs are moving to docs.puppetlabs.com. ken. On Apr 20, 4:04 pm, Lawrence W wrote: > I want to be able to add users to machines and have th

[Puppet Users] Re: Grouping user and ssh_authorized_key in one virtual class.

2010-04-20 Thread Ken
+1 on solution Marc. > The nuisance with this solution is that you cannot have more than 1 ssh > key ... my::user {"...": ... key => "...", key2 => "...", key3 => "...", key4 => "...", ... } Yuck :-). ken. --

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-20 Thread Ken
ke a scope thing. What scope did you define that code in? Try it in your /etc/puppet/ manifests/site.pp file. ken. -- 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

[Puppet Users] Re: filebucket cleanup?

2010-04-20 Thread Ken
I can't see one. 'tmpwatch' is probably your friend (or the tidy puppet resource). However ... It might be more suitable to delete on a policy. ie. delete everything but the last backup ... Not sure how important that might be to most people. I'd say at least a timed cleanup is a worthy feature r

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-21 Thread Ken
y boot sequence ... if you manage your service starts in puppet as well, you can let puppet do the ordering for you. ken. -- 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

[Puppet Users] Re: puppetd stops

2010-04-21 Thread Ken
More data is needed I think. Can you run puppetd --no-daemonize --debug in 'screen' or by piping the output somewhere? It may give you a better clue. On Apr 21, 12:39 pm, Kim Gert Nielsen wrote: > Hi all, > > The last 2 weeks we have been having problems with puppetd just randomly > stopping. T

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-21 Thread Ken
lume id is what you reference in your configuration ...? ken. -- 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 em

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-21 Thread Ken
use I wanted to use EBS volumes. I also wanted it to be 'clean' without someone else's customisations as well :-). ken. On Apr 21, 3:42 pm, Matt wrote: > Having the ebs vol id as a parameter in the node manifest works for us > > $ebsvol = "xxx" > > Then

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-21 Thread Ken
d) We should probably take this dev discussion off-thread to not create too much mail noise. Feel free to email me or get me on xmpp/google talk (same addy as my email address). ken. On Apr 21, 9:52 pm, seph wrote: > Ken writes: > > What scope did you define that code in? Try it in your /

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
omised then the would-be hacker can take control of all the other boxes as well. ken. -- 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 grou

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
uppetd and see what its doing ... if its a large IO it should be obvious as you will see it read/write on a particular file descriptor. ken. -- 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

[Puppet Users] Re: getting a list of rules out of iptables

2010-04-22 Thread Ken
er resources once > it has run ? I'll take a look tonight. I think because you do all your changes quite late in the flow it might pose some problems with ordering. Let me take a proper look. ken. -- You received this message because you are subscribed to the Google Groups &q

[Puppet Users] Re: Puppet & EC2: Attach an EBS volume at boot?

2010-04-22 Thread Ken
irtualisation manager app' supports an API - the new server could call back to that API. The idea being that whatever virt manager you use would have more fine grained access control then the amazon web service does. ken. On Apr 22, 12:19 pm, Phillip B Oldham wrote: > On Apr 22, 12:04 pm,

[Puppet Users] Re: puppetd stops

2010-04-23 Thread Ken
Are we missing the top of that stack trace Kim? FYI If you use Ctrl-A + [ you can scrollback in screen. ken. On Apr 23, 8:54 am, Kim Gert Nielsen wrote: > On Apr 21, 2010, at 2:51 PM, Ken wrote: > > > More data is needed I think. > > > Can you run puppetd --no-daemonize -

[Puppet Users] Re: Introducing Scaffold

2010-05-06 Thread Ken
e this and perhaps specify having the module laid out in cwd ... I think in either case a main config file where you can stuff vars for the above would be a modular approach to taking your app forward. Cheers. ken. On May 4, 9:30 am, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE-

[Puppet Users] Re: Introducing Scaffold

2010-05-07 Thread Ken
Groovy dude. I'll be watching (cos I like to watch). On May 6, 11:20 pm, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 7/05/10 2:30 AM, Ken wrote: > > > Nice one James - we (people I work with) had discussed a tool just > > li

[Puppet Users] Re: puppetrun with parallel option

2010-05-07 Thread Ken
) ken. On May 7, 6:28 am, Abhishek wrote: > Hi, > > Can anyone tell me how can i run puppetrun parallely for updating > multiple machines at a time? > > Currently I m using puppetrun like this. I did not found any option to > define parallel while puppetrun --help menti

[Puppet Users] Re: puppet and ubuntu 9.04

2010-05-08 Thread Ken
Have you tried back-porting the deb packages from a newer revision yet? Considering its Ruby based you should have reasonable luck with it. http://packages.ubuntu.com/lucid/puppet ken. On May 8, 10:26 pm, hai wu wrote: > I am stuck with ubuntu 9.04 as puppet master server. But puppet vers

[Puppet Users] Re: Disabling exec type output

2010-05-12 Thread Ken
). In your case, its running each time so the behaviour is correct (but not as you expect). You could also use 'creates' instead: exec {"dummy-password-${name}": command => "cat /etc/passwd | grep \"^${name}\" > /var/sftp/chroot/$ {name}/etc/passwd&quo

[Puppet Users] Re: Modules in SVN/Git repositories - How are they organised?

2010-05-12 Thread Ken
tocamp And other puppetlab developers: http://github.com/bruce http://github.com/bodepd http://github.com/lak I believe Puppetlabs are working on a solution for user contributed modules. Not sure what the status is - perhaps Michael DeHaan (product manager for puppet) can provide some information.

[Puppet Users] Re: Have I found a bug with variables in nodes?

2010-05-12 Thread Ken
g you've seen puppet-dashboard right? It avoids the need to develop your own thing if you don't want to. ken. -- 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.

[Puppet Users] Re: External Nodes

2010-05-13 Thread Ken
s external node support) also being able to support this. ken. On May 13, 5:31 pm, Douglas Garstang wrote: > On Thu, May 13, 2010 at 9:08 AM, Douglas Garstang > > > > > > wrote: > > From the puppet documentation at > >http://docs.puppetlabs.com/guides/exter

[Puppet Users] Re: confusing log file entry....

2010-05-13 Thread Ken
puppet:///ntp/ntp.conf.SUSE", require => Package["xntp"] } package {"xntp": ensure => latest } } } } Or perhaps: class ntp { file {"/etc/ntp.conf": source => "puppet:///ntp/ntp.conf.${operatingsystem}, require =&

[Puppet Users] Re: Multiple Puppet Servers

2010-05-14 Thread Ken
balancing built in. Cool bananas. ken. -- 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...@googlegro

[Puppet Users] Re: External Nodes

2010-05-14 Thread Ken
even with some performance tuning the files take half a minute to parse. ken. -- 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 ema

[Puppet Users] Re: client specific configuration not working

2010-05-18 Thread Ken
u got an error (as one would expect :-). Include is a bit more magical. It does the import (behind the scenes) of the file /manifests/init.pp and then calls the class found inside it. I'm simplifying but I figure you get the idea :-). ken. On May 18, 5:15 pm, Silviu Paragina wrote: > Odd,

[Puppet Users] Re: filebucket issue

2010-05-18 Thread Ken
. Just try it out and see if it solves it for you. ken. On May 17, 2:18 pm, Abhishek wrote: > Hi, > > I am using puppet to deploy config files but i am facing issue while > implementing filebucket for backup. Issue is i am defining central > file bucket but still files are gett

[Puppet Users] Re: ssh_authorized_key creating multiple entries on repeated runs

2010-05-18 Thread Ken
ut & paste into this list :-). ken. On May 18, 8:46 pm, Marley Bacelar wrote: > HI my puppet version is 0.25.4 and i my class is that: > > ssh_authorized_key { "marley": >                 user => "marley", >                 type => "ssh-rsa&

[Puppet Users] Re: Management of MySQL grant tables?

2010-05-19 Thread Ken
priv", "update_priv", "delete_priv", "create_priv", "drop_priv", "index_priv", "alter_priv", ], require => Mysql_user["w...@localhost"];

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-19 Thread Ken
s are many - but it does take a bit to get your head around the setup. BTW - Why do you care if you are installing extra packages? Are you space constrained? ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

[Puppet Users] Re: 0.25, REE, ruby-shadow

2010-05-19 Thread Ken
-1.4.1/README.ja [...@obelisk ruby]$ Sounds like either there is a library mismatch or it is not installed perhaps? I don't have a ruby-enterprise install here at home - but if you can't see anything obvious about your version of the library I can check on a machine tomorrow. ken. On May

[Puppet Users] Re: 0.25, REE, ruby-shadow

2010-05-20 Thread Ken
Every body does it now and then - hehehe :-). Its a shame we need to use different interpreters to get things working in the first place really. Lets hope in time this ruby deployment fiasco becomes cleaner. ken. On May 20, 1:07 am, Chad Huneycutt wrote: > Thanks for sanity check, Ken.  I j

[Puppet Users] Re: Is there a way to pass options to rpm provider of package resource?

2010-05-20 Thread Ken
ll avoid having to modify the core ruby code. I did a bit of wrapping like this at my last job - for example I had my own 'foo_mount' resource which also turned on nagios monitoring implicitly. ken. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] using class style namespace with custom resources

2010-03-27 Thread Ken
ted to a ruby-based one without changing the interface contract. ken. -- 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, sen

[Puppet Users] Re: Puppet environment + fileserver

2010-04-01 Thread Ken
f you want a single location for your companies files you could always put them in a specific module. ken. On Apr 1, 10:13 am, Serge Dewailly wrote: > Hi All, > > I'm trying to use different environment for my servers management. I'am > able to use different classes, m

Re: [Puppet Users] SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress

2012-01-30 Thread Ken Barber
. The paths might give a clue as to where its traversing on the filesystem. ken. On Mon, Jan 30, 2012 at 7:42 AM, Sven Sporer wrote: > Hi, I run into problems with the ipaddress fact using the latest > Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work > perfectly fine

Re: [Puppet Users] Yaml server facts, weird message: "id00"

2012-02-15 Thread Ken Barber
What are you actually trying to do with the YAML file today Marek whereby the links are causing such problems? This is a semi-loaded question ... call me curious :-). On Wed, Feb 15, 2012 at 9:55 PM, Marek Dohojda wrote: > :: sigh ::: > > Back to the ol' drawing board.  LOL. > > Well I guess that

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Ken Barber
ain stage. If people can try this methodology and see if it works that would be much appreciated, then the documentation can be updated to reflect this pattern instead. ken. On Tue, Mar 13, 2012 at 2:27 PM, Christian McHugh wrote: > In the pre main stage I have defined rules to allow outb

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-14 Thread Ken Barber
equire => Class["my_soe::fwpre"], } I'm setting it so that by default, every rule firewall resource runs 'before' Class["my_soe::fwpost"], and it requires Class["my_soe::fwpre"]. So in this example it doesn't need stages - just put your pre & po

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-14 Thread Ken Barber
'll get the documentation fixed then. > All that remains is waiting for a new release to get firewall rules at boot > on debian, and then some magic work yet to be done for not stomping on > custom chains like fail2ban. Indeed. ken. -- You received this message because you are subscri

Re: [Puppet Users] Suggestion - puppet preload stage?

2012-03-29 Thread Ken Barber
ely honest with you - up until now, this has been done with pre-puppet stuff. That is - done with kickstart, jumpstart or whatever you use to build the system. Of course, this then becomes non-idempotent which makes Puppet less useful overall. Dude - try the lazy evaluate with the edge cases y

Re: [Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread Ken Barber
going to ask via email I think are interesting to other community developers - so having them open to the world I think benefits all. ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

Re: [Puppet Users] GitHub -> PuppetForge

2012-04-12 Thread Ken Barber
fallback. Jenkins CI can poll, but again - you really need a system that supports 'publishing on tag' not publishing on every change :-). ken. On Thu, Apr 12, 2012 at 3:56 PM, Dennis Hoppe wrote: > Hello, > > i am managing my Puppet modules with GitHub and today i discovered t

Re: [Puppet-dev] Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-16 Thread Ken Barber
A pm2rpm tool perhaps Todd? :-). On Mon, Apr 16, 2012 at 7:36 PM, Todd Zullinger wrote: > Michael Stahnke wrote: >> >> For the next major Puppet version, code-named Telly, we have some changes >> coming.  This is the first in a series of emails around these changes and >> may require some input f

Re: [Puppet Users] Determining if hiera (or any function) is installed on a node

2012-04-17 Thread Ken Barber
I'm going to review this now. Its destined for master, so someone from the release team can probably comment on the next major release schedule for stdlib. On Tue, Apr 17, 2012 at 7:35 PM, Geoff Davis wrote: > That's what I'm looking for. I'll fold in that branch into my testing until > it goes m

[Puppet Users] Looking for solution on working configuration for new testing Puppet servers in existing environments

2012-04-18 Thread Ken Lareau
o can give advice on how to proceed with this issue. Thanks in advance. - Ken Lareau -- 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 thi

Re: [Puppet Users] Re: Looking for solution on working configuration for new testing Puppet servers in existing environments

2012-04-18 Thread Ken Lareau
to handle this. Once that's done, I can then look into improving the security of our systems (as in actually making it secure rather than what it really is right now). Thank you for your input. - Ken Lareau On Wed, Apr 18, 2012 at 7:56 AM, Eric Sorenson wrote: > Hi Ken, thanks for

Re: [Puppet Users] Re: Looking for solution on working configuration for new testing Puppet servers in existing environments

2012-04-18 Thread Ken Lareau
ation would be difficult and reduce our response time to necessary user changes (of which we get anywhere from 5-10 a day). It's just not feasible without a complete reworking of how we do things right now, and not at the top of our priority lists. I do appreciate the input, however. Thank y

Re: [Puppet Users] Re: Video for last months's meeting is now online (Foreman)

2012-05-08 Thread Ken Barber
Don't stress, I'm sure its topical :-). On May 8, 2012 5:49 AM, "Brian Gupta" wrote: > My apologies, this was supposed to go to the puppet-nyc mailing list. :( > -Brian > > On Tue, May 8, 2012 at 12:42 AM, Brian Gupta > wrote: > > Ohad did a great job covering Foreman. If you couldn't make it go

[Puppet Users] Spring clean for module repository naming in Github

2012-05-14 Thread Ken Barber
ant to update your git remotes. Let me know if you see a direct problem with this, or if I have missed any. Thanks :-). ken. -- 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@googlegro

Re: [Puppet Users] ENC RDBM best practice

2012-05-30 Thread Ken Barber
Perhaps look at the Puppet Dashboard or Foreman schemas as a starting point? These are both ENC's that are already working. ken. On Wed, May 30, 2012 at 9:13 PM, erkan yanar wrote: > > Moin, > > I am thinking of using a RDBM as a best practise. > I am missing some info/

Re: [Puppet Users] Storeconfig and mcollective using activemq

2012-05-31 Thread Ken Barber
Why don't you try using PuppetDB for stored configs instead? Its asynchronous, uses activemq behind the scenes and supports postgres. https://github.com/puppetlabs/puppetdb On Thu, May 31, 2012 at 10:32 AM, Svein wrote: > How can I set up both Storeconfig and mcollective using activemq for both?

[Puppet Users] packaging puppet modules

2012-06-28 Thread Ken Dreyer
ules be considered "canonical" modules on the Forge, and then strip away the puppetlabs vendor name? Any other ideas welcome. - Ken -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https:

Re: [Puppet Users] packaging puppet modules

2012-07-01 Thread Ken Dreyer
too would like to hear more from Puppet Labs' staff on where they see the Module culture going. - Ken -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pu

Re: [Puppet Users] Re: puppetmasterd continuously consuming high CPU, with many interrupts

2012-07-02 Thread Ken Barber
> Turns out yes, it's the leap second, but boy was the fix I found > easier than that: > > http://artipc10.vub.ac.be/wordpress/2012/07/01/leap-second-causing-ksoftirqd-and-java-to-use-lots-of-cpu-time/ > > $ sudo date -s "`date`" > > Cleared it rigt up. Hu

Re: [Puppet Users] dashboard ENC and parameterized classes

2011-06-17 Thread Ken Barber
x27;firewall_wrapper' and have that pull in 'firewall'. Otherwise, you may pull in 'firewall' too early, which would apply its default settings. So drop 'firewall' from your classes in dashboard and you may find it does the correct thing ... FYI, this works for

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-17 Thread Ken Barber
r.gz]/returns: change from notrun to 0 failed: tar -vzxf /var/www/wordpress.tar.gz returned 1 instead of one of [0] at /etc/puppet/modules/wordpress/manifests/install.pp:40 So trying to run it: tar -vzxf /var/www/wordpress.tar.gz echo $? Should tell you what is wrong. ken. On Fri, Jun 17, 20

Re: [Puppet Users] Puppet module layout

2011-06-20 Thread Ken Barber
27;uat' or 'dev' part out and use that as a variable. Otherwise ... you need to use node classification if your machines are not meaningfully named and identify them with your own knowledge of what the machines do: node roadwarrior.mydomain.com { $hostgroup = "uat

Re: [Puppet Users] Re: Puppet module layout

2011-06-20 Thread Ken Barber
Augeas is a resource - I don't see how it fits in as a module. You may _use_ it in your modules if you like. On Mon, Jun 20, 2011 at 12:09 PM, Bruce Bushby wrote: > One last question: > > Would the list suggest implementing "augeas" where possible? and would > "augeas" fit into the "module layout

Re: [Puppet Users] How to manage many nodes easily?

2011-06-20 Thread Ken Barber
tool yet I believe. ken. On Mon, Jun 20, 2011 at 4:25 AM, flex wrote: > We have many modules and many nodes, every node may use different module, so > it's very unpleasant to modify the nodes.pp > Then i saw the external node, but seems it only support class and we have > many def

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-20 Thread Ken Barber
The main reason I separate title from namevar is so when I have references to the exec they stay consistent - but the command & args can be updated independently. This matters more when I have references that cross file boundaries. ken. On Sat, Jun 18, 2011 at 7:35 PM, vagn scott wrote: >

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-20 Thread Ken Barber
Did you try the logouput => on_failure in the exec? Can you try that and run the content with the --debug flag so we can all see the output? (try putting the output in pastie.org if its a lot of information). ken. On Mon, Jun 20, 2011 at 1:28 PM, lucas.brig...@ymail.com wrote: > I could

Re: [Puppet Users] Re: Puppet module layout

2011-06-20 Thread Ken Barber
on of Puppet are you running btw? I get the impression its an old one. I would recommend upgrading to 2.6 before you proceed too far :-). If you already run 2.6 let me know :-). ken. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-20 Thread Ken Barber
at /etc/puppet/modules/wordpress/manifests/install.pp:41 > I discovered that any command that has not executed any > parameter. Only simple commands. > exec {"Free": path => ["/ usr / bin"]} > > The problem really is in the function "exec". I'

Re: [Puppet Users] confused about file ensure/require

2011-06-20 Thread Ken Barber
It does seem like its not being included :-) ... What does: echo "# foo" >> /etc/ntp.conf puppet apply -d -e 'include ntp' Do? ken. On Mon, Jun 20, 2011 at 11:46 PM, Craig White wrote: > > On Jun 20, 2011, at 3:37 PM, Jacob Helwig wrote: > >> On Mon

Re: [Puppet Users] need help with "name" parameter

2011-06-22 Thread Ken Barber
ry behind this? The following: @key_attribute_parameters ||= ( params = @parameters.find_all { |param| param.isnamevar? or param.name == :name } ) Is defined in puppet/type.rb :-). Not sure if we have this behavior documented - or if its up for deprecation :-). ken.

Re: [Puppet Users] ssh_authorized_key and NIS user

2011-06-24 Thread Ken Barber
eyfor-${username}": key => "...", target => "/user/home/dirs/${username}/.ssh/authorized_keys", } The issue being you need prior knowledge of path to the key. You can glean this by producing a fact that uses something like 'getent' instead of /etc/passwd -

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-24 Thread Ken Barber
entity_filter => ["puppet1"], disctimeout => 3, timeout => 10, refreshonly => true, } Just make an mcollective plugin for adding new clients on your master and trigger it this way. ken. On Fri, Jun 24, 2011 at 3:18 PM, Andreas Kuntzagk wrote: > Daniel Maher wrote: &g

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Ken Barber
I concur. Using mcollective to trigger Puppet is sweet. ken. On Fri, Jun 24, 2011 at 3:31 PM, Daniel Maher wrote: > On 06/24/2011 04:10 PM, Nathan Clemons wrote: >> >> This is what we do at Livemocha; we're actually in the process of >> switching over to using MCollect

Re: [Puppet Users] need help with "name" parameter

2011-06-24 Thread Ken Barber
Thanks Stefan. A bug (originally a doc bug) and subsequent discussion at Puppetlabs is documented here: https://projects.puppetlabs.com/issues/8096 ken. On Thu, Jun 23, 2011 at 6:11 PM, Stefan Schulte wrote: > On Wed, Jun 22, 2011 at 08:37:25PM +0100, Ken Barber wrote: >> So it wou

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Ken Barber
upgrade :-). ken. On Mon, Jul 4, 2011 at 2:35 PM, sanjiv.singh wrote: > > > On Jul 4, 6:12 pm, Daniel Maher wrote: >> On 07/04/2011 02:46 PM, sanjiv.singh wrote: >> >> > hi all, >> > I have configured puppet 0.25.4 setup. >> >> > since last

Re: [Puppet Users] puppetlabs-firewall gsub error

2011-07-04 Thread Ken Barber
Hey Bjørge, Looks like a bug ... can you create an issue here? https://github.com/puppetlabs/puppetlabs-firewall/issues Can you supply the output of the command iptables-save as well in the ticket? It looks like its having trouble parsing that. ken. 2011/7/4 Bjørge Solli : > Hi, >

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Ken Barber
as to what its blocking on during those 20 minutes. ken. -- 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+un

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Ken Barber
Can you try the puppet run with the setting --summarize and show us the result ... (not sure if that flag was round then). ken. On Mon, Jul 4, 2011 at 5:12 PM, sanjiv.singh wrote: > > > Hi luke, > > thanks for quick reply. > > as i m able to see that puppet master taking

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-05 Thread Ken Barber
ervers in my environment.but at most puppet > master serving to 10-12 nodes (varies) concurrently. Webrick at best can manage 1 node concurrently properly. So the minute you fire up more then 1 it will slow down as it tries to serve each client when available. Switch to Apache/Mongrel :-). ke

Re: [Puppet Users] proposed syntax: order { }

2011-07-05 Thread Ken Barber
Whats wrong with using chained resources? class x { file { "a": } -> exec { "b": } -> exec { "c": } -> exec { "d": } } ken. On Tue, Jul 5, 2011 at 4:40 AM, vagn scott wrote: > Sometimes things just have to happen in sequence.

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-05 Thread Ken Barber
What does your service {} block look like? Are you using hasstatus => true? For example: service { "puppet": ensure => running, enable => true, hasstatus => true, } ken. On Tue, Jul 5, 2011 at 9:53 AM, Chris Phillips wrote: > Hi, > I've a puppet module

Re: [Puppet Users] proposed syntax: order { }

2011-07-05 Thread Ken Barber
quot;b": } }-> { # Order doesn't matter package { "b": } exec { "c": } } } Then you can also use these anonymous blocks/closures with defaults as well: class c { { Service { hasstatus => true } service { "a": } }-> { Service

Re: [Puppet Users] Problems Syncing Home Directories

2011-07-05 Thread Ken Barber
nt permissions that you should be worried about. Make the directory and its children (say .config) accessible to puppet, probably by changing the owner (or a chmod - depends on what you've got in these dirs) - and sort out applying the correct permissions on the client with the file {} resour

Re: [Puppet Users] How puppetmasterd manage libraries?

2011-07-05 Thread Ken Barber
Do you get any errors when you run puppetd/puppet agent on the server side? (as apposed to running it on the client). What version of puppet are you running btw? ken. On Tue, Jul 5, 2011 at 9:11 AM, alan bover wrote: > Hi, I've been doing some testings with an iptables puppet rece

Re: [Puppet Users] Dynamic including in templates

2011-07-06 Thread Ken Barber
Try: <% if includernw == 1 %> include "/etc/dhcp/dhcpd.rnw";<% end %> Note the '==' :-). ken. On Wed, Jul 6, 2011 at 2:45 PM, Jonathan Gazeley wrote: > I have a puppet class called dhcp which sets up the daemon and installs a > base dhcpd.conf. > >

Re: [Puppet Users] Problems with the use of custom types

2011-07-07 Thread Ken Barber
t. Hence why an pluginsync is needed ... ken. On Thu, Jul 7, 2011 at 12:18 PM, JohnW wrote: > I am trying to make use of a custom type mentioned in the wiki page > http://projects.puppetlabs.com/projects/1/wiki/Sysctl_Patterns > > I created the module sysctl, inserted the custom ty

  1   2   3   4   5   6   7   >