Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-26 Thread Felix Frank
Hi, On 01/26/2012 02:25 AM, Ashley Penney wrote: This is a fantastic reply and I appreciate the work you put into it. I have just one question. As it stands functions can only apply to partial catalogs and not to the full catalog. Is this a fundamental design decision that cannot be

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-26 Thread Nick
On 26/01/12 00:55, Trevor Vaughan wrote: I mentioned in a previous thread that I don't see an issue with having multiple identical resources compiled across the code base and I'd like to add that to this thread since it's related. class a { package { 'foo': ensure = 'present' } }

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-26 Thread Nick
On 26/01/12 01:25, Ashley Penney wrote: All I know is that telling users If you download 5 modules from puppet forge make sure you go through them all, extract any duplicating resources into random modules that exist purely to allow you to realize packages instead leads to a really bad user

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-26 Thread Felix Frank
On 01/26/2012 11:21 AM, Nick wrote: For example, suppose in one place I need a file to exist, and in another I also need it to be executable. Oh dear, I can't do that. That, and you'd need to merge require/before etc. Such things aren't trivial. Nan put it this way: On 01/25/2012 03:59 PM,

Re: [Puppet Users] Error at the end of a puppet agent run...

2012-01-26 Thread Felix Frank
On 01/26/2012 12:15 PM, Felix Frank wrote: On 01/24/2012 08:21 PM, Aaron Grewell wrote: If you didn't specifically configure Puppet to use Passenger then you're using Mongrel by default. Scalability = false. Isn't that webrick? AFAIK mongrel would be fine, webrick is indeed a problem,

[Puppet Users] Managing SSH host private keys

2012-01-26 Thread Jonathan Gazeley
Hi all, I already use Puppet to collect and distribute SSH host public keys between machines I manage. I now want to collect private host keys from each node and store them on the puppetmaster, so when I rebuild a node it receives the same key. Is there an easy way of doing this? Thanks,

[Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread Steph Gosling
Hi all, Upgraded a master and a couple of clients to 2.7.10 and now see the following when running an agent if the daemon is also running: [steph@somehost ~]$ sudo puppet agent --onetime --verbose --no-daemonize info: Caching catalog for somehost.example.com info: Applying configuration version

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread Jonathan Gazeley
I am seeing the same message printed on each run, on CentOS 6.2. Puppet still works, so it's not critical. Just waiting for a fix :) Jonathan On 26/01/12 12:00, Steph Gosling wrote: Hi all, Upgraded a master and a couple of clients to 2.7.10 and now see the following when running an agent

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread Steph Gosling
Yeah everything does work, I just really don't like seeing pink :) Cheers, Steph On Thu, 26 Jan 2012 12:26:14 + Jonathan Gazeley jonathan.gaze...@bristol.ac.uk wrote: I am seeing the same message printed on each run, on CentOS 6.2. Puppet still works, so it's not critical. Just waiting

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
Looks like the code paths in Puppet::Agent changed a lot and the patch that was applied and worked for 2.6.x would need to be different for 2.7.x Will set up a 2.7 master and see if i can reproduce/fix - Original Message - Yeah everything does work, I just really don't like seeing pink

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
- Original Message - Is the puppet agent daemon running when you run the agent by hand? Ah! thats it, I'll take a look -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] A Related Question - (Was: Template Help Please)

2012-01-26 Thread Felix Frank
On 01/26/2012 02:20 PM, Dick Davies wrote: That kind of thing should work (been using similar tricks since 0.25.x); I think Dan was addressing this: scope.lookupvar('resolver::params::resolvers') I'm not sure when this was new, I believe it works with 2.6.x -- You received this message

Re: [Puppet Users] A Related Question - (Was: Template Help Please)

2012-01-26 Thread Dan White
Thanks for replying. I will try it on my 2.6.12 and report back to the list “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Felix Frank felix.fr...@alumni.tu-berlin.de

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread Ashley Penney
I'm having the same thing, I use puppetd -tv all the time and now it's trying to delete a .pid at the end: err: Could not remove PID file /var/run/puppet/agent.pid It's super annoying but not fatal I suppose. I stopped the daemon from running and tried running puppetd again but it still gave

[Puppet Users] Re: Why is 'notify' acting as a 'before' and not a 'require' ?

2012-01-26 Thread jcbollinger
On Jan 24, 3:51 am, Alexandre alexandre.fou...@gmail.com wrote: Think about it. You want puppet to send a notification to a resource. Puppet must decide whether this notification gets sent. So it must process the notifying resource. After that, *if* a notification was in fact generated,

Re: [Puppet Users] Anyone seeing odd agent behaviour with 2.7.10?

2012-01-26 Thread R.I.Pienaar
- Original Message - I'm having the same thing, I use puppetd -tv all the time and now it's trying to delete a .pid at the end: err: Could not remove PID file /var/run/puppet/agent.pid It's super annoying but not fatal I suppose. I stopped the daemon from running and tried

Re: [Puppet Users] Issues with new puppet install...

2012-01-26 Thread Peter Berghold
Based on what Nigel said I checked my auth.conf file lo and behold it was MIA. Don't know why but I created a new one at any rate and tried again. Still getting errors, but they are at least different errors. Looking in the apache2 log I find an intriguing error: from config.ru:1 [

Re: [Puppet Users] Issues with new puppet install...

2012-01-26 Thread Peter Berghold
Here is my config.ru by the way... checking to make sure it is correct... # This file is mostly based on puppetmasterd, which is part of # the standard puppet distribution. require 'rack' require 'puppet' require 'puppet/network/http_server/rack' # startup code stolen from bin/puppetmasterd

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Matt Zagrabelny
Hi Jonathan, On Thu, Jan 26, 2012 at 5:40 AM, Jonathan Gazeley jonathan.gaze...@bristol.ac.uk wrote: Hi all, I already use Puppet to collect and distribute SSH host public keys between machines I manage. I now want to collect private host keys from each node and store them on the

[Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-26 Thread jcbollinger
On Jan 20, 4:34 pm, Cody c.a.herri...@gmail.com wrote: On Jan 20, 6:39 am, jcbollinger john.bollin...@stjude.org wrote: On Jan 20, 3:00 am, Dan Bode d...@puppetlabs.com wrote: * the big reason I keep on leaning on it is for package dependencies. Often something needs an

Re: [Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-26 Thread Felix Frank
On 01/26/2012 04:28 PM, jcbollinger wrote: The 'defined' function can maybe ensure that the manifests compile, but it cannot ensure that the resulting configuration is correct. That makes it worse than useless for the purpose, as far as I'm concerned. Exceptionally good point. -- You

[Puppet Users] Moving to RVM Ruby 1.9 and Puppet

2012-01-26 Thread Matt
Has anyone had any experience with using RVM with Puppet? I know with puppet 2.6 it directly invokes /usr/bin/ruby on RHEL based OSes but in 2.7 I see that its using env to invoke ruby. Is there a noticable performance increase with ruby 1.9 over 1.8? -- You received this message because you

[Puppet Users] future use of fully qualified variable names

2012-01-26 Thread Alexander Swen
hi, in the logs of our 2.7.10 puppet master we find messages like these: Dynamic lookup of $functie at /etc/puppet/manifests/server_classes.pp:52 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.

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

2012-01-26 Thread Steve Traylen
Hi, After upgrading a server and client from 2.6.13 to 2.7.10 my configuration with array attributes are behaving differently. 3 examples: (1) k5login {'/root/.k5login-test': principals = ['m...@cern.ch', 't...@cern.ch'], } while .k5login file is created perfectly but every puppet

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Jonathan Gazeley
On 26/01/12 16:02, Matt Zagrabelny wrote: On Thu, Jan 26, 2012 at 9:35 AM, Jonathan Gazeley jonathan.gaze...@bristol.ac.uk wrote: On 26/01/12 15:22, Matt Zagrabelny wrote: I don't know about easy, but here is what I am doing: Thanks Matt, that's helpful. This addresses how to distribute

[Puppet Users] Cross-module dependencies

2012-01-26 Thread jcbollinger
Since Felix seems not to have gotten around to doing this in the past couple of days, or else was unable to do so, On Jan 24, 3:28 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: there was a discussion in the can we deprecate defined() in Telly thread about how we can even begin to

Re: [Puppet Users] future use of fully qualified variable names

2012-01-26 Thread Gary Larizza
On Thu, Jan 26, 2012 at 7:55 AM, Alexander Swen alex.s...@gmail.com wrote: hi, in the logs of our 2.7.10 puppet master we find messages like these: Dynamic lookup of $functie at /etc/puppet/manifests/server_classes.pp:52 is deprecated. Support will be removed in Puppet 2.8. Use a

[Puppet Users] Advice/Best practices inter-module dependencies

2012-01-26 Thread Jos Houtman
Hello list, I am looking for advice/best-practices on how to handle inter-module dependencies. We have a fairly large/complex code base (100+ modules) with a lot of history (we started at 0.24) and lately we have taken into looking how we can improve the quality of the codebase. Parametrized

[Puppet Users] puppet client only install on Gentoo

2012-01-26 Thread psychobyte
Hi, I'm using Gentoo and puppet-2.6.12. The puppet master and client are wrapped up in the same package, app-admin/puppet. Can someone suggest a simple way of installing only the puppet client (I'm new to Gentoo)? Thanks, P. -- You received this message because you are subscribed to the

[Puppet Users] Multiple Service definitions of the same type

2012-01-26 Thread Bryan Beaudreault
Hello, I am trying to make it so that more than 1 instance of memcached can run on a single service. I have a special init.d script that can handle this, but want to define the service multiple times in a puppet class. Here is the definition I am using: service { $service_name:

[Puppet Users] Conditionally replace in file type

2012-01-26 Thread Juan José Presa Rodal
Hello, I'm making the deployment of an application configuration as follows: file {/home/user/foo/bar: ensure = directory, recurse = remote, source = puppet:///configs/${hostname}/home/user/foo/bar, ignore = [file1.cfg,file2.cfg], } I am ignoring these two files

[Puppet Users] intermodule dependency

2012-01-26 Thread Jos Houtman
Hello list, I am looking for advice/best-practices on how to handle inter module dependency's. We have a fairly large/complex code base (100+ modules) with a lot of history (we started at 0.24) and lately we have taken into looking how we can improve the quality of the codebase. Parameterized

[Puppet Users] Anyone know a good tool for 'watching' configurations?

2012-01-26 Thread NixFU
Now that we have configuration management for our OS and we are actively managing our operating systems nearly hands off we want to now start doing some configuration mgmt of our applications. We don't frankly see having all our application teams use puppet or anything else to actively manage

Re: [Puppet Users] Considering LDAP ENC

2012-01-26 Thread Throwe, Jesse
Having just gone through this conversion recently, it's not as hard as it seems. - Puppet variables are managed through the puppetVar entries for the objectClass so theres no need to extend the schema. - All variables are passed to the manifests as a string. You need to identify your hashes in

[Puppet Users] Exporting local resources

2012-01-26 Thread Lorenzo Salvadorini
Hi all, can I export a file present on a puppet client not created by puppet itself? In example: On host A I have a file /var/www/my_intranet_site/htusers that I like to have on host B too class exporter { @@file { /var/www/my_intranet_site/htusers: tag = basic_auth_users,

[Puppet Users] Writing a resource type provider in Python

2012-01-26 Thread Tom Limoncelli
Is it possible to write a provider in Python? I have to access something via a library that is written in Python. I'd rather not rewrite the library in Ruby, or call out to shell. I couldn't find any references on how to do this on the Puppet website and web searches for [puppet providers in

[Puppet Users] Selecting modlues based on subnet in nodes.pp

2012-01-26 Thread Derek
I have four major zones in my nework: Development, Quality Assurance, User Acceptanc Testing, and Production. I am able to deply different modules to these zones based on the simple regular expressions posted in the example at the bottom of this message. I have two data centers in my network:

[Puppet Users] Advice/Best practices inter-module dependencies

2012-01-26 Thread Jos Houtman
Hello list, I am looking for advice/best-practices on how to handle inter-module dependencies. We have a fairly large/complex code base (100+ modules) with a lot of history (we started at 0.24) and lately we have taken into looking how we can improve the quality of the codebase. Parametrized

[Puppet Users] Question about puppet module development

2012-01-26 Thread Spirit
Hi all. I want to write module for kerberos configuration. I planned configure realms by using subclasses like in saz-sudo module: ... ### Adding sudoers definition (includes installation of sudo) sudo::conf { 'admins': priority = 10, content = '%admins ALL=(ALL) NOPASSWD:

[Puppet Users] Re: Is it possible to conditionally replace a file ?

2012-01-26 Thread Juan José Presa Rodal
Hi, I would like to achieve a conditional file replacement but lightly different. I deploy recusively a directory with a lot of config files. This is my resource: file {/foo: ensure = directory, recurse = remote, source = puppet:///modules/module_name/configs/${hostname}/foo,

[Puppet Users] Cipher is not a module

2012-01-26 Thread kgz
Hi, I'm trying to install puppet as a client on a new machine. I received this weird error when trying to start up as /etc/init.d/ puppet start : /usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module (TypeError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 36:in

[Puppet Users] Dependencies: packages and repos

2012-01-26 Thread jimbob palmer
Hello, What's the best way of handling package installs that rely on a yum repository, which in turn relies on a gpg key? At the moment I have only RHEL6 boxes which have a few yumrepos defined and a few packages installed. The yumrepos in turn rely on an rpm-gpg key. I now need to add some

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Stephen Jahl
This addresses how to distribute keys to node from the fileserver, but I wonder if there is a mechanism where if the key doesn't exist on the fileserver, the key that currently exists on the node is pulled in and saved for future reference - i.e. when new nodes are created. I believe a

[Puppet Users] Set hourly of execution with service puppet

2012-01-26 Thread Douglas Brancaglion
Hi guys! I'm from Brazil, and i'm learning puppet. I need set interval in puppet client for sync with puppetmaster... How i do it? Sorry my english Douglas -- 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] How do *you* handle yumrepo dependency chains?

2012-01-26 Thread jimbob palmer
Say you have a RHEL6 environment. You have some packages you want installed, these rely on a yumrepo. That yumrepo relies on an rpm-gpg key being installed. Now you get some RHEL5 boxes to add to the network. Your yumrepo RHEL6.2 with a dependency on the RHEL6 signing key now causes a problem:

[Puppet Users] Exported and Collected Resource With User Defined Resource Broken?

2012-01-26 Thread Clay B.
Hello all, The key issue is, if I uncomment the line: Myresource | | { ensure = present } I get the error: err: Could not find type Myresource on node hmaster I'm attempting to follow the instructions from the book Pro Puppet pgs. 143-145; however, it seems that there's a parser issue or I'm

[Puppet Users] Password not changing during polling event but does using puppetd -vt

2012-01-26 Thread Andre
I have created a class for the root user that uses the User resource to manages the root password. All seems to work well and as expected when I use puppetd -vt on a machine (or if I restart the service on the client) but during a regular polling event the password is not changed and when I go

[Puppet Users] Re: Investigating catalog compile times and cpu utilization

2012-01-26 Thread Dave Mangot
https://github.com/rodjek/puppet-profiler ? -Dave On Jan 19, 7:12 am, Jake - USPS jacob.m.mcc...@usps.gov wrote: So recently I deployed some new puppet code in our environment and noticed CPU utilization on our puppetmasters went up a bit.  This lead me to wonder what exactly did I add to

[Puppet Users] Re: Failed to Allocate Memory When Connected to LDAP

2012-01-26 Thread James Lee
On 01/19/2012 03:37 PM, James Lee wrote: Hello, I have a Solaris 10 system running Puppet 2.6.8 that is experiencing a very unusual problem. It has been running fine up until I configured the system to use LDAP for users and groups. The problem is easily reproducible. Take ldap out of

Re: [Puppet Users] Blocking or gating service restarts?

2012-01-26 Thread Simon McCartney
On 10 January 2012 18:36, Wolf Noble wno...@datapipe.com wrote: just a thought; what if you made a fact for number of apache workers currently serving something, and base the service restart off of that. Might not be the best option; might not even work, but it makes more sense to me to have

[Puppet Users] Puppet on Windows - client installer?

2012-01-26 Thread jmp242
I've been watching Puppet on Windows and may be interested in trying it out - our Linux team is already working with it in a pilot... The issue I see is it doesn't seem to have a msi or exe I could install on client computers, instead it looks like it'd need a ruby environment installed to get

[Puppet Users] Exported and Collected Resource With User Defined Resource Broken?

2012-01-26 Thread Clay B.
Hello all, The key issue is, if I uncomment the line: Myresource | | { ensure = present } (Despite having defined the resource) I get the error: err: Could not find type Myresource on node hmaster I'm attempting to follow the instructions from the book Pro Puppet pgs. 143-145; however, it

[Puppet Users] Looking for real world server setup example

2012-01-26 Thread Kai Weber
Hi, I am looking for real world server setups to learn more from others. The ones I know of are The Repository of David Schmitt http://projects.puppetlabs.com/projects/1/wiki/Complete_Configuration The Wikimedia Server repository

[Puppet Users] Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64

2012-01-26 Thread Ramesh Kumar
Hello All, Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64. [root@1801 puppet-enterprise-2.0.0-el-5-x86_64]# ./puppet-enterprise- installer -a answers/full_suite.answer.sample

Re: [Puppet Users] Static Puppet Binary

2012-01-26 Thread Simon McCartney
I just wanted to ask a question here, is it possible to build a static binary that I could sep to a client machine, and have it do it's first run to connect to a puppet master? My plan is to use a static binary as a sort of installer for particular systems, as I don't really want to have to

[Puppet Users] Workaround for file syncing bug 6004

2012-01-26 Thread Robin
Hi, Does anyone by any chance know a work-around for the bug: https://projects.puppetlabs.com/issues/6004 ? I tried out 2.7.6 and the bug persisted in this version. Work-around, beta code fixes, tricks are greatly appreciated. Thanks, Rob -- You received this message because you are

[Puppet Users] mysql errors

2012-01-26 Thread jamese
I'm currently running three puppet masters (version 2.7.3 via apache +passenger) in a cluster, 2 on CentOS 5.7, 1 on CentOS 6.1 On the 6.1 master, I am frequently getting the following error (approximately 50% of the time when a client connects): err: Could not retrieve catalog from remote

[Puppet Users] Re: mysql errors

2012-01-26 Thread James Eckersall
Looks like this message didn't reach the group for some reason. For clarity though, I found that this was occurring on all three masters. I was able to resolve this by downgrading the activerecord gem on the puppet masters from 3.1.3 to 3.0.5. On 13 January 2012 08:31, jamese

[Puppet Users] multiple versions of a package (gems) in puppet

2012-01-26 Thread doug livesey
Hi -- I'm setting our servers up to use puppet, and have hit a bit of a sticking point with the gems we require. For some of our servers, we need to install multiple versions of the same gem, so I tried something like this: class gems::gems::rails { define gempackage::rails ( $version = $title

Re: [Puppet Users] courier imap/pop not refreshing

2012-01-26 Thread Christopher Wood
(My apologies for the attachment, I'm sleepy and did -a not -i in mutt.) This electronic message contains information from Primus Telecommunications Canada Inc. (PRIMUS) , which may be legally privileged and confidential. The information is intended to be for

[Puppet Users] Failed to Allocate Memory When Connected to LDAP

2012-01-26 Thread James Lee
Hello, I have a Solaris 10 system running Puppet 2.6.8 that is experiencing a very unusual problem. It has been running fine up until I configured the system to use LDAP for users and groups. The problem is easily reproducible. Take ldap out of /etc/nsswitch.conf and it runs fine, once it's

[Puppet Users] Setup examples

2012-01-26 Thread Kai Weber
Hi, I am looking for real world server setups to learn more from others. The ones I know of are The Repository of David Schmitt http://projects.puppetlabs.com/projects/1/wiki/Complete_Configuration The Wikimedia Server repository

[Puppet Users] Configuring Puppet from Master to Agent

2012-01-26 Thread Gilles
Hi, We have a specific configuration where Puppet Agents are in an internet DMZ, Puppet Master is on the LAN and there's no way for Puppet Agents to connect to the Puppet Master. We have opened port 8139 for the Master to establish the connection to the Agents. So, we have the problem for

[Puppet Users] puppet client server connection refused when I use puppet kick

2012-01-26 Thread tomkap12
I have very strange problem. I set up puppet client on serveral servers but have problem with one of them. When I invoke: root@www ~ # puppet agent --server puppetmaster.domain.ltd --test notice: Ignoring --listen on onetime run info: Caching catalog for puppetclient.domain.ltd

[Puppet Users] Using LDAP with puppet

2012-01-26 Thread Matt Ackerman
Does anyone have experience using LDAP as the ENC at medium to large scale? We have around 600 nodes but will quickly grow that to 2000 or so in short order. If so, is it working well? Would you do it again? If it didn't work what did you replace it with? We are thinking of using it and was

Re: [Puppet Users] Re: Blocking or gating service restarts?

2012-01-26 Thread Simon McCartney
Generally, Puppet uses a service's init script to manipulate it, so you can alter services' restart behavior by modifying their init scripts. That has the additional advantage that you get the same behavior if the service is ever restarted any other way. good point, but now I have to

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread krish
Remember, there is always some amount of manual stuff to do. 1) Install the OS (or clone your VM.) 2) Set the IP/hostname 3) Install puppet 4) Have the puppetmaster sign the cert Meh :P .. If you're using a Xen environment, we've taken care of this part already, where a puppet recipe

[Puppet Users] Re: Cross-module dependencies

2012-01-26 Thread jcbollinger
On Jan 26, 11:00 am, jcbollinger john.bollin...@stjude.org wrote: If we must rely only on features already present in Puppet, then I think that's heading in the right direction. On the other hand, if we can wish for new features to address this area, then there may be altogether different

[Puppet Users] Apologies for massive message queue

2012-01-26 Thread Michael Stahnke
We found that we had several messages awaiting moderation. That problem is being resolved, but that's the reason for high-volume on the list today. Mike -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] How do *you* handle yumrepo dependency chains?

2012-01-26 Thread Michael Stahnke
On Thu, Jan 26, 2012 at 6:56 AM, jimbob palmer jimbobpal...@gmail.com wrote: Say you have a RHEL6 environment. You have some packages you want installed, these rely on a yumrepo. That yumrepo relies on an rpm-gpg key being installed. Now you get some RHEL5 boxes to add to the network. Your

Re: [Puppet Users] Question about puppet module development

2012-01-26 Thread Steve Traylen
On Jan 26, 2012, at 12:03 PM, Spirit wrote: Hi all. I want to write module for kerberos configuration. I planned configure realms by using subclasses like in saz-sudo module: snip Anybody have idea, how i can manage krb5.conf without augeas? The following uses the concat module to

Re: [Puppet Users] Dependencies: packages and repos

2012-01-26 Thread Steve Traylen
On Jan 25, 2012, at 11:10 AM, jimbob palmer wrote: Hello, What's the best way of handling package installs that rely on a yum repository, which in turn relies on a gpg key? At the moment I have only RHEL6 boxes which have a few yumrepos defined and a few packages installed. The yumrepos

Re: [Puppet Users] Re: Is it possible to conditionally replace a file ?

2012-01-26 Thread Daniel Pittman
2012/1/25 Juan José Presa Rodal juan...@gmail.com: Hi, I would like to achieve a conditional file replacement but lightly different. I deploy recusively a directory with a lot of config files. This is my resource: file {/foo:     ensure  = directory,     recurse = remote,     source  =

Re: [Puppet Users] Re: Is it possible to conditionally replace a file ?

2012-01-26 Thread Juan José Presa Rodal
Ok, I understand. But i have not control about these individual noreplace files because are $hostname dependent. In different hostnames, have different specific source locations. So that was the reason for I need something similar to ignore parameter. (Or a workaround) Thanks! -- You

[Puppet Users] Re: Multiple Service definitions of the same type

2012-01-26 Thread Ramin K
I think if you remove this line, name = memcached, you should be fine as long as $service_name is unique per instance. Ramin On Jan 24, 2:50 pm, Bryan Beaudreault bbeaudrea...@hubspot.com wrote: Hello, I am trying to make it so that more than 1 instance of memcached can run on a single

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Dan White
I am relatively new to both Puppet and ssh-keys, but is it possible for the PuppetMaster to generate all the keys rather that each client creating their own ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”

Re: [Puppet Users] How do *you* handle yumrepo dependency chains?

2012-01-26 Thread Dan White
Cobbler “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - jimbob palmer jimbobpal...@gmail.com wrote: Say you have a RHEL6 environment. You have some packages you want

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 stefan.schu...@taunusstein.net 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 differently. 3 examples: (1)

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Christopher Wood
On Thu, Jan 26, 2012 at 06:32:49PM +, Dan White wrote: I am relatively new to both Puppet and ssh-keys, but is it possible for the PuppetMaster to generate all the keys rather that each client creating their own ? This might be one of the places where erb (templates) being evaluated on

Re: [Puppet Users] Configuring Puppet from Master to Agent

2012-01-26 Thread Dan White
http://serverfault.com/questions/137292/how-can-i-pre-sign-puppet-certificates “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Gilles gilles.antone...@gmail.com wrote:

Re: [Puppet Users] Writing a resource type provider in Python

2012-01-26 Thread Nan Liu
On Fri, Jan 20, 2012 at 4:14 PM, Tom Limoncelli t...@whatexit.org wrote: Is it possible to write a provider in Python?  I have to access something via a library that is written in Python.  I'd rather not rewrite the library in Ruby, or call out to shell. I couldn't find any references on how

[Puppet Users] Now that we have puppet node install....

2012-01-26 Thread Juri Rischel Jensen
I've been playing a bit with the puppet node install command, and I was wondering if I should change to using puppet installed as a gem instead of deb/rpm/whatever? That would allow me to use the very latest puppet versions, without building my own deb/rpm packages or waiting for them to become

[Puppet Users] Is anyone using Rump...?

2012-01-26 Thread Juri Rischel Jensen
A couple of months ago I stumbled across a presentation of Rump (https://github.com/railsmachine/rump) and I thought that it was kind of interesting to use this when developing new modules. But I tend to shy away from it, as it doesn't seem to be used (a google search on rump puppet does _not_

Re: [Puppet Users] constraint checking

2012-01-26 Thread Jo Rhett
On Jan 25, 2012, at 8:59 AM, Christopher Wood wrote: (Define generalized?) Works in more than one specific situation. Also, could you expound? I don't know any production scenario where it's desirable to have anything other than an exact known configuration of hosts. One thing about a

Re: [Puppet Users] Re: constraint checking

2012-01-26 Thread Jo Rhett
On Jan 26, 2012, at 6:19 AM, jcbollinger wrote: For the most part, I think this reflects the difficulty of the underlying problem more than any inadequacy of Puppet. If multiple independent subsystems place different demands on the same resources, then you have a mess to sort out no matter

Re: [Puppet Users] Now that we have puppet node install....

2012-01-26 Thread Craig White
On Jan 26, 2012, at 12:06 PM, Juri Rischel Jensen wrote: I've been playing a bit with the puppet node install command, and I was wondering if I should change to using puppet installed as a gem instead of deb/rpm/whatever? That would allow me to use the very latest puppet versions, without

Re: [Puppet Users] Now that we have puppet node install....

2012-01-26 Thread Daniel Pittman
On Thu, Jan 26, 2012 at 11:06, Juri Rischel Jensen juri.risc...@gmail.com wrote: I've been playing a bit with the puppet node install command, and I was wondering if I should change to using puppet installed as a gem instead of deb/rpm/whatever? That would allow me to use the very latest

Re: [Puppet Users] Now that we have puppet node install....

2012-01-26 Thread Nan Liu
On Thu, Jan 26, 2012 at 2:49 PM, Daniel Pittman dan...@puppetlabs.com wrote: On Thu, Jan 26, 2012 at 11:06, Juri Rischel Jensen juri.risc...@gmail.com wrote: I've been playing a bit with the puppet node install command, and I was wondering if I should change to using puppet installed as a gem

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

2012-01-26 Thread Daniel Pittman
On Thu, Jan 26, 2012 at 10:39, Steve Traylen steve.tray...@cern.ch wrote: On 26 Jan 2012, at 19:29, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Thu, Jan 26, 2012 at 03:57:08PM +, Steve Traylen wrote: After upgrading a server and client from 2.6.13 to 2.7.10 my configuration

Re: [Puppet Users] Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64

2012-01-26 Thread Daniel Pittman
On Thu, Jan 12, 2012 at 10:05, Ramesh Kumar rameshkumar...@gmail.com wrote: Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64. You are likely to get better responses over on the PE users mailing list: https://groups.google.com/forum/#!forum/puppet-users -- Daniel Pittman ⎋ Puppet

Re: [Puppet Users] Re: constraint checking

2012-01-26 Thread Nigel Kersten
On Thu, Jan 26, 2012 at 6:19 AM, jcbollinger john.bollin...@stjude.orgwrote: On Jan 25, 10:53 am, Jo Rhett jrh...@netconsonance.com wrote: On Jan 25, 2012, at 8:30 AM, Nick wrote: But then I have to anticipate every possible value of $shell and define resources for them. Anything

Re: [Puppet Users] Problem with not installing package, exec do an error

2012-01-26 Thread Daniel Pittman
On Fri, Jan 13, 2012 at 11:04, coralie ve coralie...@gmail.com wrote: I have a list of successive package, and it occured that some package are not installed. […] So i try something desperate : exec { 'sudo apt-get install libmemcached-dev':        path = ['/usr/bin'],        alias =

Re: [Puppet Users] Password not changing during polling event but does using puppetd -vt

2012-01-26 Thread Daniel Pittman
On Thu, Jan 12, 2012 at 14:08, Andre an...@andaff.com wrote: I have created a class for the root user that uses the User resource to manages the root password.  All seems to work well and as expected when I use puppetd -vt on a machine (or if I restart the service on the client) but during a

Re: [Puppet Users] Set hourly of execution with service puppet

2012-01-26 Thread Daniel Pittman
On Fri, Jan 20, 2012 at 10:22, Douglas Brancaglion douglas.rea...@gmail.com wrote: I'm from Brazil, and i'm learning puppet. I need set interval in puppet client for sync with puppetmaster... How i do it? The documentation on all the settings is here:

Re: [Puppet Users] Anyone know a good tool for 'watching' configurations?

2012-01-26 Thread Daniel Pittman
On Tue, Jan 24, 2012 at 08:02, NixFU nixfu.ni...@gmail.com wrote: Now that we have configuration management for our OS and we are actively managing our operating systems nearly hands off we want to now start doing some configuration mgmt of our applications. We don't frankly see having all

Re: [Puppet Users] Moving to RVM Ruby 1.9 and Puppet

2012-01-26 Thread Daniel Pittman
On Thu, Jan 26, 2012 at 07:52, Matt mjbl...@gmail.com wrote: Has anyone had any experience with using RVM with Puppet? Many, probably most, of the developers here use RVM around Puppet development. I know with puppet 2.6 it directly invokes /usr/bin/ruby on RHEL based OSes but in 2.7 I see

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

2012-01-26 Thread Stefan Schulte
On Thu, Jan 26, 2012 at 11:52:52AM -0800, Daniel Pittman wrote: On Thu, Jan 26, 2012 at 10:39, Steve Traylen steve.tray...@cern.ch wrote: On 26 Jan 2012, at 19:29, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Thu, Jan 26, 2012 at 03:57:08PM +, Steve Traylen wrote: After

Re: [Puppet Users] Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64

2012-01-26 Thread Nan Liu
On Thu, Jan 26, 2012 at 2:56 PM, Daniel Pittman dan...@puppetlabs.com wrote: On Thu, Jan 12, 2012 at 10:05, Ramesh Kumar rameshkumar...@gmail.com wrote: Unable to install Puppet Enterprise v2.0.0 for RHEL 5-x86_64. Pretty old email. I've responded in the past and for reference, I think this

[Puppet Users] Is there a particular order

2012-01-26 Thread Peter Berghold
... to which puppet, passenger, activerecord and dashboard should be installed in? This is my third try at getting these three to play nice together and my third epic fail. puppet is now complaining about err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not

Re: [Puppet Users] Set hourly of execution with service puppet

2012-01-26 Thread krish
On Fri, Jan 20, 2012 at 11:52 PM, Douglas Brancaglion douglas.rea...@gmail.com wrote: Hi guys! I'm from Brazil, and i'm learning puppet. I need set interval in puppet client for sync with puppetmaster... How i do it? Sorry my english Either use cron with puppetd onetime no daemon option or

  1   2   >