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 =
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
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
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:
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
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
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
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