Re: [Puppet Users] The Puppet Way to handle slow resources? (newbie)

2012-07-11 Thread Felix Frank
On 07/10/2012 08:52 PM, Christopher Wood wrote: > I don't understand your issue with mcollective. You have an orchestration > issue but don't want to use the puppet-ecosystem orchestration tool? This is > the part that confuses me, especially since this won't be your last > orchestration require

Re: [Puppet Users] Crontab overwritten by Puppet

2012-07-11 Thread Kmbu
Hi, Thanks for supporting. We've been running this environment of around 1000 servers for at least 5 years and have never seen a crontab suddenly disappear before. We've only had Puppet in place for a month or so. Regards, On Tuesday, 10 July 2012 15:37:15 UTC+2, Felix.Frank wrote: > > Hi, >

[Puppet Users] certname doesn't seem to work on the agent

2012-07-11 Thread Kmbu
Hi guys, I have a box that needs to identify itself to the puppetmaster as something different from the FQDN. I added certname to the agent configuration before the first run, but it doesn't seem to be sufficient. The certificate was generated for the FQDN, and the host appears in the dashboard

[Puppet Users] Re: Hiera and environments

2012-07-11 Thread Andreas Paul
That's odd. Where do you define your sshpackages? Can you show the hiera debug output with hiera -d -c /etc/puppet/hiera.yaml sshpackages environment=development My hiera.yaml config file also contains :puppet: :datasource: data But I don't really know what this is for and puppet can still

Re: [Puppet Users] err: Could not request certificate: execution expired

2012-07-11 Thread Felix Frank
Hi, On 07/10/2012 07:39 PM, Ganesh Kumar wrote: > Hi Guys, > > I am trying to executed sign client to server, > I give the command to client #puppetd --test -d -v > > > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring > File[/var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/c

[Puppet Users] 2.7.18 available for Solaris in CSW repo

2012-07-11 Thread Phips
Just rolled, so it's in my experimental area at the mo. I'm just about to test it, others please feel free to do so too. http://buildfarm.opencsw.org/experimental.html#markp Once I've confirmed it's OK I'll push to the main catalog. You might like to hang on for that event. --Mark -- You rec

[Puppet Users] Re: 2.7.18 available for Solaris in CSW repo

2012-07-11 Thread Phips
Tested, works fine for me, and posted to the live catalog. Probably be there later on or within a day or so. On Wednesday, July 11, 2012 12:54:02 PM UTC+1, Phips wrote: > > Just rolled, so it's in my experimental area at the mo. I'm just about to > test it, others please feel free to do so too.

[Puppet Users] Re: where is ssh_known_hosts file generated by sshkey ?

2012-07-11 Thread jcbollinger
On Tuesday, July 10, 2012 7:00:27 PM UTC-5, Clay wrote: > > Hi , > I was testing puppet exported resources as in > http://docs.puppetlabs.com/guides/exported_resources.html and I had this > test class (code is from another post). > > class ssh_known_hosts{ > case $sshrsakey { >

[Puppet Users] Re: Hiera and environments

2012-07-11 Thread Luke Baker
I've defined the sshpackages in common.yaml and RedHat.yaml - they're slightly different (I was using the different packages to test lookups). [root@puppet-dev ~]# cat /etc/puppet/environments/development/hieradata/common.yaml --- sshpackages: - 'openssh' - 'openssh-clients' permit

Re: [Puppet Users] Problems installing dashboard.

