[Puppet Users] Installation of Hiera from apt.puppetlabs.com

2012-05-16 Thread Peter J. Foley
Hi Puppet Users, According to the installation instructions (https://github.com/puppetlabs/hiera#installation) located in the readme.md file at https://github.com/puppetlabs/hiera there should be an apt package located at apt.puppetlabs.com. I have looked within the repo and cannot find a

[Puppet Users] Re: Installation of Hiera from apt.puppetlabs.com

2012-05-16 Thread Peter
Never mind, I read the above last night and just read the post on the new Development locations in the repositories. Sorry for the noise. Thanks, Peter -- 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] Re: enablerepo.patch [ Feature #2247 ]

2012-05-16 Thread Sans
So, does it mean *enable/disable repo on the fly* still pretty much not possible? Cheers, Santanu On Tuesday, May 15, 2012 7:21:25 AM UTC+1, Sans wrote: Dear all, Has anyone successfully applied the enable/disable repo patch from Matthew Byng-Maddick yet?

[Puppet Users] Java dependency error in puppet installation

2012-05-16 Thread Jeeva
Hi, I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in centos6 machine. But got below error. ## Installing packages from files... error: Failed dependencies: java = 1.5.0 is needed by pe- tanukiwrapper-3.5.9-5.pe.el5.x86_64

[Puppet Users] Using Puppet to manage preexisting servers

2012-05-16 Thread Mister IT Guru
Good Afternoon Puppet List, I'm investigating the possibility of using puppet to take over an already existing cluster of servers. Ordinarily this doesn't sound like anything out the ordinary, but I've had my hands tied by the cluster owner saying he doesn't want anything to break/fail while

Re: [Puppet Users] Using Puppet to manage preexisting servers

2012-05-16 Thread Luke Bigum
On 16/05/12 13:07, Mister IT Guru wrote: Good Afternoon Puppet List, I'm investigating the possibility of using puppet to take over an already existing cluster of servers. Ordinarily this doesn't sound like anything out the ordinary, but I've had my hands tied by the cluster owner saying he

Re: [Puppet Users] Using Puppet to manage preexisting servers

2012-05-16 Thread Peter Bukowinski
My first experience with puppet was puppetizing an already deployed 500-node HPC cluster. The cluster admin was kind enough to pull a node out of the cluster so I could test my manifest/modules on it without affecting production nodes. Once I was confident I had it dialed in, I converted while

[Puppet Users] Site module with Puppet Enterprise

2012-05-16 Thread Rufus McDufus
In the Puppet Enterprise docs below, they mention using a 'Site Module' http://docs.puppetlabs.com/pe/2.5/quick_writing.html#using-a-site-module However I can't find any examples of people using such a method. I'm interested in this because I'd prefer to use generic modules (e.g from puppet

Re: [Puppet Users] Mailing list etiquette

2012-05-16 Thread Trevor Vaughan
I'm going to have to push back a bit at the no top posting with the same reasoning as described here: https://lopsa.org/content/top-posting-vs-bottom-posting-stop-tilting-windmills. Especially since most mobile mail clients top-post, it's going to be difficult to get this one to stick. I

Re: [Puppet Users] Mailing list etiquette

2012-05-16 Thread R.I.Pienaar
- Original Message - From: Trevor Vaughan tvaug...@onyxpoint.com To: puppet-users@googlegroups.com Sent: Wednesday, May 16, 2012 2:42:49 PM Subject: Re: [Puppet Users] Mailing list etiquette I'm going to have to push back a bit at the no top posting with the same reasoning as

[Puppet Users] Master Timeout

2012-05-16 Thread de
Howdy, our puppet master is hosting nagios at the same time. it happens that the compilation of the catalog for the master during a puppet run produces a timeout: === err: Could not retrieve catalog from remote server: execution expired warning: Not using cache on failed catalog err: Could not

Re: [Puppet Users] Master Timeout

2012-05-16 Thread Christopher Wood
On Wed, May 16, 2012 at 06:53:08AM -0700, de wrote: Howdy, our puppet master is hosting nagios at the same time. it happens that the compilation of the catalog for the master during a puppet run produces a timeout: === err: Could not retrieve catalog from remote server: execution expired

Re: [Puppet Users] Puppet / scalability

2012-05-16 Thread Alex Harvey
Thanks kindly to all for the thoughtful responses. I'll be looking closely at the idea of using load balanced Puppet servers. I wonder if anyone has any thoughts on the other problem I'm told I'll probably encounter, namely the difficulty in compiling Ruby and other packages in AIX, HPUX

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

2012-05-16 Thread jcbollinger
On May 15, 1:23 pm, Steve Roberts strob...@strobe.net wrote: I've contacted the person at puppetlabs we have been working with to get his take on things.  may even be part of a professional services implementation for him at this point. I hope that your contact will be able to help you work

[Puppet Users] Re: enabling a yum repository

2012-05-16 Thread jcbollinger
On May 15, 9:32 am, Biltong bilt...@fastmail.fm wrote: I have a class that pulls in some yum repositories. One of the yum repositories is disabled, but on one host I'd like to enable it. i.e. I'd like to do something like this: class { 'myyumrepos': } yumrepo { 'EPEL': enabled = 1, }

[Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread DieZ
Hello, I've done some more research, so i tried to show all config settings and I found the unexpected result : : # puppet --configprint all ... storeconfigs = false dbadapter = sqlite3 dblocation = /var/lib/puppet/state/clientconfigs.sqlite3 ... As said in my previous post, i've already

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread Gary Larizza
Try the following: puppet config print dbadapter --mode master That will print out the configuration item of dbadapter as the MASTER knows it. You can use --mode master or agent to check those configuration items from the context of Puppet running as an agent or as a master (the way you ran it

[Puppet Users] Re: Java dependency error in puppet installation

2012-05-16 Thread jcbollinger
On May 16, 5:23 am, Jeeva kissan...@gmail.com wrote: Hi,  I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in centos6 machine. But got below error. ## Installing packages from files... error: Failed dependencies:         java = 1.5.0 is needed by pe-

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread DieZ
thanks for the quick reply, it shows the correct value (mysql) # puppet config print dbadapter --mode master mysql so why it uses SQLite3 if everything is configured correctly for using MySQL ? puppet-master[28784]: (/File[/var/lib/puppet/state/clientconfigs.sqlite3]/mode) change from 0644

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread Gary Larizza
Did you restart your puppet master after you setup storeconfigs? Did the DB get created? On Wed, May 16, 2012 at 8:39 AM, DieZ mzt.tl...@gmail.com wrote: thanks for the quick reply, it shows the correct value (mysql) # puppet config print dbadapter --mode master mysql so why it uses

[Puppet Users] template compilation performance

2012-05-16 Thread Matt
I'm running into an issue where I have hundreds of configuration files generated from templates, which they are apache vhosts for various sites. I'm running into a problem where it can take up to 10 minutes to build them and sometimes clients get server execution expired. I'm also on 2.6

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Gary Larizza
There's a bit of information you'll need to provide for help: How many masters? Specs on master? Running your master under Webrick or something else (nginx, unicorn, apache/passenger)? Agents running puppet daemonized? How long does it take to run `puppet master --compile agent certname` on

Re: [Puppet Users] Re: Puppet master errors with stored configurations : sqlite3 instead of mysql

2012-05-16 Thread DieZ
Yes, the databse is created : mysql show tables; +--+ | Tables_in_puppet | +--+ | fact_names | | fact_values | | hosts| | inventory_facts | | inventory_nodes | | param_names | | param_values | | puppet_tags | | resource_tags

Re: [Puppet Users] Using Puppet to manage preexisting servers

2012-05-16 Thread Aaron Grewell
On Wed, May 16, 2012 at 5:07 AM, Mister IT Guru misteritg...@gmx.com wrote: Ordinarily, I'd say lets upgrade your working practices while we're at it, and properly manage your whole workflow, manage access and manage who can make changes. Lets start by rebuilding your boxes to specification,

[Puppet Users] support on rhel / epel

2012-05-16 Thread Tim Coote
Hullo I'm trying to install puppet on some rhel 6.2 boxes, which have epel repo installed. However, I'm getting dependency errors for augeas- libs: Error: Package: ruby-augeas-0.4.1-1.el6.x86_64 (epel) Requires: augeas-libs = 0.8.0 Installed: augeas-libs-0.7.2-6.el6.x86_64

[Puppet Users] Re: Autoscaling with Puppet

2012-05-16 Thread de
This might be what I was looking for. Havent' yet looked into this. https://github.com/ccaum/puppet-autoami On Sunday, May 13, 2012 9:28:25 PM UTC-4, de wrote: I have a specific need to use Puppet to Autoscale a few applications I have deployed on EC2. I'm using Puppet now to manage and

[Puppet Users] Get user's home directory

2012-05-16 Thread Matias
I need to place a few files (.vimrc, .bashrc, etc...) on existing users, some of them with their home dir in non-standard places. How can I get a user's home directory? Thanks. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this

Re: [Puppet Users] support on rhel / epel

2012-05-16 Thread Nathan Powell
augeas comes from the rhel optional channel. You'll have to enable that. On Wed, May 16, 2012 at 12:13 PM, Tim Coote tim.coo...@googlemail.com wrote: Hullo I'm trying to install puppet on some rhel 6.2 boxes, which have epel repo installed. However, I'm getting dependency errors for augeas-

[Puppet Users] Puppet create LBS, Autoscaling group(s)

2012-05-16 Thread de
I found this article on Provisioning with Puppet: http://puppetlabs.com/blog/provisioning-in-the-cloud-with-puppet-enterprise-2-0/ I'm using Puppet like a would be command line tool instead which may or may not be a wrong approach. Anyways, Is there a way to create Elastic Balancer(s),

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Matt
Yeah my bad, lots of things going on right now, here is the information. I currently have 3 puppet masters with 4 vCPU, 8GB ram, running apache with passenger. Puppet agents are run from mcollective with a concurrency of 20. Output from the puppet master compile command notice: Compiled

Re: [Puppet Users] Puppet / scalability

2012-05-16 Thread Bill Proud
On Wednesday, May 16, 2012 4:20:23 PM UTC+2, Alex Harvey wrote: Thanks kindly to all for the thoughtful responses. I'll be looking closely at the idea of using load balanced Puppet servers. I wonder if anyone has any thoughts on the other problem I'm told I'll probably encounter, namely

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Trevor Vaughan
Can you check your logs and see if you're getting a bell curve on compile time, or are they always that long? Trevor On Wed, May 16, 2012 at 12:30 PM, Matt mjbl...@gmail.com wrote: Yeah my bad, lots of things going on right now, here is the information. I currently have 3 puppet masters with

Re: [Puppet Users] template compilation performance

2012-05-16 Thread Matt
I would say that it that is close to the average. Not all nodes have the same amount of templates, these are just the web servers that are having the long compile time. On Wednesday, May 16, 2012 12:55:59 PM UTC-4, Trevor Vaughan wrote: Can you check your logs and see if you're getting a bell

Re: [Puppet Users] Announce: Facter 2.0.0rc1 Available

2012-05-16 Thread Matthaus Litteken
Yes, they will be in the Facter 2 docs. Also, I included them in the release notes in the announcement, under ## Breaking Changes in Facter 2.0 ##. Thanks, matthaus On Tue, May 15, 2012 at 10:18 PM, John Warburton jwarbur...@gmail.com wrote: On 16 May 2012 10:15, Matthaus Litteken

Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-16 Thread Jeff McCune
On Wed, May 16, 2012 at 6:11 AM, Rufus McDufus r...@bamalam.com wrote: In the Puppet Enterprise docs below, they mention using a 'Site Module' http://docs.puppetlabs.com/pe/2.5/quick_writing.html#using-a-site-module However I can't find any examples of people using such a method. I'm

Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-16 Thread Rufus McDufus
Ah, thanks Jeff - that's a nifty way of doing it! I've been setting templatedir which appears to override the templatedir of each module which seems to work, but I can't figure a way of doing this with files - I tried an entry [modules] in fileserver.conf as a test and this seems to just be

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

2012-05-16 Thread Steve Jahl
Hi, I'm in a situation where I need to install/manage both the 32-bit and 64-bit versions of a package. Anyone have any tips on doing this? What I've got now, is something like this: class install32 { package { 'freetype.i686': ensure = latest, require =

Re: [Puppet Users] Specifying Puppet Modules For EC2 Instances

2012-05-16 Thread Bill Fraser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I recommend reading Mathias Gug's blog posts about Puppet support for UEC/EC2 in Ubuntu images, as it describes in detail the process you're working through.

[Puppet Users] Re: Mailing list etiquette

2012-05-16 Thread de
Michael, just a heads up. The IRC channel seems flooded with irrelevant chatter to Puppet. I'd expect that the behavior I saw from EFNet, but not Freenode. For example, I asked a related question, the reply was F-bomb, gringo, F-bomb. Kinda funny, but can sour someone else less amused. On

Re: [Puppet Users] Get user's home directory

2012-05-16 Thread Dan White
puppet resource users should do the trick. “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) - Matias matiassu...@gmail.com wrote: I need to place a few files (.vimrc,

[Puppet Users] Puppet Node Create?

2012-05-16 Thread de
Was... Bash$ puppet node create This create action no longer exists. Has it been depreciated? Is the only way to create a node through puppetmaser now? Thanks, D -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the

Re: [Puppet Users] Puppet Node Create?

2012-05-16 Thread Nan Liu
On Wed, May 16, 2012 at 1:31 PM, de dustye...@gmail.com wrote: Was... Bash$ puppet node create This create action no longer exists. Has it been depreciated? Is the only way to create a node through puppetmaser now? I think the create action is only available on specific node_* faces since

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

2012-05-16 Thread Daniel Pittman
We expect to have that done by the end of this week. (Don't ask why it turns out to be so hard. I don't even want to think about it. ;) On Wed, May 16, 2012 at 1:17 PM, Eric Sorenson eric.soren...@me.com wrote: Not to be a pest, but um...whatever happened with this? Seemed like the response

Re: [Puppet Users] Puppet Node Create?

2012-05-16 Thread de
I have cloud_provisioner installed. It's not available. I think you can only create nodes from puppetmaster, which kinda makes sense, but I'd like the option. /Users/de/.puppet/modules └── puppetlabs-cloud_provisioner (v1.0.4) If anyone else has some info on this, please chime in. Also, Puppet

Re: [Puppet Users] Master Timeout

2012-05-16 Thread Adam Heinz
Maybe I'm lazy but on our puppetmasters I have a cron job doing puppet apply /etc/puppet/manifests/site.pp. I don't think that works with storeconfigs. [root@puppet ~]# rpm -q puppet-server puppet-server-2.6.16-1.el6.noarch [root@puppet ~]# grep storeconfigs /etc/puppet/puppet.conf

[Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread Mike Jeski
It appears that cloud_provisioner is pe specific. Not certain what it would take to make it work with community. digging through it now, will let you know what I find. On May 16, 2:02 pm, de dustye...@gmail.com wrote: I have cloud_provisioner installed. It's not available. I think you can only

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

2012-05-16 Thread Eric Sorenson
Not to be a pest, but um...whatever happened with this? Seemed like the response was pretty unanimously in favour. On Monday, April 9, 2012 2:09:07 PM UTC-7, Michael Stanhke wrote: Since our move to github for pull requests and patches, the usefulness of puppet-dev has declined significantly.

Re: [Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread Gary Larizza
The cloud provisioner IS NOT Puppet Enterprise Specific -- http://docs.puppetlabs.com/guides/cloud_pack_getting_started.html You can use open-source and use cloud provisioner to spin up nodes in EC2. The cloud provisioner face that deals with VMware IS PE-specific --

[Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread Mike Jeski
thanks Gary, the vmware bit is what I'd based my response upon. On May 16, 2:51 pm, Gary Larizza g...@puppetlabs.com wrote: The cloud provisioner IS NOT Puppet Enterprise Specific --http://docs.puppetlabs.com/guides/cloud_pack_getting_started.html You can use open-source and use cloud

Re: [Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread de
Gary, I looked at the link earlier. Thanks though. I was aware cloud provisioner was not enterprise specific. I tried the following, but you can see the error message below: puppet node create --image ami-b89842d1 --keypair cat-keypair --type m1.small

Re: [Puppet Users] Re: Puppet Node Create?

2012-05-16 Thread de
OKAY. I'm an idiot. It's this... Bash$ puppet node_aws ...etc NOT Bash$ puppet node ...etc Problem solved. On Wednesday, May 16, 2012 6:28:06 PM UTC-4, de wrote: Gary, I looked at the link earlier. Thanks though. I was aware cloud provisioner was not enterprise specific. I tried the

Re: [Puppet Users] Master Timeout

2012-05-16 Thread Nan Liu
On Wed, May 16, 2012 at 2:20 PM, Adam Heinz a...@metricwise.net wrote: Maybe I'm lazy but on our puppetmasters I have a cron job doing puppet apply /etc/puppet/manifests/site.pp. I don't think that works with storeconfigs. [root@puppet ~]# rpm -q puppet-server

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

2012-05-16 Thread Steve Traylen
On Wednesday, 16 May 2012 20:18:28 UTC+2, Stephen J. wrote: Hi, I'm in a situation where I need to install/manage both the 32-bit and 64-bit versions of a package. Anyone have any tips on doing this? What I've got now, is something like this: class install32 { package {

[Puppet Users] Announcing Windows registry module initial release

2012-05-16 Thread Josh Cooper
Hello, We're pleased to announce the first release of the Windows registry module, version 0.1.0. This release provides the ability to manage registry keys and values on Windows 2003, 2003R2, 7, 2008, and 2008R2 systems. It supports the most commonly used registry value types (REG_SZ,

Re: [Puppet Users] Re: Mailing list etiquette

2012-05-16 Thread Michael Stahnke
On Wed, May 16, 2012 at 11:52 AM, de dustye...@gmail.com wrote: Michael, just a heads up. The IRC channel seems flooded with irrelevant chatter to Puppet. I'd expect that the behavior I saw from EFNet, but not Freenode. For example, I asked a related question, the reply was F-bomb, gringo,

Re: [Puppet Users] Re: Java dependency error in puppet installation

2012-05-16 Thread Michael Stahnke
On Wed, May 16, 2012 at 8:34 AM, jcbollinger john.bollin...@stjude.org wrote: On May 16, 5:23 am, Jeeva kissan...@gmail.com wrote: Hi,  I was trying to instal puppet-enterprise-2.5.1-el-5-x86_64 in centos6 machine. But got below error. ## Installing packages from files... error: Failed

[Puppet Users] modifying declared user/group types without resorting to inheritance?

2012-05-16 Thread Joshua Hoblitt
Hello, I have number of classes that deal with user management and I've run into a snag with needing to extend/modify either the user or group types. I'm using theforeman as an ENC. The class structure I have is something like the following. users::common users::dev users::prod etc...

Re: [Puppet Users] modifying declared user/group types without resorting to inheritance?

2012-05-16 Thread Brian Gupta
On Wed, May 16, 2012 at 9:51 PM, Joshua Hoblitt jhobl...@cpan.org wrote: Hello, I have number of classes that deal with user management and I've run into a snag with needing to extend/modify either the user or group types.  I'm using theforeman as an ENC. The class structure I have is