Re: [Puppet Users] Cloud Provisioning

2013-08-28 Thread Nan Liu
On Tue, Aug 27, 2013 at 4:45 PM, Chris McDermott ch...@mcvine.net wrote: I'm looking for ways to manage multiple public cloud resources. Ideally I would like to support the following providers: AWS GCE Rackspace Digital Ocean Linode And I would like to be able to manage everything -

[Puppet Users] passing hiera data to custom fact

2013-08-28 Thread Luca Gioppo
I need to create a custom fact based on a parametric information (I need to get the IP of another machine knowing the hostname, the machine name could be different for different nodes so I need it parameteric and I recover the machine hostname from a hiera, but for the purpose of the question

Re: [Puppet Users] Re: Share data between classes/modules, best practices

2013-08-28 Thread Luca Gioppo
It seems a very clever approach!!! If it works could be the approach for not having dependency. I do not agree that the two module are dependend, they just depend on the same data, but given the data should be able to work on their own. This problem is also mine in trying to design modules that

Re: [Puppet Users] Cloud Provisioning

2013-08-28 Thread Dan White
From https://github.com/puppetlabs/puppet-cloud_connection : Supported Modules? The following modules are known to use this type to store credentials. • puppet-instance • puppet-loadbalancer • puppet-storage If support is added to other modules, please send a pull

Re: [Puppet Users] passing hiera data to custom fact

2013-08-28 Thread Dan White
Do you know this information when you set up the server ? If so, just create an appropriate host resource http://docs.puppetlabs.com/references/latest/type.html#host “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to

Re: [Puppet Users] Cloud Provisioning

2013-08-28 Thread Martin Alfke
Hi, the mentioned modules are not yet public. PuppetLabs needs to review the modules first. We were making the cloud connection and instance module public during last weeks PuppetConf. hth, Martin On Aug 28, 2013, at 12:24 PM, Dan White y...@comcast.net wrote: From

[Puppet Users] Re: passenger installation file passenger-install-apache2-module missing

2013-08-28 Thread Andreas Dvorak
Hi, meanwhile I have installed mod_passenger.x86_64 0:4.0.5-3.el6. It has a file /usr/lib64/httpd/modules/mod_passenger.so But I still do not understand why the installation guides I found tell me to run passenger-install-apache2-module and that is not in the package

[Puppet Users] agent will not run

2013-08-28 Thread Werner Flamme
Hi, I wonder why the puppet agent on the server itself will not run: ---snip--- # puppet agent --test Error: Could not run Puppet configuration client: Puppet::Node does not respond to from_s; can not intern instances from text/plain Error: Could not run: can't convert Puppet::Util::Log into

Re: [Puppet Users] Cloud Provisioning

2013-08-28 Thread Dan White
Great. Looking forward to them. Thanks for the response “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) - Original Message - From: Martin Alfke tux...@gmail.com

Re: [Puppet Users] Re: Installing Puppet on Windows: Error 1053

2013-08-28 Thread MunsterNet
Hi, Same here, I'm trying to run the agent on a Windows machine installed in French: C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32-dir-0.4.3/lib/win32/dir.rb:95:in `enco de': \xE9 to UTF-8 in conversion from ASCII-8BIT to UTF-8 to CP850

[Puppet Users] puppet dashboard database options

2013-08-28 Thread Ankit Mittal
Dear All, Please help to find other database option in puppet dashboard , other that MySql. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Puppet Users] Re: Share data between classes/modules, best practices

2013-08-28 Thread François Lafont
Le 28/08/2013 11:57, Luca Gioppo a écrit : It seems a very clever approach!!! Are you talking about the extlookup approach? There is one thing which toubles me with extlookup. For me, when I put: $snmp = hiera_hash('snmp') $community = extlookup($snmp['community']) instead of :

Re: [Puppet Users] puppet dashboard database options

2013-08-28 Thread Peter Bukowinski
Postgres is an option in Puppet Dashboard 2.0, which is due to be released *very soon* (according to the session I attended at Puppet Conf last week). https://github.com/sodabrew/puppet-dashboard -- Peter On Aug 28, 2013, at 9:15 AM, Ankit Mittal ankit.lnc...@gmail.com wrote: Dear All,

Re: [Puppet Users] Best practices for infrastructure