2012-07-11 Thread llow...@oreillyauto.com
Comments inline. On Tuesday, July 10, 2012 6:48:28 PM UTC-5, Craig White wrote: > > > On Jul 10, 2012, at 1:14 PM, llowder wrote: > > > I'm trying to install dashboard. > > > > I'm using: > > > > Ubuntu 12.04 LTS (32bit), > > Puppet 2.7.17. > > ruby 1.8.7 (2011-06-30 patchlevel 352) [i686

Re: [Puppet Users] The Puppet Way to handle slow resources? (newbie)

2012-07-11 Thread Trevor Vaughan
Hi Dave, This is definitely not a dumb question. I wrote a post on what I thought a puppet semaphore system should do quite some time ago. Unfortunately, you don't really want to hang an instance until the semaphore flips so you end up having to wait through puppet runs. If you've got a solid SSH

[Puppet Users] Where do I store a new package provider?

2012-07-11 Thread Micah Martin
If I've created a new package provider do I need to install it under every module i want to use it in? Where should it love? I want to make it the default provider for windows. Any help would be much appreciated. -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Is is possible/acceptable to create a private puppet forge?

2012-07-11 Thread jtimon
We have a pretty large internal distribution of puppet content, with a bunch of disparate teams using a lot of modules written internally. Currently we have been using git with submodules to manage all of our puppet content and version control. I have recently been looking at librarian-puppet

Re: [Puppet Users] Where do I store a new package provider?

2012-07-11 Thread Felix Frank
Hi, On 07/11/2012 06:33 AM, Micah Martin wrote: > If I've created a new package provider do I need to install it under > every module i want to use it in? Where should it love? I want to make > it the default provider for windows. Any help would be much appreciated. you can show it your love ever

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Aaron Russo
Had this exact same problem last night. String.starts_with? wasn't introduced until Ruby 1.8.7. Make sure you have Ruby 1.8.7 or greater installed. Regards, Aaron On Jul 11, 2012, at 7:11 AM, Peter Berghold wrote: Hi there, After seeing a tweet about puppet-lint I went ahead and installed p

Re: [Puppet Users] where is ssh_known_hosts file generated by sshkey ?

2012-07-11 Thread Felix Frank
Hi, On 07/11/2012 02:00 AM, Clay wrote: > > > it shows the entry created, but where is the file on the puppet master > server ? I checked /etc/ssh_known_hosts ( I created a empty one) , but > it's still empty. you are mistaken. Exported resources are stored *in the database on the master*.

Re: [Puppet Users] The Puppet Way to handle slow resources? (newbie)

2012-07-11 Thread Brian Gallew
If I understand the OPs question correctly, he has an ordering problem: some services aren't waiting for other services to come online before starting themselves? If that's the case, you handle this with dependencies and chaining, e.g. service { fast_service: require => Service['slow_service']...

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Matthias Saou
On Wed, 11 Jul 2012 10:39:44 -0400 Peter Berghold wrote: > Yet another reason for me to rebuild that machine with Debian. > CentOS tends to be behind in versions... :-( Not sure what you mean... [root@puppet ~]# rpm -q ruby ruby-1.8.7.352-7.el6_2.x86_64 [root@puppet ~]# cat /etc/redhat-release

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Peter Berghold
[peter@chits1 manifests]$ ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] [peter@chits1 manifests]$ ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] [peter@chits1 manifests]$ uname -a Linux chits1.chi.sharkrivertech.com 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 04:57:35 EST 2012 x86_64 x86_64 x86_64 GNU/

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Alexander Bien
On 11.07.2012 16:55, Peter Berghold wrote: [peter@chits1 manifests]$ ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] [peter@chits1 manifests]$ ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] [peter@chits1 manifests]$ uname -a Linux chits1.chi.sharkrivertech.com

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Felix Frank
Hi, On 07/11/2012 04:55 PM, Peter Berghold wrote: > [peter@chits1 manifests]$ cat /etc/redhat-release > CentOS release 5.8 (Final) haven't danced with it in awhile, but isn't el5 comparable to Debian 4, age-wise? Wouldn't a CentOS 6 upgrade be a smaller hassle? Just my 2c. -- You received this

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Matthias Saou
On Wed, 11 Jul 2012 10:55:07 -0400 Peter Berghold wrote: > [peter@chits1 manifests]$ ruby -v > ruby 1.8.5 (2006-08-25) [x86_64-linux] > [peter@chits1 manifests]$ ruby -v > ruby 1.8.5 (2006-08-25) [x86_64-linux] > [peter@chits1 manifests]$ uname -a > Linux chits1.chi.sharkrivertech.com 2.6.18-308.

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Peter Berghold
Unfortunately in this case I'm stuck with whatever my VPS provider provides as templates. Fortunately they seem to have added CentOS 6.2 since I created this VPS (less than a year ago) so an update might be in order. There are other factors I've run into with CentOS though that make me crazy. So

[Puppet Users] Re: Trouble installing packages with Puppet on Arch Linux

2012-07-11 Thread jcbollinger
On Tuesday, July 10, 2012 2:16:14 PM UTC-5, Matthew Rayfield wrote: > > Thanks for your reply jcbollinger! > > I think that this could actually be a bug. > > After reading your response I edited my manifest to only install the first > package. I then went in and used pacman manually and noticed

[Puppet Users] Re: Hiera and environments

2012-07-11 Thread Andreas Paul
Hiera would look in your RedHat.yaml first, if you would tell hiera, that this lookup variable is available, by using hiera -d -c /etc/puppet/hiera.yaml sshpackages environment=development operatingsystem=RedHat Which would always get passed to hiera by puppet, along with all facter variables.

