Re: [Puppet Users] yum.puppetlabs.com re-do

2011-07-26 Thread Chris Phillips
This doesn't seem to have been done yet any progress? I'd like to look at a 2.7.2 upgrade fairly soon and there seems no properly consistent way to get the RPM's for this. Thanks Chris On 15 July 2011 21:35, Michael Stahnke stah...@puppetlabs.com wrote: I'd like to reorganize

[Puppet Users] module creation

2011-07-26 Thread Rony KB
Hi all, I need to create puppet modules for apache2, php5 and mysql. Please help me to create these module. right now I am using sed command for editing configuration files. thanks in advance Roni -- You received this message because you are subscribed to the Google Groups Puppet Users group.

Re: [Puppet Users] puppet not installing relevant library files

2011-07-26 Thread Martijn Grendelman
On 26-07-11 06:57, KarthiKeyan. Kesavan wrote: Hi, I tried to exec dpkg cmd to install the deb file in my puppet debian client . I am getting error due to related library files. Please suggest me how to automate the same. Dpkg is not meant to resolve those dependencies for you, it just

Re: [Puppet Users] module creation

2011-07-26 Thread Martin Alfke
Hi Roni, best to start with learning puppet: http://docs.puppetlabs.com/learning/ If you look for special modules you want to check the module forge: http://forge.puppetlabs.com/ There you will find lots of modules also covering apache, php and mysql. hth, Martin On 07/26/2011 01:52 PM, Rony

[Puppet Users] 2.7.2rc changed the way variable names are parsed

2011-07-26 Thread vagn scott
In 2.7.2rc2 the '-' is now parsed as part of the variable name. Is this a deliberate change? #! /usr/bin/puppet apply $hello = hello $world = world $hello- = SURPRISE notice($hello-$world) notice(${hello}-$world) # result: # # ./surprise1.pp # notice: Scope(Class[main]):

[Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-26 Thread jcbollinger
On Jul 25, 9:47 am, vagn scott vagnsc...@gmail.com wrote: On 07/25/2011 08:47 AM, jcbollinger wrote: Puppet should not, and typically doesn't, apply resources that require a failed resource.  The content of the file managed by File[Make_Sudo_File_Live] is not directly relevant. I

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-26 Thread Khoury Brazil
On Mon, Jul 25, 2011 at 10:19 PM, Scott Smith sc...@ohlol.net wrote: Mcollective uses a message queue. If the host isn't online, it just won't show up. If your laptop is turned off, it wouldn't be reporting either way. Right, but I'm wondering if I need something that's a little more consistent

Re: [Puppet Users] puppet not installing relevant library files

2011-07-26 Thread KarthiKeyan. Kesavan
Hi, Thanks for your info . Could you please explain with some example. Regards chebrian On Tue, Jul 26, 2011 at 5:34 PM, Martijn Grendelman mart...@iphion.nlwrote: On 26-07-11 06:57, KarthiKeyan. Kesavan wrote: Hi, I tried to exec dpkg cmd to install the deb file in my puppet debian

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-26 Thread Khoury Brazil
On Mon, Jul 25, 2011 at 10:46 PM, Ohad Levy ohadl...@gmail.com wrote: On Tue, Jul 26, 2011 at 5:04 AM, Khoury Brazil khoury.bra...@gmail.com wrote: On Sat, Jul 23, 2011 at 8:15 PM, Jacob Helwig ja...@puppetlabs.com wrote: On Fri, 22 Jul 2011 19:28:37 -0700, Khoury wrote: Hi All, Does

[Puppet Users] Re: ruby dsl, loading files from within the modules

2011-07-26 Thread Matt
I'm all for writing facts but I dont think it is the best solution in this given problem. You can easily create a variable at top level to identify where the file is and use it but that is not really elegant either. With file definitions I can use the template function to read in from a module but

Re: [Puppet Users] 2.7.2rc changed the way variable names are parsed

2011-07-26 Thread Nigel Kersten
On Tue, Jul 26, 2011 at 5:29 AM, vagn scott vagnsc...@gmail.com wrote: In 2.7.2rc2 the '-' is now parsed as part of the variable name. Is this a deliberate change? I'm trying to track down the actual bug where this got resolved, but yes, I believe this was deliberately done, and primarily

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-26 Thread Ohad Levy
On Tue, Jul 26, 2011 at 4:59 PM, Khoury Brazil khoury.bra...@gmail.com wrote: On Mon, Jul 25, 2011 at 10:46 PM, Ohad Levy ohadl...@gmail.com wrote: On Tue, Jul 26, 2011 at 5:04 AM, Khoury Brazil khoury.bra...@gmail.com wrote: On Sat, Jul 23, 2011 at 8:15 PM, Jacob Helwig ja...@puppetlabs.com

Re: [Puppet Users] ruby dsl, loading files from within the modules

2011-07-26 Thread Nan Liu
On Mon, Jul 25, 2011 at 8:09 PM, Matt mjbl...@gmail.com wrote: Is there a way to load a file from within the module in Ruby DSL? The idea I have is to load a file similar to like how template works. I'm trying to read in a database properties file and I would like to keep within the module

Re: [Puppet Users] 2.7.2rc changed the way variable names are parsed

2011-07-26 Thread vagn scott
On 07/26/2011 10:32 AM, Nigel Kersten wrote: Allowing a trailing hyphen doesn't seem like the most optimal solution though That doesn't matter so much. But, expanding the character set for variables without even mentioning it in the release notes has caused me some pain. You really

Re: [Puppet Users] 2.7.2rc changed the way variable names are parsed

2011-07-26 Thread Nigel Kersten
On Tue, Jul 26, 2011 at 7:52 AM, vagn scott vagnsc...@gmail.com wrote: On 07/26/2011 10:32 AM, Nigel Kersten wrote: Allowing a trailing hyphen doesn't seem like the most optimal solution though That doesn't matter so much. But, expanding the character set for variables without even

Re: [Puppet Users] 2.7.2rc changed the way variable names are parsed

2011-07-26 Thread vagn scott
On 07/26/2011 10:54 AM, Nigel Kersten wrote: I guess it's just a case of being a defensive shell programmer, but I've always considered curlies-with-double-quotes to be essential with all interpolated strings. A better way to handle it would be to make curlies mandatory, and then change

[Puppet Users] Re: Random error in the recovery catalog

2011-07-26 Thread ji...@goffaux.fr
Passenger is already installed, but was not configured to Puppet. I will do the migration and I will return here. Thank you! On 25 juil, 17:21, Peter Meier peter.me...@immerda.ch wrote: I have about 130 customer puppet. I left the default time interval. Are you still running with default

[Puppet Users] Re: ruby dsl, loading files from within the modules

2011-07-26 Thread Matt
I'll have to check that out that does seem to look a little better what I figured out before. What I did was this, which is just a different way. db_props = Puppet::Module.modulepath(scope.lookupvar(environment)).to_s + '/ module_name/conf/db.yaml' On Jul 26, 10:46 am, Nan Liu

[Puppet Users] Re: ANNOUNCE: Cloud Provisioner v0.6.0rc1 release

2011-07-26 Thread Jared Curtis
Any plans to support other cloud providers? Specifically VMWare? On Jul 21, 4:18 pm, Jeff McCune j...@puppetlabs.com wrote: We are happy to announce the first public release candidate of our Puppet Cloud Provisioner. This release is available for download at our Module

Re: [Puppet Users] ANNOUNCE: Cloud Provisioner v0.6.0rc1 release

2011-07-26 Thread James Turnbull
Scott Smith wrote: Gonna take a wild guess that there are plans to support other providers.. Correct! Regards James -- James Turnbull Puppet Labs 1-503-734-8571 Join us for PuppetConf http://www.bit.ly/puppetconfsig, September 22nd and 23rd in Portland, Oregon, USA. -- You received

[Puppet Users] undefined method `initvars'

2011-07-26 Thread Sean Carolan
We are seeing this error in our log files on some clients: puppetd[15068]: Could not run Puppet configuration client: undefined method `initvars' for #Puppet::Type::Package:0x2bbb4858 Where do I begin troubleshooting this? The client software versions are: ruby-1.8.5-5.el5_4.8.x86_64

Re: [Puppet Users] Re: ANNOUNCE: Cloud Provisioner v0.6.0rc1 release

2011-07-26 Thread James Turnbull
Jared Curtis wrote: Any plans to support other cloud providers? Specifically VMWare? Jared There are such plans. Obviously it's also open source so we'll add some further support and hopefully the community will chime in with other updates and enhancements that they require. Regards James

[Puppet Users] Best practices for confidential information -- fileserver path vs modules / template

2011-07-26 Thread scott
We keep our puppet configuration in a revision control system and are trying to facilitate developers using the same modules as production/ staging servers. We define a variable ($servergroup) as test/staging/production and use fileserver defaults from hostname to servergroup to generic. The

Re: [Puppet Users] Best practices for confidential information -- fileserver path vs modules / template

2011-07-26 Thread Nigel Kersten
On Tue, Jul 26, 2011 at 12:26 PM, scott mcco...@gmail.com wrote: We had sort of solved this problem with a custom fileserver mount point and a subrepo in our mercurial repo, but this only worked when referring to content as puppet://hostname/custommountpoint. As soon as we switched to

[Puppet Users] Re: Best practices for confidential information -- fileserver path vs modules / template

2011-07-26 Thread scott
On Jul 26, 3:43 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Tue, Jul 26, 2011 at 12:26 PM, scott mcco...@gmail.com wrote: We had sort of solved this problem with a custom fileserver mount point and a subrepo in our mercurial repo, but this only worked when referring to content as

Re: [Puppet Users] yum.puppetlabs.com re-do

2011-07-26 Thread Michael Stahnke
On Tue, Jul 26, 2011 at 3:21 AM, Chris Phillips ch...@untrepid.com wrote: This doesn't seem to have been done yet any progress? I'd like to look at a 2.7.2 upgrade fairly soon and there seems no properly consistent way to get the RPM's for this. Thanks Chris My planned day to work on

[Puppet Users] Re: puppetmaster SSL_Read

2011-07-26 Thread c.clifton
rm -rf'd the '/var/lib/puppet/ssl' dir on the client, regenerated/ signed the client cert. Still seeing the SSL_Read error with a a couple of these clients. Thanks On Jul 25, 12:57 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Mon, Jul 25, 2011 at 8:44 AM, c.clifton juice...@gmail.com wrote:

[Puppet Users] has_template() for choosing between templates

2011-07-26 Thread windowsrefund
All, I just wrote a function which allows me to choose between templates. This makes working with templates very similar to choosing between static files when passing multiple arguments to the source attribute. https://github.com/windowsrefund/puppet-tools Very interested in any feeback. Best,

[Puppet Users] Re: 2.7.2 fixing Lion issue?

2011-07-26 Thread Allister Banks
Hey Mr. Nielsen, If you were game, you could build a package with this makefile(which by default targets 2.6.9 by default, but can be modified like so: make pkg PACKAGE_VERSION=2.7.1) https://github.com/arubdesu/luggage-examples/tree/master/puppet Allister Banks @sacrilicious -- You received

[Puppet Users] Puppet RPM's

2011-07-26 Thread Douglas Garstang
Does anyone know where I can get the latest puppet, 2.7.1 as RPM's? The spec file that comes with the puppet 2.7.1 source is broken again, and only version 0.25.5 seems to be available via EPEL, which means that the website's assertion that you can get puppet as an RPM from there is somewhat