[Puppet Users] Run command based on OS version

2011-08-08 Thread Steve
I'm trying to write a script that runs command based on version of Redhat OS. For example, if the RHEL version is 6.0, it will run command. I was able to write file read script in ruby that would read file and execute but it didn't seem to work in puppet script. Has anyone done something like this?

[Puppet Users] Re: Run command based on OS version

2011-08-08 Thread Steve
That's good to know that there is '$operatingsystemrelease' built-in variable. But I have other applications with version files and I need to run specific class/command based on versions. Any suggestions how I should go around it? On Aug 8, 2:52 pm, "Kinzel, David" wrote: > >I'm trying to write a

[Puppet Users] sync custom facts to puppet client

2011-08-10 Thread Steve
I've tried to sync custom facts to puppet client 2.6.7 with no luck. Could you please give me advise? placed custom facts in /etc/puppet/modules/cutom/lib/facter directory (empty init.pp file created as well) edited puppet.conf to add following pluginsync = true modulepath = /etc/puppet/modules

[Puppet Users] Re: sync custom facts to puppet client

2011-08-10 Thread Steve
running the 'puppet agent -t --pluginsync' command on client synced the custom facts and now it is working. Is this something that I need to run on every puppet agent in order to sync custom facts? Thank you On Aug 10, 12:25 pm, Ken Barber wrote: > Hi Steve, > > Did you add p

Re: [Puppet Users] "Basic Windows support" in Rowlf (2.6.0 RC*) ?

2010-07-13 Thread steve .
On Tue, Jul 13, 2010 at 6:19 PM, Patrick Mohr wrote: > You might want to take a look at > http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows > > It looks like some people have gotten farther than you. Thanks for the link! Again in the hopes of sharing my "user experience" with t

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