[Puppet Users] Re: The Puppet Way to handle slow resources? (newbie)

2012-07-11 Thread jcbollinger
On Tuesday, July 10, 2012 1:39:58 PM UTC-5, Dave Anderson wrote: > > Hi > > I have a resource that is slow to come into service and I have other > resources that are dependent on the service in order to be configured. I've > been searching for the "puppet way" to do this, but all the options I

[Puppet Users] Environment and layout questions

2012-07-11 Thread llow...@oreillyauto.com
If I have a module in /etc/puppet/modules/module_a And I also have /etc/puppet/environments/modules/module_a and the one in the environments is different (say, it's a dev or test env that I am using to test new module code or something like that) Will puppet use the test one if the environment

[Puppet Users] why puppet module is not available in 2.6.16

2012-07-11 Thread Hai Tao
I am using puppet server 2.6.16, why my puppet command cannot run module subcommand? # puppet Usage: puppet command Available commands are: agent, apply, cert, describe, doc, filebucket, inspect, kick, master, queue, resource Thanks. Hai -- You received this message because you are subscribe

Re: [Puppet Users] why puppet module is not available in 2.6.16

2012-07-11 Thread Matthaus Litteken
The puppet module face was added in Puppet 2.7.14. Before that it was available as a gem (http://rubygems.org/gems/puppet-module). If you need the module tool for Puppet < 2.7.14, you can install the gem and use puppet-module for many module related actions. HTH haus On Wed, Jul 11, 2012 at 9:11

Re: [Puppet Users] why puppet module is not available in 2.6.16

2012-07-11 Thread Hai Tao
Yes, I installed the puppet-module and it works. Thanks, Matthaus! Can you take a look one of another my post, that I am having problem to set up using apache and passenger to run dashboard? It seems that the public folder does not contain the webpages it needs: # ll /usr/share/puppet-dashboard/p

Re: [Puppet Users] problem using apache & passenger to run dashboard

2012-07-11 Thread llow...@oreillyauto.com
Comments inline. On Tuesday, July 10, 2012 10:48:41 PM UTC-5, Hai wrote: > > Can someone help on this? > > Thanks. > > > > > > > > why there is no reports folder? > > > Do you have your agents set to report, and have you ran 'puppet agent --test' on them? Are you using port 80 (def

Re: [Puppet Users] problem using apache & passenger to run dashboard

2012-07-11 Thread Hai Tao
Lee, Thanks for your help. Yes, I set "report = true" on clients, and they all worked well with webrick ( dashboard can see the reports in the resport tab). My gem version is 1.3.7. Here is mty dashboard-vhost.conf: # cat dashboard-vhost.conf | grep -v \# | grep -v ^$ LoadModule passenger_mo

Re: [Puppet Users] Is is possible/acceptable to create a private puppet forge?

2012-07-11 Thread Ryan Coleman
Hi John, Unfortunately, we don't yet have that capability but are interested in exploring it. Would you mind elaborating on your needs and what you'd want from a private Forge in addition to what the public Forge offers? --Ryan On Wed, Jul 11, 2012 at 6:45 AM, jtimon wrote: > We have a pretty l

[Puppet Users] PROBLEM: Puppet functions execute during compile time...

2012-07-11 Thread Rastio Hodul
Hi, I'm new to Puppet. I'm writing the script that installs LAMP+Drupal. At the end of the script I need to setup a cron. But for that I need to read certain key that has been generated during install. So I'm trying use generate() function, BUT it evaluates during compile time at which the key

Re: [Puppet Users] problem using apache & passenger to run dashboard

2012-07-11 Thread Jo Rhett
On Jul 10, 2012, at 4:39 PM, Hai Tao wrote: > but after I restarted httpd, I see a apache welcome page. Did you read the page? It probably tells you to remove /etc/httpd/conf.d/welcome.conf ... -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. -- Yo

[Puppet Users] Re: Hiera and environments

2012-07-11 Thread Luke Baker
Ok, I was able to get this to work by removing my environments. /etc/puppet/hieradata/ ├── common.yaml /etc/puppet/hiera.yaml --- :hierarchy: - common :backends: - yaml :yaml: :datadir: /etc/puppet/hieradata On Wednesday, July 11, 2012 10:42:20 AM UTC-5, Andreas Paul wrote: > > Hier

Re: [Puppet Users] problem using apache & passenger to run dashboard

2012-07-11 Thread llow...@oreillyauto.com
On Wednesday, July 11, 2012 1:13:48 PM UTC-5, Jo wrote: > > On Jul 10, 2012, at 4:39 PM, Hai Tao wrote: > > but after I restarted httpd, I see a apache welcome page. > > > Did you read the page? It probably tells you to remove > /etc/httpd/conf.d/welcome.conf ... > > That or specify the right po

Re: [Puppet Users] problem using apache & passenger to run dashboard

2012-07-11 Thread Hai Tao
The welcome page should only display when there is no webpage to display. I tried to remove the welcome page, and it still is not working. It looks to me that the passenger is not working correctly. httpd error log show this errors: # tail -f dashboard_error.log [Wed Jul 11 11:27:26 2012] [error

Re: [Puppet Users] Environment and layout questions

2012-07-11 Thread Craig Dunn
On 11/07/2012 09:06, llow...@oreillyauto.com wrote: If I have a module in /etc/puppet/modules/module_a And I also have /etc/puppet/environments/modules/module_a and the one in the environments is different (say, it's a dev or test env that I am using to test new module code or something like t

[Puppet Users] Re: where is ssh_known_hosts file generated by sshkey ?

2012-07-11 Thread Clay
Thanks. I see the ssh_known_hosts file on clinet1 under /etc/ssh now . Clay -- 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/-/O5dXKYqGpIMJ. To post to th

Re: [Puppet Users] Environment and layout questions

2012-07-11 Thread llow...@oreillyauto.com
Comments inline. On Wednesday, July 11, 2012 1:29:46 PM UTC-5, Craig Dunn wrote: > "Fall back" under what circumstances? if the module isn't found in the > environment folder? > > If you want Puppet to search your environment specific folder first, and > then use a generic module folde

[Puppet Users] how to conditionally add users to a virtualized group?

2012-07-11 Thread Jo Rhett
I'm fighting with a ticklish issue. We have some groups and users that only belong on some systems. So we made all users virtual and then realize them in classes specific to those system types. This works quite well for the users, but not for the groups. When you specify a user, you have to li

[Puppet Users] Could not render to pson: undefined method 'merge' for []:Array

2012-07-11 Thread Micah Martin
This ones got me absolutely scratching my head. I'm trying to created a custom type for managing couchbase. It may not be the right approach but I'm a total noob and I'm trying to figure this thing out. Here's what I have: */Puppet/manifests/site.pp* node 'qamachine' { include webserver }

Re: [Puppet Users] Crontab overwritten by Puppet

2012-07-11 Thread Romeo Theriault
On Tue, Jul 10, 2012 at 10:41 PM, Kmbu wrote: > Hi, > > Thanks for supporting. We've been running this environment of around 1000 > servers for at least 5 years and have never seen a crontab suddenly > disappear before. We've only had Puppet in place for a month or so. > > Regards, Unfortunately,

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Denmat
Enterprise ruby? http://www.rubyenterpriseedition.com/download.html On 12/07/2012, at 1:25, Peter Berghold wrote: > Unfortunately in this case I'm stuck with whatever my VPS provider provides > as templates. Fortunately they seem to have added CentOS 6.2 since I created > this VPS (less than

Re: [Puppet Users] Have puppet store updated facts in couchdb without updating configuration

2012-07-11 Thread ZJE
Thanks! That did the trick (and went to the configured couchDB) In case anyone comes across this later, I needed to also setup ACLs for /facts (http://docs.puppetlabs.com/guides/rest_auth_conf.html) I added this ACL above the default "path /" --- path /facts method save auth any allow * --- O

[Puppet Users] [Job] Systems Administrator MIT CSAIL - Cambridge, MA

2012-07-11 Thread Jonathan Proulx
On line application: http://sh.webhire.com/servlet/av/jd?ai=631&ji=2630662&sn=I We're in the early stages of a transition from 10 years of CFengine use to Puppet and transitioning from Debian Squeeze to Ubuntu 12.04 as our supported server and workstation release, and an OpenStack deployment, and

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Tim Sharpe
Hi Peter, Could I get you to file a bug report an https://github.com/rodjek/puppet-lint/issues with all the relevant info? Cheers, Tim On Thursday, 12 July 2012 at 12:11 AM, Peter Berghold wrote: > Hi there, > > After seeing a tweet about puppet-lint I went ahead and installed puppet-li

Re: [Puppet Users] certname doesn't seem to work on the agent

2012-07-11 Thread Peter Brown
Hi, Your config looks about right. Did you drop the current cert and request and sign a new one? On 11 July 2012 19:14, Kmbu wrote: > Hi guys, > > I have a box that needs to identify itself to the puppetmaster as something > different from the FQDN. I added certname to the agent configuration be