Re: [Puppet Users] override resource created with create_resource function

2012-05-14 Thread Luke Bigum
Hi Nan, Thanks for the reply. I did start thinking about how I could use the merge function to achieve what I wanted. I was messing around with something like this (which obviously doesn't work because of the inheritance order): --- $hash = { 'msg' = { message = 'woof' }

Re: [Puppet Users] Autoscaling with Puppet

2012-05-14 Thread Lorenzo Salvadorini
http://scalr.net/ I think they did away with the free version of it recently. But if you ask me what they're asking is well worth it! Autoscales up and down based on server load. Works with both AWS and rackspace cloud. -tim On Sun, May 13, 2012 at 9:28 PM, de dustye...@gmail.com wrote:

Re: [Puppet Users] Autoscaling with Puppet

2012-05-14 Thread Brian Gupta
Can you provide a link to the video? I'm guessing the workflow could be much simpler, in that you could have an autoscaling group, that spins up instances that are based on AMIs that are either preconfigured for puppet, or have the cloud-init info passed to them to get puppet up and running.

Re: [Puppet Users] puppet-dashboard with SELinux enforced

2012-05-14 Thread Brian Gupta
I've run into permission errors like this if apparmor is enabled, and not configured for the app I am trying to run. http://en.wikipedia.org/wiki/AppArmor I'm guessing you need to tell selinux that /usr/share/puppet-dashboard/* is a valid path. (Never used selinux, but my understanding is that

[Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread jcbollinger
On May 12, 11:09 am, Markus Falb markus.f...@fasel.at wrote: I have a class irqbalance with a service defined and it does not work as expected and thats why I am asking for advice. service { 'irqbalance':       ensure = running,       enable = true,       require = Package['irqbalance'],

Re: [Puppet Users] trouble with hiera %{calling_module} and puppet defines

2012-05-14 Thread SteveTraylen
On Thursday, 15 March 2012 21:58:01 UTC+1, Florian Koch wrote: Hi Gary, hm for other classes it works , so i think the puppet backend is not needed ( https://github.com/ripienaar/hiera-puppet/commit/a7350529a99e5d1bad8b03749661f3f4c7f00216 ), the problem is the define, i guess that a

[Puppet Users] Puppet / scalability

2012-05-14 Thread Alex Harvey
Hi list, I am looking at configuration management tool options. I have a large fleet ( 3,000 hosts) and highly heterogeneous (RHEL3-5, CentOS, 5RH7, Solaris 10 LDOMs/zones, Solaris 8-9, AIX 5.3 6.1 LPARs, HP-UX Tru64 + Windows). We care mainly about RHEL and new versions of Solaris AIX but

[Puppet Users] problem with importing node definitions (2.7.14) [SEC=UNCLASSIFIED]

2012-05-14 Thread Daniel Dekok
Hi all, Doing some work with a puppet 2.7.14 installation to see what's new and needs to be changed, however i'm seeing unexpected behavior with my manifests, so my external node directory isn't being imported. This is on a rhel 5 server with the puppet rpms from yum.puppetlabs.com, but the

[Puppet Users] Filebucket backup takes too long

2012-05-14 Thread Karim
Hi guys, I'm new to Puppet, and I'm playing with filebucket. I saw some strange behaviour whereby a file being backed up will be fully copied to the master server, but then the client will wait a few minutes before ending the backup operation. Here is a debug log of the backup.. $ ./puppet

[Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-14 Thread Daniel Sauble
On Saturday, May 12, 2012 6:14:06 AM UTC-7, Timothy Sutton wrote: Just concerning this PSK aspect of Sites, would this also be a similar alternative to using a shared cert (or set of certs) in tandem with the node_name_value or node_name_fact, as was recently suggested by Gary in this

[Puppet Users] compare filebucket

2012-05-14 Thread Peter Horvath
Hello, Does anybody know how to compare a filebucketed file easily with the current file based on these infos? info: /Stage[main]/Nginx/File[/etc/nginx/nginx.conf]: Filebucketed /etc/nginx/nginx.conf to puppet with sum 90dbcd7cf0accf5d372d077a6c90020c remote: notice:

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Christopher Johnston
3k? I know of larger but can't comment on who they are, but they are close to 8-10k nodes AFAIK if not more by now. On Mon, May 14, 2012 at 2:53 AM, Alex Harvey alexharv...@gmail.com wrote: Hi list, I am looking at configuration management tool options. I have a large fleet ( 3,000 hosts)

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Nigel Kersten
On Sun, May 13, 2012 at 11:53 PM, Alex Harvey alexharv...@gmail.com wrote: Hi list, I am looking at configuration management tool options. I have a large fleet ( 3,000 hosts) and highly heterogeneous (RHEL3-5, CentOS, 5RH7, Solaris 10 LDOMs/zones, Solaris 8-9, AIX 5.3 6.1 LPARs, HP-UX

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Eric Shamow
Nigel, Don't we have one or two an order of magnitude larger than that? http://indico.cern.ch/getFile.py/access?contribId=29sessionId=3resId=3materialId=slidesconfId=160737 (warning: large PDF) I think they're looking at 300K or so. And I believe we have a few more at that size as well.

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

2012-05-14 Thread Ken Barber
Hi all, Just FYI. I've just renamed some of the modules that are stored as github repos in our Github organisation (http://github.com/puppetlabs/) to use the puppetlabs-module_name convention so we can get a bit of consistency. The following changes were made: puppet-lvm - puppetlabs-lvm

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 14:53, jcbollinger wrote: On May 12, 11:09 am, Markus Falb markus.f...@fasel.at wrote: I have a class irqbalance with a service defined and it does not work as expected and thats why I am asking for advice. service { 'irqbalance': ensure = running, enable = true,

RE: [Puppet Users] compare filebucket

2012-05-14 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
Judging from your log messages, the bucketed file is on the puppetmaster (Filebucketed... to puppet). You can use this command to get it: puppet filebucket get 26e643361f26cdf766199a830417c8bf /tmp/old-file (Or at least, I can, with Puppet 2.7.6.) Then you can diff -u /tmp/old-file

[Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread jcbollinger
On May 14, 12:07 pm, Markus Falb markus.f...@fasel.at wrote: This would mean that looking in the process table is unreliable Indeed so. It is the least common denominator, but as you saw, it is prone to false positives. In some cases it can also suffer from false negatives. and now I am

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Jeff McCune
On Sun, May 13, 2012 at 11:53 PM, Alex Harvey alexharv...@gmail.com wrote: A rep from CFengine has told me that ours would be the largest Puppet site in the world (I think that's not true). Could someone confirm? Here's a recording of a short talk I gave about some performance testing I did

Re: [Puppet Users] Exec of process that doesn't terminate

2012-05-14 Thread Josh Cooper
Hi Rob, On Sat, May 5, 2012 at 12:02 AM, iceberg rob.no...@gmail.com wrote: Hi! I want to have an exec that launches a process on a Windows 7 system that will not terminate. I have tried just calling the executable directly, but that obviously will not return anything, so the puppet agent

Re: [Puppet Users] how best to combine business data (Hiera) and machine data (Facts)

2012-05-14 Thread Wolf Noble
Hi Luke, Would adding fqdn to the bottom of your hierarchy give you the ability to override the values on the outliers that you can't automagically set while retaining elegance in your class? Or am I missing something? Wolf Noble Datapipe Managed IT Services On May 11, 2012, at 12:45 PM,

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

2012-05-14 Thread Steve Traylen
Hi, This follows on a bit from the previous thread 'trouble with hiera and puppet defines' [1] Up to now I've had a large file of virtual resources and then enabled them on demand on various services. The very standard. @metric{'1234: one = 1 two = [1,2] } @metric{'abcd':

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 19:48, jcbollinger wrote: On May 14, 12:07 pm, Markus Falb markus.f...@fasel.at wrote: and now I am thinking about setting a default Service { hasstatus = true } so I do not have to specify it for every service. That's entirely reasonable if your initscripts

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-14 Thread Trevor Vaughan
I have no issue with the PSK technique BUT, I do have a couple questions/concerns: 1) Please keep the old syntax in place so that users don't have to run about modifying scripts everywhere. Internal command aliases should work fine. 2) You say that we shouldn't be trusting the network (fine),

Re: [Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-14 Thread Jeff McCune
On Mon, May 14, 2012 at 1:14 PM, Trevor Vaughan tvaug...@onyxpoint.comwrote: I have no issue with the PSK technique BUT, I do have a couple questions/concerns: 1) Please keep the old syntax in place so that users don't have to run about modifying scripts everywhere. Internal command aliases

[Puppet Users] Puppet Dashboard 1.2.8rc2 Available

2012-05-14 Thread Moses Mendoza
This is a maintenance release candidate of Puppet Dashboard. It includes contributions from Max Martin. This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages, as well as a tarball. See the Verifying Puppet Download section

Re: [Puppet Users] problem with importing node definitions (2.7.14) [SEC=UNCLASSIFIED]

2012-05-14 Thread Dan White
What is the output if you say: puppet cert list --all on the puppet master ? I am thinking it could be as simple as a typo in the node name. On May 14, 2012, at 3:15 AM, Daniel Dekok wrote: Hi all, Doing some work with a puppet 2.7.14 installation to see what's new and needs to

Re: [Puppet Users] Puppet / scalability

2012-05-14 Thread Shawn
Wanted to point out I manage over 3000 x86 tablets with puppet. This doesn't include production servers. Sent via BlackBerry -Original Message- From: Alex Harvey alexharv...@gmail.com Sender: puppet-users@googlegroups.com Date: Sun, 13 May 2012 23:53:52 To: Puppet

[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 john.bollin...@stjude.org wrote: On Apr 27, 6:21 pm, Steve Roberts strob...@strobe.net 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 /

RE: [Puppet Users] problem with importing node definitions (2.7.14) [SEC=UNCLASSIFIED]

2012-05-14 Thread Daniel Dekok
I hope not, i'll feel like a right dill puppet cert list --all + gfedev-fc17test.bom.gov.au (70:B8:34:3D:50:36:D9:F6:C1:C3:4B:D5:3C:55:C3:5B) + ho-mantis-op.bom.gov.au(75:77:30:84:7E:3E:F9:AB:34:3A:18:E4:15:13:6F:FE) (alt names: DNS:ho-mantis-op.bom.gov.au, DNS:puppet,

[Puppet Users] Announce: Hiera 1.0.0rc2 Available

2012-05-14 Thread Matthaus Litteken
Hiera 1.0.0rc2 is a feature release candidate designed to accompany Puppet 3.0. Hiera 1.0.0rc1 was not released due to a bug that was found before release. The major changes since 0.3.0 include caching for the yaml backend, merging of puppet parser functions, and ruby 1.9.3 support. ## Yaml