2010-07-14 Thread steve .
If you grab the Augeas module from the same source, that should satisfy the dependency... On Wed, Jul 14, 2010 at 7:11 AM, bowlby wrote: > Hi, > I tried the mysq-module (from http://github.com/camptocamp/puppet-mysql) > and it will install mysql but it won't create db's or users. > I had to creat

Re: [Puppet Users] Re: Puppet DDNS and Preseed -- Any easier alternative

2010-07-15 Thread steve .
It seems like it would be a big headache to do this via dhclient for new Puppet hosts, unless you want to set up a means of distributing a default dhclient.conf to all new hosts... I've centralized all DDNS updates on the "provisioning server," which runs Puppet and the Cobbler services (DHCP, TFT

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

2010-07-16 Thread steve .
uot;/files//etc/mysql/my.cnf/mysqld/old_passwords", "0"] > debug: Augeas[my.cnf/mysqld](provider=augeas): sending command 'set' > with params ["/files//etc/mysql/my.cnf/mysqld/character-set-server", > "utf8"] > debug: Augeas[my.cnf/mysqld](pr

Re: [Puppet Users] subscribing a service to multiple files ?

2010-07-16 Thread steve .
Or: [...] subscribe => File["larry", "moe", "curly" ], [...] Seems to work as well for me in 0.25.5 ... On Fri, Jul 16, 2010 at 2:49 PM, Rob McBroom wrote: > On Jul 16, 2010, at 12:48 PM, phrawzty wrote: > >> Thus the question : is it possible / advisable to subscribe a service >> to multiple

Re: [Puppet Users] Re: Could not retrieve dependency

2010-07-16 Thread steve .
Sounds like a scope issue to me. You need to make sure the class is included before you start referencing objects from it. Otherwise, Puppet doesn't know they exist... i.e.: class mirror { include users::tomcat [... a bunch more stuff. ] } Disclaimer: I've been off on my own doing thi

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

2010-07-19 Thread steve .
ing parsed resources for ssh_authorized_key debug: Prefetching yum resources for package Do you have the mysql client installed on that machine? On Sat, Jul 17, 2010 at 10:17 AM, bowlby wrote: > Hi Steve, > > Thanks for your pointers, although still with no results (which > probabl

Re: Puppet on Windows (was Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Final release!)

2010-07-20 Thread steve .
I (unfortunately) have some experience in throwing together NSIS and WISE installers and would be willing to contribute towards such a packaging effort ... *if only I could get it to work in the first place!* On Tue, Jul 20, 2010 at 12:47 AM, James Turnbull wrote: > Rohan McGovern wrote: >> Jame

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

2010-07-20 Thread steve .
the MySQL command-line client is failing for some reason. Could it be getting installed somewhere the provider's not expecting? What do you get when you `which mysql` on the mysql node? On Tue, Jul 20, 2010 at 2:34 AM, Bram Enning wrote: > Hi Steve, > > I started all over again,

Re: [Puppet Users] Try at simple puppet setup -- fails

2010-07-23 Thread steve .
IIRC, puppetmaster and client will use the same SSL directory by default on the puppetmaster node. You may want to see what puppetca --list says (or if the certificate request is getting through, what it's being saved as in the ssl dir, etc.) ... I'm running Puppet on the same platform as you, an

[Puppet Users] Install bin file through puppet

2011-02-23 Thread Steve
puppet newbie trying to install bin file through puppet. How would I go about it? class java { package {"java_package": provider => "bin", <--this did not work # source => "puppet:///application/jdk-6u23-linux-x64-rpm.bin", source => "http://10.31.31.1/jdk-6u23-lin

[Puppet Users] Connection Timed Out updating node on 3g mobile broadband device

2012-10-25 Thread Steve
I have a puppetmaster on an Amazon EC2 instance of Ubuntu 12.04. All of the puppet nodes I am running are also on ubuntu server 12.04. I can connect any of the nodes on a wireless or LAN connection. When I switch my node to a Verizon mobile 3g or 4g device I run "puppet agent -t" and I get the

Re: [Puppet Users] Connection Timed Out updating node on 3g mobile broadband device

2012-10-26 Thread Steve
one of these work check the docs for timeout settings (can't remember > of hand). > > Den > > On 26/10/2012, at 3:55, Steve > wrote: > > I have a puppetmaster on an Amazon EC2 instance of Ubuntu 12.04. All of > the puppet nodes I am running are also on ubuntu server

Re: [Puppet Users] Connection Timed Out updating node on 3g mobile broadband device

2012-10-29 Thread Steve
05:40 AM UTC-4, Steve wrote: > > I was able to telnet port 8140 via the 3g connection. > > I also tried to lower the MTU on the interface and I was still > unsuccessful. So I set it back > > One thing I don't understand is that the error message has now changed to > >

[Puppet Users] Hi!!!

2013-06-02 Thread steve .
http://tagolpc.com.ua/cxsu/xzbqbmsqinss.ssbgtsvz -- 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

Re: [Puppet Users] Hi!!!

2013-06-02 Thread steve .
Ugh. Sorry, everybody. Obviously, I hope you haven't clicked on this link since it wasn't me who sent it. I'm doing the usual stuff -- new strong password, refreshed app tokens, single-use passwords in other apps, etc. ... On Sun, Jun 2, 2013 at 5:53 AM, steve .

[Puppet Users] certificates being 'randomly' revoked

2014-03-17 Thread steve
Hi, I've been having issues with certificates being revoked without any human intervention or oversight; one day a node will try to do an update and it can't because its certificate is revoked. There is definitely no one issuing 'puppet cert clean nodename' on the commandline. puppet --version

[Puppet Users] Re: certificates being 'randomly' revoked

2014-03-18 Thread steve
These are not new nodes but not old either, only a few months. The date/time is correct. The DNS is correct. I have not manually set certificate lifetimes to be shorter than the default. However sometimes these nodes might not check in for a few days. This was recently a big problem as the cert

[Puppet Users] Re: certificates being 'randomly' revoked

2014-03-19 Thread steve
I don't have one of the actual messages handy right now but when it occurs I run 'puppet agent --test' and instead of doing its work it presents an error message which explains that the certificate (of the node I ran puppet on) has been revoked. This is what led me to believe that the problem wa

Re: [Puppet Users] Re: certificates being 'randomly' revoked

2014-03-19 Thread steve
No. Only one puppet master. On Wednesday, March 19, 2014 7:56:23 AM UTC-7, Jesse Throwe wrote: > > Steve, > > Do you, perchance, have multiple puppet masters in play? > > On Wed, Mar 19, 2014 at 9:58 AM, jcbollinger > > > wrote: > > > > > > On

[Puppet Users] Re: certificates being 'randomly' revoked

2014-03-19 Thread steve
What would happen if I chattr +i ca_crl.pem to prevent it being updated? Certificate revocation is something that should be manually controlled anyway. Suppose that the Puppet error message is wrong (or at least misleading) and the problem is not revocation. If the crl.pem file is immutable and

[Puppet Users] Re: certificates being 'randomly' revoked

2014-03-19 Thread steve
I'm not sure about test suite or UI terminii, I'm just running Puppet from the repos at puppetlabs (its not Puppet enterprise). This is happening in production but I can't reproduce it, it just happens apparently at random. I've set the crl file immutable, hopefully next time something tries to

[Puppet Users] arrays after upgrade to 2.7 and ['A','B'] compared to 'A B'?

2012-01-26 Thread Steve Traylen
rt => ['111','24007-24047','38465-38467'], action => accept, } info: /Firewall[100 openup for glusterfs]/dport: dport changed ['111', '24007-24047', '38465-38467'] to '111,24007-24047,38465-38467' This is on RH

Re: [Puppet Users] Question about puppet module development

2012-01-26 Thread Steve Traylen
the concat module to manage a krb5.conf file. http://cern.ch/go/vSK8 Steve. -- 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

Re: [Puppet Users] Dependencies: packages and repos

2012-01-26 Thread Steve Traylen
ty. > > How are others handling this situation? > http://cern.ch/go/Cq7D Is an example of a case statement setting a yum path based on OS version,yum can pull in gpg direct from a remote URL rather than pushing it to the box first which is then one less step for puppet to handle. Steve.

Re: [Puppet Users] arrays after upgrade to 2.7 and ['A','B'] compared to 'A B'?

2012-01-26 Thread Steve Traylen
On 26 Jan 2012, at 19:29, "Stefan Schulte" wrote: > On Thu, Jan 26, 2012 at 03:57:08PM +, Steve Traylen wrote: >> Hi, >> >> After upgrading a server and client from 2.6.13 to 2.7.10 my configuration >> with array attributes >> are behaving dif

RE: [Puppet Users] Augeas question a

2012-02-15 Thread Steve Shipway
ge it to 784009728. If it does, then that's the issue. As to WHY it would be doing a string-wise comparison, I don't know. It could be down to the version of Augeas or the Puppet agent. Try upgrading to the latest and test it again... Steve Steve Shipway University of Auckland ITS U

[Puppet Users] RE: enterprise puppet architecture

2012-02-22 Thread Steve Shipway
no puppet experience, as one place Puppet lacks is documentation! Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz> Ph: +64 9 373 7599 ext 86487 -- You received this message because you are subscribed to t

RE: [Puppet Users] Change user password only on systems where they exist

2012-02-22 Thread Steve Shipway
e a look in the Puppet Forge website for the 'ss' module then you can see how we do it there, else contact me off-list. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 ___

RE: [Puppet Users] RE: enterprise puppet architecture

2012-02-23 Thread Steve Shipway
onsin the ProPuppet book, with multiple puppetmasters in a cluster behind a load balancer so that we can expand indefinitely. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz> Ph: +64 9 373 759

RE: [Puppet Users] Puppet staging server

2012-03-08 Thread Steve Shipway
the agent runs as root. We can allow the apps team to maintain the manfests on the applications server. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz> Ph: +64 9 373 7599 ext

RE: [Puppet Users] Re: No child processes error message in dashboard

2012-03-12 Thread Steve Shipway
Possibly the UID under which the process is running has a resource limit and is not able to spawn a new process? You likely need to unlimit nproc for the puppet process. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext

[Puppet Users] storeconfig and oracle Databases

2012-03-30 Thread Steve Lewis
Has anyone got a puppetmaster to populate a remote oracle server? The only thing I have found is http://www.djelibeybi.net/2010/08/using-oracle-database-for-puppet-stored-configuration/ I have installed the prerequisties, yet I when I run: puppet master --no-daemonize --verbose --debug I get no

[Puppet Users] how to get ruby-shadow installed before trying to make users,groups

2012-04-16 Thread Steve Roberts
I know I need to have ruby-shadow installed to get puppet to be able to manage shadow file based passwords. so tried to code that up in a puppet manifest like this: === class strobenet { package { 'ruby-shadow': ensure => 'present', } user { 'tuser':

[Puppet Users] Having trouble getting puppet to set users/groups to a defined state

2012-04-16 Thread Steve Roberts
I'm hoping I'm just missing something simple. I ran across this in my deployment setup and have replicated in a simple set of manifests. command output and the manifests below. basically start with a user/group name but it had the name was misspelled 'txuser' so correct it to 'tuser' but puppet

[Puppet Users] This worked for me

2012-04-16 Thread Steve Shipway
Thankyou - this was a great help, and fixed my issue straight off. Good to know about the version problem. Steve -- 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 u

[Puppet Users] Re: how to get ruby-shadow installed before trying to make users,groups

2012-04-17 Thread Steve Roberts
On Apr 17, 7:08 am, Michael Stahnke wrote: > Much of this depends on *how* you install puppet.  If you use yum or > apt, I think shadow is pulled in as a dep (I know it is for rpm).  If > you use gems, I'm quite sure it's not. If you're on mac or Windows you > can use the native packages and get p

[Puppet Users] Re: how to get ruby-shadow installed before trying to make users,groups

2012-04-17 Thread Steve Roberts
On Apr 16, 9:52 pm, Paul Hinze wrote: > I've run into this too, and worked around it by considering > ruby-shadow as a "prerequisite" for puppet, and therefore taking > responsibility for that package up to my bootstrapping scripts. IOW, > it is one of the short list of packages that need to be th

[Puppet Users] Re: Having trouble getting puppet to set users/groups to a defined state

2012-04-17 Thread Steve Roberts
On Apr 17, 6:25 am, jcbollinger wrote: > On Apr 16, 10:03 pm, Steve Roberts wrote: > > I thought one of the key ideas for puppet was the ability to define a > > manifest and puppet would make the machine look like that manifest. > > That is correct.  Another key idea, ho

[Puppet Users] Re: Having trouble getting puppet to set users/groups to a defined state

2012-04-27 Thread Steve Roberts
tually do an > > absolute /etc/passwd (and friends) in our current conf man system. > > and yes it does have its pitfalls too. > > You can do that with Puppet as well, if you prefer, but you cannot > safely mix that approach with using User and Group resources. understood. we

RE: [Puppet Users] 12% of my puppet clients -- Could not retrieve catalog from remote server: execution expired

2012-05-09 Thread Steve Shipway
myself and see... Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 From: puppet-users@googlegroups.com [puppet-users@googlegroups.com] on behalf of Tim Lank [timl...@timlank

[Puppet Users] defaults for virtual defined resources from hiera.

2012-05-14 Thread Steve Traylen
dynamically from hiera? The motivation is that I probably only realize 20 of a potential > 1000 resources on a particular host so dropping that yaml file data in a database backend to hiera would make it easier. I realize I can override with an earlier priority yaml file and hiera_hash but w

[Puppet Users] Re: Having trouble getting puppet to set users/groups to a defined state

2012-05-14 Thread Steve Roberts
On Apr 30, 6:10 am, jcbollinger wrote: > > On Apr 27, 6:21 pm, Steve Roberts wrote: > Ah.  No.  You're still missing a critical aspect of this situation: > independent of the system tools used (useradd, etc.), the UNIX > architecture provides username / groupname as the ONLY

Re: [Puppet Users] Puppet / scalability

2012-05-15 Thread Steve Traylen
300k figures are a couple of years away, we will have a respectable figure sometime this year we would hope. Steve (CERN IT) > -Eric > > -- > > Eric Shamow > Professional Services > http://puppetlabs.com/ > (c)631.871.6441 > > On Monday, May 14, 2012 at 12:35

[Puppet Users] Re: Having trouble getting puppet to set users/groups to a defined state

2012-05-15 Thread Steve Roberts
nd discussed? if you could point me at those docs that might help shed light on why the puppet Resources look the way they do. The generated docs at puppetlabs.com don't really don't give a whole lot of information. So to reiterate I get that it was easier to get a working User resourc

[Puppet Users] Managing two versions of a package via yum

2012-05-16 Thread Steve Jahl
it one as a dependency for me, but I end up seeing the same multilib error, just in the reverse direction :( Any help getting me back on track is appreciated. Thanks, -Steve -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

[Puppet Users] Re: Managing two versions of a package via yum

2012-05-16 Thread Steve Traylen
ust in the reverse direction :( > > Who is releasing 32 bit and 64 bit packages out of step? They have to released at the same time else you see the problems you are seeing. not a puppet problem, a vanilla yum or rpm also fails with this. Steve. > Any help getting me back on track

Re: [Puppet Users] Managing two versions of a package via yum

2012-05-17 Thread Steve Jahl
On May 16, 2012, at 7:18 PM, Steve Traylen wrote: > > not a puppet problem, a vanilla yum or rpm also fails with this. > Steve. > That's what I figured. Found this problem only on freshly kickstarted systems. So, during the kickstart, the package was being installed from the

RE: [Puppet Users] Is it possible to set up multi-level puppet nodes?

2012-05-27 Thread Steve Shipway
SSL auth information on the backend, unless you keep the CA on the same host. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Augeas & Arrays

2012-05-28 Thread steve foster
rt $port", 'set $INPUT/jump ACCEPT'], onlyif => "match append[*]/dport[.=\"$port\"] size == 0", } } Anyone got any suggestions? Cheers Steve -- You received this message because you are subscribed to the Google Groups "Puppet Us

[Puppet Users] Re: Augeas & Arrays

2012-05-29 Thread steve foster
le\"] size == 0", } } but now in the augeas resource $title is evaluated to "spoo", i would have though that it would have been the name or title passed to augeas??? very confused. Additionally if I use $fport in the changes or matches section of augeas I still get a concatenati

Re: [Puppet Users] Re: Augeas & Arrays

2012-05-29 Thread steve foster
Cheers for the clarification Den... Works a charm now :-) S On Tuesday, May 29, 2012 11:43:21 AM UTC+1, denmat wrote: > > Hi Steve, > > I believe he meant that you pass your array directly to the defined type: > > class test ($tport) { > fwport{ $fport: } > } > >

[Puppet Users] Re: defaults for virtual defined resources from hiera.

2012-05-30 Thread Steve Traylen
On Tuesday, 15 May 2012 16:48:48 UTC+2, jcbollinger wrote: > > On May 14, 2:27 pm, Steve Traylen wrote: > > Up to now I've had a large file of virtual resources and then enabled > them > > on demand > > on various services. The very standard. > >

[Puppet Users] Re: Thoughts on job listings?

2012-05-30 Thread Steve Traylen
becomes > a bit different. > > I'm looking for general feelings. A simple +1 or -1 would be great. > > I would like somewhere to post jobs (we have one :-)) If it can be somewhere close to the people reading this list so much the better. Steve > > Mike > -- You recei

Re: [Puppet Users] How do puppet transform group with username in /etc/sudoers file

2012-05-31 Thread Steve Singer
On 12-05-31 09:52 AM, mac01 wrote: Hi, How can I transform group in sudoers file where users are added as "%admin ALL=(ALL) ALL" with individual user name which should fetch username from my database ? In the template that generates your sudoers file you could call a custom function (th

[Puppet Users] types and even class not being found sometimes.

2012-06-07 Thread Steve Traylen
ot defined. Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot find definition Class on node lbdai02.cern.ch Puppet master is RHEL6 with puppetlabs puppet packages. I tried producing a debug or trace log but under with these the types are found. Steve.

[Puppet Users] Re: Update .k5login with Puppet

2012-06-07 Thread Steve Traylen
gt; remove existing line >>> >> >> Hi Dhaval, This is not what you asked for exactly but might do the job, it allows you to build up a k5login from a collection of distinct places in your manifests. We manage k5login now with file snippets (bits) from a custom de

Re: [Puppet Users] Thoughts on job listings?

2012-06-07 Thread Steve Traylen
or attempting to answer a question that has been asked. Steve. > > > > Mike Stahnke > -- 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/pupp

Re: [Puppet Users] types and even class not being found sometimes.

2012-06-07 Thread Steve Traylen
was released by accident... best solution in this case is epoch bump the facter 1, package. > On Thu, Jun 7, 2012 at 3:38 PM, Steve Traylen wrote: > >> Hi, >> Today we updated puppet-2.7.14-1 to -2 which should have been boring. >> >> I am sure the update i

[Puppet Users] [JOB] Engineer (Computing) at CERN

2012-06-07 Thread Steve Traylen
Migrating an LSF batch system to SLURM with puppet on OpenStack will certainly be one of the core items but generally migrating services to this infrastructure. See http://cern.ch/go/9KKB for full details, in particular position only open to nationals from CERN member states. -- You receive

Re: [Puppet Users] types and even class not being found sometimes.

2012-06-08 Thread Steve Traylen
On Friday, 8 June 2012 09:49:35 UTC+2, Felix.Frank wrote: > > Hi, > > On 06/08/2012 12:38 AM, Steve Traylen wrote: > > err: Could not retrieve catalog from remote server: Error 400 on > > SERVER: Cannot find definition Lemon::Metric at > > /etc/puppet/env

[Puppet Users] Re: Is this possible with Hiera - Puppet Module Development and using Hiera

2012-06-18 Thread Steve Traylen
On Monday, 18 June 2012 13:02:33 UTC+2, Peter wrote: > > Hi Puppet Users, > > I have just started playing with Puppet and Hiera. I am curious if it is > possible to control how hiera does variable lookup within a module I am > creating to test it. > > > > I have read through the documentatio

[Puppet Users] Re: packaging puppet modules

2012-06-28 Thread Steve Traylen
On Thursday, 28 June 2012 14:57:08 UTC+2, Ken Dreyer wrote: > > Hi Puppet folks, > > I'm a Fedora packager, and I'm looking into packaging up some of the > modules at http://forge.puppetlabs.com/users/puppetlabs > > I'm thinking through the naming scheme for modules. It looks like the > upstream

[Puppet Users] Re: Is it possible to access type params in another type?

2012-06-28 Thread Steve Traylen
>> } >> >> b {'test-b' : >> needs => a >> } >> >> > > > Is it possible ? > Hi Yanis, http://projects.puppetlabs.com/issues/10166 describes a unproven technique for catalog lookup from a provider to access ano

[Puppet Users] Re: puppet server complains of time sync

2012-06-28 Thread Steve Traylen
On Saturday, 23 June 2012 22:17:24 UTC+2, bluethundr wrote: > > Hello list, > > I am having an issue where a puppet agent on a client complains that > clocks are out of sync between it and it's master - > > err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 > read server ce

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-03 Thread Steve Traylen
> Nice! Thanks very much, Martin, that works really nicely. > > Before I blindly try this how does the above work... I call this midway through a puppet run and it does no harm to the current run but loads new configuration for next run. Is that what happens? Steve. > Yeah, this lo

[Puppet Users] Re: dynamically edit node definition

2011-09-18 Thread Steve Snodgrass
Sav, Maybe I'm confused about what you are trying to do, but why not just do "import nodes/*" from site.pp instead of using find commands? The only catch is that if you add or remove a node, you have to do a "touch" command on site.pp to get puppet to re-read the import statement and pick up the

[Puppet Users] Could not render to pson: you must specify title patterns

2011-09-24 Thread Steve Traylen
provider => lemon, name => 'system.loadAvg' } -- Steve Traylen -- 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, se

[Puppet Users] Re: Templating question:

2011-09-24 Thread Steve Snodgrass
Peter, I'm not sure about your specific question but there is a much easier way of doing what you are trying to do. <%= hosts.join(',') %> That will replace your entire example template. :) On Sep 24, 2:33 pm, Peter Berghold wrote: > I thought I read in some documentation somewhere that for ar

[Puppet Users] Re: Root User

2011-09-24 Thread Steve Snodgrass
Peter, are you using run stages? Your cyclical reference is probably related to the fact that every single file resource that installs a root-owned file has an implicit dependency on the root user. If you've got any root-owned files installed by stages that happen before the stage where you decla

[Puppet Users] Lost sunglasses at PuppetConf

2011-09-25 Thread Steve Snodgrass
x27;ll see about getting them shipped back to you. -Steve -- 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 p

[Puppet Users] Re: Community Package Repos for Puppet Labs products

2011-09-28 Thread Steve Snodgrass
Michael, thanks very much for these packages, they are quite helpful. Curious question - is there any coordination with tmz to push these packages into EPEL? On Sep 12, 5:36 pm, Michael Stahnke wrote: > I've had a vision of having packages for Puppet, Dashboard, > mcollective, facter, et al, avai

[Puppet Users] Re: Community Package Repos for Puppet Labs products

2011-09-28 Thread Steve Snodgrass
So I've just started testing these repos and I ran into problems. First, many of the EL6 RPMs are not signed, so they fail to install with my standard yum config. In the EL6 products repo, for example, only 3 of 12 RPMs are signed. The other issue is that the new puppet dashboard 1.2.1 package is

Re: [Puppet Users] Could not render to pson: you must specify title patterns

2011-10-02 Thread Steve Traylen
2. »name« which is implicitly always treated as a keyattribute > > If the second one is not what you want you have to rename your > parameter. Thanks Stefan, that all makes sense, after renaming my name parameter all is good. -- Steve Traylen -- You received this message because y

[Puppet Users] Re: Deprecation notice: must now include '$' in prototype

2011-10-05 Thread Steve Snodgrass
You just need to include a $ in front of those parameter variables: define config_file($owner = named, $group = named, ... On Oct 5, 12:19 pm, "liam.j.bennett" wrote: > Can some explain to me how to fix the following warning: > > warning: Deprecation notice: must now include '$' in prototype > >

[Puppet Users] Puppet 2.7 allows dash in variable names: bug or feature?

2011-10-05 Thread Steve Snodgrass
me") Puppet 2.6.11: notice: Scope(Class[main]): Dashtest: foobar.example.com-is-my- hostname Puppet 2.7.5: notice: Scope(Class[main]): Dashtest: -Steve -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

[Puppet Users] Re: per host/node ssl key cert info

2011-10-05 Thread Steve Snodgrass
vate] path /etc/puppet/private/%H allow * Then my module manifests can contain things like: file { '/etc/pki/tls/private/example.key': source => 'puppet:///private/example.key' } This is just one way of handling this, I'd be interested in hearing what others are d

RE: [Puppet Users] Hostname fact doesn't handle hostnames with periods

2011-10-11 Thread Steve Shipway
s that you can do this with very little effort. I would definitely not want to change the current behaviour of fqdn and hostname. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 -- You received this message because

Re: [Puppet Users] Re: Redhat and Scientific Linux

2011-10-14 Thread Steve Traylen
.2. available ##New fact: (6792) Added osfamily fact. Added osfamily fact to determine if a given operating system is a derivative of a common operating system. this is equal to redhat for redhat, centos, sl, slc, slf, sld, ... -- Steve Traylen -- You received this message because you a

[Puppet Users] Re: Puppet on Centos 6.0

2011-10-18 Thread Steve Snodgrass
I've been working on building the Fedora 15 rails 3 RPMs for EL6. I'd be interested in doing that for EPEL, I'll have to look into how to become a maintainer. On Oct 17, 4:05 pm, Todd Zullinger wrote: > robert.morti...@gmail.com wrote: > > I am having no joy installing Puppet Server with MySQL s

[Puppet Users] Re: passing parameters to templates

2011-10-18 Thread Steve Snodgrass
To be a little more explicit about what Nan said, if you use a parameterized class, any parameters you passed into the class will also be available in the template. The same things goes for a define. On Oct 17, 5:58 pm, Matt Zagrabelny wrote: > Hi, > > Is it possible to pass parameters to use in

[Puppet Users] Re: Announce: Puppet Dashboard 1.2.2 Available

2011-10-20 Thread Steve Snodgrass
Is this going to make it into the yum repo? Thanks. On Oct 10, 2:33 pm, Michael Stahnke wrote: > This is a maintenance release of Puppet Dashboard 1.2.2. > > This release is available for download > at:http://downloads.puppetlabs.com/dashboard/ > > We have included Debian and RPM packages as we

[Puppet Users] Re: Announce: Puppet Dashboard 1.2.2 Available

2011-10-21 Thread Steve Snodgrass
or as part of your release process. Thanks. On Oct 20, 5:06 pm, Michael Stahnke wrote: > On Thu, Oct 20, 2011 at 9:46 AM, Steve Snodgrass wrote: > > Is this going to make it into the yum repo?  Thanks. > > What is "this" in this context?   Dashboard 1.2.2 is avail

[Puppet Users] Re: Variable interpolation in class parameters

2011-10-31 Thread Steve Shipway
processes (which, as it most likely depends on hash table sequence, is going to appear random) Best practice would seem to be to make the variables default to null, and then use subsequent evaluations within the class code to perform the relevant defaulting, as he said. Steve -- You received

Re: [Puppet Users] Using firewall module, how do I clear iptables before rules are applied?

2011-11-28 Thread Steve Traylen
ing to remove all rules that are not configured with puppet? In which case the following will do but I'm not positive that is you want? resources { 'firewall': purge => true } -- Steve Traylen -- You received this message because you are subscribed to the Google Grou

Re: [Puppet Users] puppetlabs-firewall: source param as array

2011-11-29 Thread Steve Traylen
ction      => accept, >    } > > > and it only seems to add a rule for the first subnet. The second is > silently ignored. Hi Mohamed, See: http://projects.puppetlabs.com/issues/10116 accepted bug. Steve. -- Steve Traylen -- You received this message because you are subscr

[Puppet Users] Collecting resources and class defaults.

2011-12-01 Thread Steve Traylen
lection to take the collecting hosts class defaults with out doing a per variable override File <<| tag == 'testtag' |>> { content => $::hostname } which rather defeats the point of having a default in the first place. I'm working with EPEL's puppet-2.6.12-1. Stev

Re: [Puppet Users] Re: Collecting resources and class defaults.

2011-12-01 Thread Steve Traylen
option is to use the enc variable to case if the firewalls should even be collected in the first place which probably makes sense. Thanks for the comments. -- Steve Traylen -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] Puppet integration with SecretServer (Thycotic)

2011-12-12 Thread Steve Shipway
into a 'secretserver' module and uploading to moduleforge. If anyone would like a copy, let me know. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz> Ph: +64 9 373 7599 ext 86487 -- You received

RE: [Puppet Users] Display correctly any array

2012-01-17 Thread Steve Shipway
tory. The only caveat is to remember to type check arg[0] in case passed a string rather than an array. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz> Ph: +64 9 373 7599 ext 86487 _

RE: [Puppet Users] How to handle multiple modules requiring the same packages

2012-01-17 Thread Steve Shipway
e that class pkg::gcc { package { gcc: ensure=>installed; } } class foo { include pkg::gcc } class bar { include pkg::gcc } Second method is more elegant IMHO; but if its a one-off then first might be simpler. Steve Steve Shipway University of Auckland ITS UNIX Systems Design Le

[Puppet Users] gentoo duplicate package names...

2010-06-09 Thread Steve Neuharth
hi guys, I'm a newbie so please be gentle. ;) I'm running puppet on gentoo with the modules from example42. They seem to work well but I'm running into a problem with the way gentoo does certain packages. Redhat and other distros seem to bundle the mysql or openssh packages in mysql-client and mys

[Puppet Users] question about variable scope in nodes

2010-06-24 Thread Steve Neuharth
my node definitions look like this: node basenode { $utility_network = x.x.x.x [...] } node 'mcp.c42' inherits basenode { $my_local_network = $utility_network $my_default_gateway = $utility_default_gateway $my_netmask = $utility_netmask $my_eth1_default_gateway = $

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-27 Thread Steve Neuharth
I think you could do: node 'node1.fr.xxx.com' { include facility::sjc $my_ldap_server = $facility::sjc::ldap_server include ldap::client } On Sun, Jun 27, 2010 at 2:02 AM, Douglas Garstang wrote: > I've been struggling with puppet variable scope all day, well, for > several months actually. >

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-27 Thread Steve Neuharth
2010 at 11:28 AM, Steve Neuharth > wrote: >> I think you could do: >> >> node 'node1.fr.xxx.com' { >> include facility::sjc >> $my_ldap_server = $facility::sjc::ldap_server >> include ldap::client >> } > > That seems to work. Not pre

Re: [Puppet Users] Bind Module

2010-06-28 Thread Steve Neuharth
Never seen that before. I laughed so hard that I peed a little. thank you for that. the laughing, not necessarily the peeing. On Mon, Jun 28, 2010 at 10:47 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/29/2010 01:27 AM, Douglas Garstang wrote: > > Anyone know

  1   2   3   >