[Puppet Users] Reg : Cloud formation Script Execution using Puppet

2012-12-16 Thread krishna bhaskara rao
Hi, Can any one tell me as early as possible, is there any possibility to execute cloud formation script using puppet ?. Thanks in advance. With Regards, Krishna. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on th

Re: [Puppet Users] Question on modeling multiple services sharing configuration

2012-12-16 Thread Roman Shaposhnik
On Sun, Dec 16, 2012 at 6:41 AM, Jason Slagle wrote: > This is a pattern I feel augeas is awesome at. I just did a similar thing > for puppet.conf on my end. Yup. Using augeas is my #1 design choice ATM. Btw, have you had any experience with the XML lens? Those config files are XML :-( > Make t

Re: [Puppet Users] Question on modeling multiple services sharing configuration

2012-12-16 Thread Roman Shaposhnik
On Sun, Dec 16, 2012 at 1:39 PM, Tom Linkin wrote: > You may also want to consider looking at the concat module that R.I. Pienaar > has on github. It should allow you to easily do the fragments on a common > file like you described. > https://github.com/ripienaar/puppet-concat Yup. This is the on

Re: [Puppet Users] Spec test failure

2012-12-16 Thread Justin Lambert
Jeff, I finally got a few simple modules together to recreate this issue. A 'rake spec' will fail for the 'test' module. https://github.com/jlambert121/puppet-rspec-test Let me know if I did something incorrect. It seems to be the spec for a function will fail if the function depends on plug

[Puppet Users] Re: Python PIP and Centos 6

2012-12-16 Thread Joshua Vote
I alluded to hacky workarounds in the OP - the below is what I'm currently using. It seems to work OK in a very non portable manner file { '/usr/bin/pip': ensure => 'link', target => '/usr/bin/pip-python', } It would be great to hear if anyone knows of a preferred way to go about this. I'

Re: [Puppet Users] Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7

2012-12-16 Thread Alex Harvey
On Tuesday, October 2, 2012 9:28:09 AM UTC+10, Matthaus Litteken wrote: > > The puppet 3 gem requires hiera, whose latest version requires json, > which can be either json (a c extension), or json_pure (a ruby > implementation). If it is the c extension, make and gcc are required > to build th

Re: [Puppet Users] Question on modeling multiple services sharing configuration

2012-12-16 Thread Tom Linkin
You may also want to consider looking at the concat module that R.I. Pienaar has on github. It should allow you to easily do the fragments on a common file like you described. https://github.com/ripienaar/puppet-concat As for the way you expose the configuration properties as class parameters f

Re: [Puppet Users] Unit-Testing/test: recommended method?

2012-12-16 Thread Andreas Haerter
On 13.12.2012 20:42, Nan Liu wrote: > The blog posts you referenced are slightly out of date. I would start > with Branan's post on Puppet Labs spec_helper [2]. It's used in all > puppet labs modules. You can see it in action both in travis-ci [3] and > puppet labs public Jenkins CI [4]. > > [1] <

Re: [Puppet Users] Question on modeling multiple services sharing configuration

2012-12-16 Thread Jason Slagle
On 12/16/2012 01:09 AM, Roman Shaposhnik wrote: Hi! I would appreciate any advice on the best practices on how to model a collection of services that each has its own configuration file, but also share a common one. Now, the trouble is, that the common configuration file is not *really* just