Re: [Puppet Users] Semi-architectural question - data inside code-tree.

2011-07-22 Thread vagn scott
On 07/21/2011 10:57 AM, John Hawkes-Reed wrote: It seems to me that mixing code and data like that might be a bad idea, and was wondering if anyone else had a better one. It would be cool if puppet knew about svn, git, and so on. A file could have a URI and revision, when the revision

[Puppet Users] Re: Using with EC2 (and auto-scaling)

2011-07-22 Thread Ryan Conway
The approach I've used is similar - automatically sign new CSRs so that new nodes can be added without human interaction. In order to then apply a configuration to the node, the hostnames for my machines all conform to a pattern, which I then match against a regular expression in the node

Re: [Puppet Users] IPv6 issue

2011-07-22 Thread FRLinux
On Thu, Jul 21, 2011 at 8:59 PM, Bob voje2...@gmail.com wrote: Hi, I run puppetmaster on a machine accessible by both ipv4 and ipv6. bindaddress in puppet.conf is :: Could not retrieve hostname: getaddrinfo: Name or service not known dnsdomainname: Name or service not known You have

[Puppet Users] Adding users to groups

2011-07-22 Thread Oliver Beattie
I have a definition like this in one of my manifests: group { 'foo': ensure = present, } user { 'bar': ensure = present, groups = ['foo'], managehome = true, home = '/home/bar', shell = '/usr/sbin/nologin', require = Group['deploy'], } When I run it, however, I get

[Puppet Users] Re: Adding users to groups

2011-07-22 Thread Oliver Beattie
(I should point out, the user was called deploy in the actual manifest :-) -- 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/puppet-users/-/gxCVq9pmJi0J. To post to this

[Puppet Users] Re: IPv6 issue

2011-07-22 Thread jcbollinger
On Jul 21, 2:59 pm, Bob voje2...@gmail.com wrote: Hi, I run puppetmaster on a machine accessible by both ipv4 and ipv6. bindaddress in puppet.conf is :: Puppet version: Client (debian squeeze): 2.6.2-5 Server (ubuntu 10.10): 2.6.1 When I try to run puppetd --test from my IPv4 only

[Puppet Users] Re: exec onlyif not working properly

2011-07-22 Thread jcbollinger
On Jul 21, 11:28 am, Panaman pana...@gmail.com wrote: I basically have a custom service i am running I want puppet to run a command if the process doesn't show up in ps - aux What is happening is it runs the command no matter what. here is my exec exec { $rule-$interface-svscan:    

[Puppet Users] Re: exec onlyif not working properly

2011-07-22 Thread jcbollinger
Oops: On Jul 22, 7:51 am, jcbollinger john.bollin...@stjude.org wrote: On Jul 21, 11:28 am, Panaman pana...@gmail.com wrote: I basically have a custom service i am running I want puppet to run a command if the process doesn't show up in ps - aux What is happening is it runs the

[Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-22 Thread jcbollinger
On Jul 21, 11:38 pm, vagn scott vagnsc...@gmail.com wrote: On 07/20/2011 09:37 PM, Jon Jaroker wrote: Hello, I was wondering if anyone can spot the mistake I am making in the file-fragments pattern below. You probably want to drop ALL your fragments into the fragments directory,

Re: [Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-22 Thread vagn scott
On 07/22/2011 09:08 AM, jcbollinger wrote: Well yes, but that's not relevant to the OP's problem. I had in fact supposed that he omitted all that so as to provide a smaller failure case. The OP's problem is that he is not including the header fragment in Assemble_Sudo_Fragments. It is easy

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Martin Alfke
Hi, On Jul 22, 2011, at 2:31 PM, Oliver Beattie wrote: I have a definition like this in one of my manifests: group { 'foo': ensure = present, } user { 'bar': ensure = present, groups = ['foo'], managehome = true, home = '/home/bar', shell =

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Oliver Beattie
Hi, Yes, this is Debian (Ubuntu). If I specify groups (not gid) surely the groups the user gets added to should be secondary, not primary? If I run the command directly I get the same error (although not if I lowercase the g of course). —Oliver -- You received this message because you are

[Puppet Users] Import existing classes to puppet-dashboard

2011-07-22 Thread treydock
Is there currently a way to import existing puppet modules and classes into the puppet-dashboard? If not , will defining them in puppet-dashboard make the nodes aware of modules already created in puppet? I found this issue opened on the subject, http://projects.puppetlabs.com/issues/3503, but

Re: [Puppet Users] tolower()??

2011-07-22 Thread Ken Barber
Because about one in five of them is not actually *finished* So currently the incomplete functions are: date is_float is_integer is_numberic is_valid_domain_name is_valid_ip_address is_valid_mac_address is_valid_netmask rand squeeze If anyone wants to help complete these - I'm happy to take

Re: [Puppet Users] Adding users to groups

2011-07-22 Thread Martin Alfke
On Jul 22, 2011, at 4:23 PM, Oliver Beattie wrote: Hi, Yes, this is Debian (Ubuntu). If I specify groups (not gid) surely the groups the user gets added to should be secondary, not primary? If I run the command directly I get the same error (although not if I lowercase the g of

[Puppet Users] Random error in the recovery catalog

2011-07-22 Thread ji...@goffaux.fr
Hello, I randomly errors like this: Fri Jul 22 09:01:41 + 2011 //SERVER.fqdn/Puppet (err): Could not retrieve catalog from remote server: end of file reached Fri Jul 22 09:01:41 + 2011 //SERVER.fqdn/Puppet (notice): Using cached catalog Fri Jul 22 09:01:41 + 2011 //SERVER.fqdn/Puppet

[Puppet Users] variable/function evaluation

2011-07-22 Thread David Kavanagh
I have this in a class: $version = '2.0.3', $repourl = http://www.eucalyptussoftware.com/downloads/repo/eucalyptus/$version/yum/downcase($operatingsystem)/$architecture repourl evaluates to: http://www.eucalyptussoftware.com/downloads/repo/eucalyptus//yum/downcase(CentOS)/x86_64 I included

Re: [Puppet Users] variable/function evaluation

2011-07-22 Thread Nan Liu
On Fri, Jul 22, 2011 at 12:43 PM, David Kavanagh dkavan...@gmail.com wrote: I have this in a class:  $version = '2.0.3', You have an extra comma at the end.  $repourl = http://www.eucalyptussoftware.com/downloads/repo/eucalyptus/$version/yum/downcase($operatingsystem)/$architecture Can't

[Puppet Users] So, what happened to the old Open Source Team backlog anyway?

2011-07-22 Thread Jacob Helwig
Well, I can definitely let you know that. I apologize. It seems I didn't explain what was going on well enough when I sent out the Open Source Team update for 2011-07-06. The items that were on our back log still are. They've just been bumped behind the basic Windows agent support we're

Re: [Puppet Users] Semi-architectural question - data inside code-tree.

2011-07-22 Thread Michael Knox
On 22/07/11 12:57 AM, John Hawkes-Reed wrote: Hello. As part of our Puppet rig, we manage a number of zonefiles with NSD. This means that there's a directory of datafiles under ../puppet/modules/nsd/files/zones/ (and something somewhat similar for the Postfix virtual domains). It seems to me

[Puppet Users] ANNOUNCE: Puppet Dashboard 1.2rc3 available

2011-07-22 Thread Michael Stahnke
This a feature release candidate (number 3) of Puppet Dashboard. If you're wondering what happened to rc2, it was internal only. Our CI system found a few issues before we released it to the public. This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have

[Puppet Users] puppetmaster on EC2 certificate issues

2011-07-22 Thread newguy
Hi guys I recently started playing with EC2 and tried installing puppet. I ran in to this problem that puppetmaster doesnt get any certificate request. This is my /etc/hosts file on the client: 127.0.0.1 ip-10-243-34-4.ec2.internal localhost 10.220.198.146

Re: [Puppet Users] puppetmaster on EC2 certificate issues

2011-07-22 Thread Mark Stanislav
Does your EC2 security group allow connectivity to the Puppet master inbound? Seems like it can't connect. -Mark On Jul 22, 2011, at 7:20 PM, newguy wrote: Hi guys I recently started playing with EC2 and tried installing puppet. I ran in to this problem that puppetmaster doesnt get any

[Puppet Users] Re: puppetmaster on EC2 certificate issues

2011-07-22 Thread newguy
Well as am new to EC2 I will check this but what I know is that these instances are in the same security group and port 8140 is open, does that answer you question.?? Thanks On Jul 22, 5:42 pm, Mark Stanislav mark.stanis...@gmail.com wrote: Does your EC2 security group allow connectivity to the

[Puppet Users] Re: puppetmaster on EC2 certificate issues

2011-07-22 Thread newguy
Yes I checked they are in the same group with port 8140 open,so I think this is all what is required for machines in the same group to talk. Thanks On Jul 22, 6:14 pm, newguy aimanparv...@gmail.com wrote: Well as am new to EC2 I will check this but what I know is that these instances are in

[Puppet Users] Puppet/facter and update reporting

2011-07-22 Thread Khoury
Hi All, Does anyone have any experience with debian/ubuntu and or OS X with regard to reporting on updates? I'm interested in getting update (specifically security) states for compliance (SOX, PCI, etc) purposes. I know there's spacewalk for things like this, but I'm kind of hoping to avoid going

[Puppet Users] Re: puppetmaster on EC2 certificate issues

2011-07-22 Thread newguy
Got it working. Run puppetd through sudo and it would work :P On Jul 22, 6:31 pm, newguy aimanparv...@gmail.com wrote: Yes I checked they are in the same group with port 8140 open,so I think this is all what is required for machines in the same group to talk. Thanks On Jul 22, 6:14 pm,

[Puppet Users] Dashboard not retrieving inventory

2011-07-22 Thread Khoury Brazil
Hi All, Puppet-dashboard appears to be having some trouble. Under inventory, it says: Could not retrieve facts from inventory service: Permission denied - certs/dashboard.private_key.pem When I run: curl -k -H Accept: yaml https://puppet:8140/production/facts/host.domain I get the expected dump

Re: [Puppet Users] Dashboard not retrieving inventory

2011-07-22 Thread Nick Lewis
On Fri, Jul 22, 2011 at 10:27 PM, Khoury Brazil khoury.bra...@gmail.com wrote: Hi All, Puppet-dashboard appears to be having some trouble. Under inventory, it says: Could not retrieve facts from inventory service: Permission denied - certs/dashboard.private_key.pem When I run: curl -k -H