2013-08-28 Thread jcbollinger
On Tuesday, August 27, 2013 1:47:02 PM UTC-5, Martin Langhoff wrote: On Tue, Aug 27, 2013 at 2:41 PM, jcbollinger john.bo...@stjude.orgjavascript: wrote: The client can provide a $::hostname fact that is different from the certname it presents, but that is perfectly valid and

[Puppet Users] Re: passing hiera data to custom fact

2013-08-28 Thread jcbollinger
On Wednesday, August 28, 2013 3:58:00 AM UTC-5, Luca Gioppo wrote: I need to create a custom fact based on a parametric information (I need to get the IP of another machine knowing the hostname, the machine name could be different for different nodes so I need it parameteric and I

Re: [Puppet Users] Re: Share data between classes/modules, best practices

2013-08-28 Thread jcbollinger
On Wednesday, August 28, 2013 4:57:36 AM UTC-5, Luca Gioppo wrote: It seems a very clever approach!!! If it works could be the approach for not having dependency. I do not agree that the two module are dependend, they just depend on the same data, but given the data should be able to work

Re: [Puppet Users] Environments; function error

2013-08-28 Thread jcbollinger
On Tuesday, August 27, 2013 8:31:07 PM UTC-5, gregory...@calorieking.com wrote: On 14/08/13 13:29, Gregory Orange wrote: We have two environments: production (containing one module) and experimental (two modules, one the same name as the module in production). All of our other

Re: [Puppet Users] Re: Problem of ordering with exported files

2013-08-28 Thread jcbollinger
On Tuesday, August 27, 2013 6:47:41 PM UTC-5, François Lafont wrote: Hello, Firstly, thank you John for your answer. Le 27/08/2013 21:23, jcbollinger wrote : I don't see anything obviously forgotten or wrong, but there are a few strange things: It's possible. ;-) 1. You

[Puppet Users] Run a script if port is not running

2013-08-28 Thread Virtual_user
Hi, basically i have script and when i run the script its open a port and listen on that port. I know i can use augeas to add entry into /etc/services but i am not using xiented . is there any way to to find out if the port is running or not (10049) and if the port is not running then force

Re: [Puppet Users] Run a script if port is not running

2013-08-28 Thread Dan White
Create a fact that gives you the port status “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) - Original Message - From: Virtual_user fos...@gmail.com To:

Re: [Puppet Users] Run a script if port is not running

2013-08-28 Thread Virtual_user
Hi Other then custom facts is not there any other way ?? Fosiul. On Wednesday, August 28, 2013 4:22:43 PM UTC+1, Ygor wrote: Create a fact that gives you the port status “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to

[Puppet Users] Creating Windows services

2013-08-28 Thread Igor Berger
Hello, Documentation mentions that Windows service resource provider can start, stop, enable, and disable services. Is it possible to create (register) a service using this provider? I'm running stand-alone Puppet agent 3.4.2 on Windows. Thanks, Igor. -- You received this message because

Re: [Puppet Users] Run a script if port is not running

2013-08-28 Thread Justin Brown
Fosiul, You are probably better off using your init or service management system to achieve this. Puppet isn't really designed to run often enough to reliably keep your script running. I would solve this with a simple systemd service file, using the Restart=always. Use Puppet to install the

Re: [Puppet Users] The Foreman: Query facts from ENC PuppetDB?

2013-08-28 Thread Ellison Marks
There's a beta frontend for puppetdb floating around the list called puppetboard. It handles reports, as well as a few other things. It's pretty sweet, all things considered. https://groups.google.com/forum/#!searchin/puppet-users/puppetboard/puppet-users/PVbPY3z8uFI/5yFZgVIG5wEJ On Tuesday,

[Puppet Users] puppet client

2013-08-28 Thread Stuart Cracraft
Hi, Looked but couldn't find information on Puppet client for Oracle Unbreakable Enterprise Kernel Linux. Could you point me to the methodology for the above on Open Source Puppet which we have running (well) on and for regular Red Hat Linux which we used Puppet Labs Yum repositories to

Re: [Puppet Users] Best practices for infrastructure

2013-08-28 Thread Martin Langhoff
On Wed, Aug 28, 2013 at 9:31 AM, jcbollinger john.bollin...@stjude.org wrote: If the objective is to render it into a small number of words, Just to double-check my understanding is right. If the client-reported $::hostname does not match the certname, _and_ I am only using 'node fqdn' entries

[Puppet Users] Announce: Facter 1.7.3-rc1 Available

