Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Marc Zampetti
On Mon May 21 15:33:44 2012, Deepak Giridharagopal wrote: On Mon, May 21, 2012 at 11:02 AM, Marc Zampetti mailto:marc.zampe...@gmail.com>> wrote: Is Puppet Labs saying they are ending support of MySQL and instead will only support PostgreSQL? That is going to be a big problems

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-21 Thread Marc Zampetti
Is Puppet Labs saying they are ending support of MySQL and instead will only support PostgreSQL? That is going to be a big problems for shops that do not support PostgresSQL, or are only allowed to run DB systems on an approved list. Why wouldn't a DB-agnostic model be used? Right now, I can s

[Puppet Users] Re: Puppet Sites. Your thoughts?

2012-05-11 Thread Marc Zampetti
Does this require that a human being has to be in the loop every time a node joins the site? How would one automate 100% the provisioning of new hosts? With the current system, I can turn on auto-sign and have some simple rules for which nodes I will accept, and trust in the knowledge that I ha

Re: [Puppet Users] Re: Unusual puppet template usecase? not sure if it works - appreciate help!

2011-12-06 Thread Marc Zampetti
You appear to be trying to have some sort of "generic" template that fills in the values using two-phase variable interpretation. As has pointed out, that probably won't work. You should look at using extlookup instead of what are you trying here. That can do variable substitution in a manner s

Re: [Puppet Users] erb including other erbs

2011-04-08 Thread Marc Zampetti
This is actually quite easy. You just need to call the template() function from the erb template. For example: #!/bin/sample_script_erb some commands here <%= scope.function_template("module_name/template_file.erb") %> some more commands here On 4/6/11 11:48 PM, Ben Hughes wrote: On Wed,

Re: [Puppet Users] apache service start problem

2011-03-18 Thread Marc Zampetti
The root issue is that the "service" resource only depends upon the Package. You need to include all of the other resources in the require, or chain the requires in such a way that all of the other work is done before puppet tries to start apache. That will fix the "double run

Re: [Puppet Users] Re: Multiple packages installation in one yum call

2011-01-18 Thread Marc Zampetti
t Red Hat Linux that I don't know about yet? Marc Zampetti On 1/17/11 1:11 PM, Mike Lococo wrote: On 01/17/2011 12:40 PM, Matt wrote: Unfortunately thats a limitation of RPM which has been worked around with YUM. YUM will do the resolution of dependencies if they are also in one of t

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-10-31 Thread Marc Zampetti
I would avoid the use of a plural version of a parameter. To easy to make a mistake and since it is valid won't be easy to diagnose. The _concat would be fine. Also, isn't there already a parameter that influences the behavior if the "source" parameter? I don't recall the exact name, something lik

[Puppet Users] Turning off client bucket

2010-09-24 Thread Marc Zampetti
How does one turn of the file bucket feature for puppetd. I simply don't want backup copies of the files. I deal with things like that in a different way. I cannot see how to turn it off. Marc -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Marc Zampetti
Thanks, I'll take a look. However, I'm not on 2.6.1, and don't plan to be for awhile. I think I saw reference to your extlookup being available for 0.25.5. Where can I find that? Marc On 9/15/10 10:15 AM, R.I.Pienaar wrote: - "Marc Zampetti" wrote: The prob

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Marc Zampetti
That is an interesting option. One question though, will I still get the Dup error if I end up calling the pkg() define twice with the same version from two different modules? That seems to be the root of my problem. Marc On 9/15/10 9:49 AM, R.I.Pienaar wrote: - "Marc Zampetti&qu

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Marc Zampetti
chine, and you might want the version of every software you use to be fixed. For how it would be ideal to do it, I'm not sure, I'm waiting for comments too. :) Silviu On 14.09.2010 23:55, Marc Zampetti wrote: Basically, I'm trying to build modules that implement best practices

Re: [Puppet Users] Specifying version for shared packages

2010-09-15 Thread Marc Zampetti
hod: define install ($version) { package { $name: ensure => $version, } } node foo { install { "apache": version => "2.2.5" } } node bar { install { "apache": version =>

Re: [Puppet Users] Specifying version for shared packages

2010-09-14 Thread Marc Zampetti
I am using puppet 0.25.5. Marc On 9/14/10 4:39 PM, Silviu Paragina wrote: On 14.09.2010 23:12, Marc Zampetti wrote: I've been banging my head on this all day, and I cannot seem to figure out how to do it. I have a package for Apache HTTPd. I want to be able to specify the exact version of

[Puppet Users] Specifying version for shared packages

2010-09-14 Thread Marc Zampetti
from class to class. I realize that if two different classes define two different versions and both classes end up on the same node, I will get errors from YUM. I'm ok with that. Marc Zampetti -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Puppet + Passenger error - /var/lib/puppet/.puppet

2010-09-13 Thread Marc Zampetti
This is a known bug. You need to set vardir and confdir for the [puppetmasterd] section explicitly, otherwise you get the default of .puppet for the var dir. Do this, and running puppet from passenger should be fine. On 9/12/10 1:09 PM, cyrus_mc wrote: I am trying to setup Puppet + Passenger

[Puppet Users] File selection for template() similar to source

2010-08-31 Thread Marc Zampetti
I want to be able to have Puppet determine which file to use as the source of a template() call in a manner similar to the source parameter. Basically, I want to have a file resource that will use the most appropriate file for a template. While I can do: file { "file.conf" : source => [

Re: [Puppet Users] Optionally ensuring a service is running

2010-08-11 Thread Marc Zampetti
o resume controlling the running state. I'll report back what I'm able to get to work. Marc On 8/11/10 1:44 PM, Nan Liu wrote: On Wed, Aug 11, 2010 at 12:27 PM, Marc Zampetti mailto:marc.zampe...@gmail.com>> wrote: To do this, I see two issues. 1) How do I test for the

[Puppet Users] Optionally ensuring a service is running

2010-08-11 Thread Marc Zampetti
re" property is correct? Right now, it appears that only "running" or "notrunning" is valid. Would "ignored" or undef or something like that work? Is there a better way to achieve what I'm trying to do? Marc Zampetti -- You received this message because

[Puppet Users] puppet (puppet apply) and reporting and fact sync

2010-08-10 Thread Marc Zampetti
If I run in the disconnected mode using 'puppet' or 'puppet apply', is it possible to still have reports and facts synced to a central server? I've tried and it doesn't appear to be so, but I thought I would ask to make sure. Marc Zampetti -- You receive

[Puppet Users] Module/Class Naming/Organization Best Practices

2010-08-06 Thread Marc Zampetti
can I have sub dirs? If so, how do I reference things in the sub dirs, or is it all just "magic". Any help is appreciated. Marc Zampetti -- 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] Ideas/Best Practices for module versioning

2010-07-14 Thread Marc Zampetti
Ohad, So does that mean you have a large number of environments? Wouldn't this mean that worse case is that you have a separate environment for each node? Marc On 7/14/10 12:21 PM, Ohad Levy wrote: On Wed, Jul 14, 2010 at 11:39 PM, Cosimo Streppone mailto:cos...@streppone.it>> wrote:

[Puppet Users] Ideas/Best Practices for module versioning

2010-07-14 Thread Marc Zampetti
All, We are looking to implement Puppet as part of our config management/provisioning system. I've read a lot of wiki pages, all the Puppet docs, and the forums and mailing list archives. So far, I'm pretty comfortable with most of puppet, but the one area that I am a bit confused about is h