Re: [Puppet Users] Version Controlling Puppet Configs with svn

2013-05-05 Thread Throwe, Jesse
You dont rely on your SCM to define ownership. That is explicitly defined in your puppet declaration. This way the file can be owned by anyone (or nobody) and its placed on the server with the proper mode and ownership. file { /tmp/myfile: owner = 'user', group = 'user', mode = '0600', source =

Re: [Puppet Users] New to hiera

2013-05-05 Thread Larry Fast
Hi Josh, Here's what we found. I would love to hear about other approaches because we're still debating and building out our service. 1. Yes it's a great way to escape from parameterized classes. If you ever needed to 'include' a class in two places, parameterized classes makes this difficult

Re: [Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-05-05 Thread Larry Fast
What about the larger processes involved in incremental updates? Eg. sequencing your updates so that the service keeps running. I'm considering using Jenkins to orchestrate sequencial activity. -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Retrieve scoped resource defaults from class method in custom type

2013-05-05 Thread Ryan Uber
Hi Stefan, My apologies that I did not get back sooner. What you are suggesting yields the same results I was seeing before. Let me try to explain better: Using no modules (just standard puppet types), I can do this: --- Package { notify = Exec[package-changed] } exec { package-changed:

Re: [Puppet Users] New to hiera

2013-05-05 Thread Drew Michel
Hi Larry, I'm curious to your opinion on point # 3, are you talking about OS packages or your organizations app version? If the latter, I was thinking of using hiera, maybe with a backend other than yaml such as redis, to store the version of the app, that way like you said it could be used in

[Puppet Users] Re: How to refer to common variables across multiple modules?

2013-05-05 Thread Drew Michel
I've found that using Hiera for this type of problem work's really well. Hiera is integrated into Puppet 3.0+ https://github.com/puppetlabs/hiera Drew On Thursday, May 2, 2013 4:54:47 PM UTC-4, rogerl...@gmail.com wrote: We need to refer to common variables across multiple modules. For

Re: [Puppet Users] New to hiera

2013-05-05 Thread Josh Endries
Thanks for the replies! While I don't like the idea of reaching in to a class to set its variables, given the design flaws in Puppet with parameterized classes, I agree that this is a strength of Heira (so far, the only one, IMHO). Maybe this irks me because I'm also a developer who started with

[Puppet Users] [ANN] puppet-cleaner 0.3.0 released

2013-05-05 Thread Gerardo Santana Gómez Garrido
This release adds a new option for ensuring that resource titles are quoted. puppet-cleaner is a set of tools that help keeping puppet DSL code closer to puppet style guide. Two transformations are done by default and are not optional: the use of ${} for variable interpolation in strings and