2013-08-28 Thread Matthaus Owens
Facter 1.7.3-rc1 is a bugfix release candidate in the 1.7 series. To see a list of the issues addressed by this release, check out the 1.7.3 version in our issue tracker at: https://projects.puppetlabs.com/versions/414 Downloads are available at: * Source:

Re: [Puppet Users] The Foreman: Query facts from ENC PuppetDB?

2013-08-28 Thread Stephen Price
Thanks! I'll check it out. I think eventually I can see using Foreman more for stuff like ENC and provisioning, but I wanted to proceed cautiously by just starting with reporting and fact pushing. For now, the example cron script works ok. On Wed, Aug 28, 2013 at 9:41 AM, Ellison Marks

RE: [Puppet Users] puppet client

2013-08-28 Thread Steven Nemetz
Just use the RedHat packages We use the same packages for RedHat, CentOS, and Oracle EL Some modules need to get slightly modified to recognize Oracle EL Steven Subject: [Puppet Users] puppet client From: smcracr...@me.com Date: Wed, 28 Aug 2013 10:02:48 -0700 To:

Re: [Puppet Users] The Foreman: Query facts from ENC PuppetDB?

2013-08-28 Thread Ohad Levy
On Wed, Aug 28, 2013 at 9:13 PM, Stephen Price ste...@gmail.com wrote: Thanks! I'll check it out. I think eventually I can see using Foreman more for stuff like ENC and provisioning, but I wanted to proceed cautiously by just starting with reporting and fact pushing. For now, the example cron

[Puppet Users] Looking for alternative to fail function

2013-08-28 Thread smalderma
Greetings, I was just reading this thread Early clean exit from module? [1]https://groups.google.com/d/msg/puppet-users/2b1NB5wJsbM/F0HcnaYmK8YJon the idea of having an alternative to the fail function. I believe that like the OP of that post, I am looking to replace modules usage of the

Re: [Puppet Users] Creating Windows services

2013-08-28 Thread Rob Reynolds
On Wed, Aug 28, 2013 at 10:51 AM, Igor Berger codewiz...@gmail.com wrote: Hello, Documentation mentions that Windows service resource provider can start, stop, enable, and disable services. Is it possible to create (register) a service using this provider? I don't believe it is, but it's

[Puppet Users] Want to submit a talk to one of our fall Puppet Camps?

2013-08-28 Thread Dawn Foster
We're actively looking for speakers at all of these events, which are in some awesome locations, so you really have no excuse for not wanting to attend or speak! Puppet Camp Washington DC (at LISA). Nov 5 CFP:

Re: [Puppet Users] The Foreman: Query facts from ENC PuppetDB?

2013-08-28 Thread Stephen Price
Oh yes, I know that using Foreman as the ENC is the preferred method. I just want to evaluate it for reporting/stats first before taking the plunge. I've got the script running with a cron job now, works like a charm. On Wednesday, August 28, 2013 1:30:52 PM UTC-7, ohad wrote: On Wed,

Re: [Puppet Users] Creating Windows services

2013-08-28 Thread Igor Berger
Thanks for a quick response. I could use SC, but there are corner cases that require a lot of exec's and flow control, which looks quite ugly in Puppet. It would be nice if something like this was built in: 1. If service doesn't exist, create it (sc create) 2. Set recovery actions (sc

[Puppet Users] puppet module generate using wrong name for directory?

2013-08-28 Thread Dennis Jacobfeuerborn
Hi, I'm looking into writing proper modules and starting off with puppet module generate but it seems the tool uses an invalid name for the directory. When i specify mymodule as a name it tells me I need to use a dash separated name and when I use myname-mymodule then the module gets generated

[Puppet Users] CREATE command denied to user 'dashboard'@'localhost' for table 'schema_migrations'

2013-08-28 Thread karl hui
Hi Puppet Users group, I have followed the guide to the puppet-dashboard DB Preparing Schema part, once I run rake RAILS_ENV=production db:migrate --trace, it shows the following errors: (in /usr/share/puppet-dashboard) rake aborted! Mysql::Error: CREATE command denied to user

[Puppet Users] pupplet-labs/firewall module errors

2013-08-28 Thread Amol Kedar
I am using the puppetlabs firewall module and i get the following error on the agent once i downloaded the puppet module i created another module called my*fw for pre and post.pp files my*fw/manifests/pre.pp my_fw/manifests/post.pp and in my site.pp i included these lines resources {