As far as I understand this is not really possible. This is because you don’t
have control over the order of compilation of resources into the catalog. The
compiler first evaluates all classes then moves on and eventually has a step
that evaluates all collections and so on until the catalog is
As a general rule you shouldn't have multiple profiles pulling the same
data from hiera.
Treat profiles like lego blocks that you can compose as needed.
In this case create a ssl_certs profile who's role is to pull in hieradata
via standard parameters. This profile has the responsibility to get t
You got it. Note that the arrow operators do exactly the same thing as the
before and require metaparameters so you could have add one of those to one
of the resources. Personally when a manifest has resources that are more
serial or scripty I prefer the obvious expression adding a chain of ->'d
re
Because puppet is declarative you can only have one instance of a resource
with a particular title in the catalog. This means you cannot have two
instances of a class in the catalog (though you can include a class
multiple times but it only exists in the catalog once)
Luckily you do not have two i
There are several ways dynamic environments can be helpful here is one I've
used to great effect.
Have three primary branches production, staging and development. (or
release, snapshot and master. The branches themselves don't matter)
Ensure that all production nodes use the production, staging
IMHO, the changes made to the language in 4.x allows for better and more
complete modeling of systems. Yes you have more 'things' to learn, the
types/lookup systems for example but they are relatively simple to
understand. Look at your ntp example, I image it was the specification of
Types that loo
I'm running OSS 3.8 using r10k 1.5.1 and ruby 1.9.3p551 (2014-11-13)
[x86_64-linux] Brightbox
Error from puppet run.
Error: Could not update: Execution of '/usr/bin/gem install -v 1.5.1
--no-rdoc --no-ri r10k --no-ri --no-rdoc' returned 1: ERROR: Error
installing r10k:
fast_gettext requires R
The problem is we want regular runs to submit storeconfigs, with special
runs disabling certain functionality (via overridden facts).
In our case our application orchestration module uses exported resources
and resource collection heavily. Having our puppet masters submit a
catalog to puppetdb
I have the need to run puppet in a 'stripped down' state, essentially
turning off a large portion of an orchestration module. The problem occurs
when puppetdb receives a catalog that does not have any of the exported
resources that the orchestration module would generate. This obviously
wreak
Gosh sorry, would be something like existant_class.
On Wednesday, January 7, 2015 12:28:09 PM UTC-7, Felix.Frank wrote:
>
> On 01/07/2015 08:18 PM, Matthew Kennedy wrote:
>
> So changing this to:
>
> if ($profile == 'existantclass') {
> include &q
ad a rocky but ultimately agreeable relationship.
On Tuesday, January 6, 2015 4:49:04 PM UTC-7, Felix.Frank wrote:
>
> On 12/30/2014 09:05 PM, Matthew Kennedy wrote:
>
>
> if (defined("profile::${separator}::${profile}")) {
> include "profile::${separat
Submitted issue https://tickets.puppetlabs.com/browse/PUP-3799
On Tuesday, December 30, 2014 10:35:01 AM UTC-7, Matthew Kennedy wrote:
>
> I have code that pulls in profiles.
>
> if (defined("profile::${separator}::${profile}")) {
> include "pr
Well, I did a downgrade to 3.7.2 and this issue no longer appears. It
appears there is a regression on 3.7.3. I'll submit a bug.
On Tuesday, December 30, 2014 10:35:01 AM UTC-7, Matthew Kennedy wrote:
>
> I have code that pulls in profiles.
>
> if (defined("profile::$
I have code that pulls in profiles.
if (defined("profile::${separator}::${profile}")) {
include "profile::${separator}::${profile}"
}
$separator will be something like 'app' or 'role'
$profile will be something like 'blah' or 'blah_app'
The profile classes looks like
class profile
I have a class parameterized class that looks similar to...
class blahapp::app (
$sor_host_ip = hiera('blahapp::app::sor_host_ip'),
$rep_host_ip = hiera('blahapp::app::rep_host_ip',
$sor_host_ip)
) {
if !($rep_host_ip) {
fail("Unable to set rep_host_ip. sor_host_
We use hiera-eyaml... This let's us selectively encrypt keys (passwords)
and let everything else remain plaintext.
We use git and have very little concern as long as we keep our private key
secure.
We also publish our public key so others can encrypt sensitive data
themselves. Because we have sev
It is there, just where Eric said it was. No need to get upset.
It might be helpful to mention where the time notation format can be found
in the sections where it is used. Would preempt issues like this in the
future.
Matt
On May 28, 2013 1:46 PM, "Tim Schaefer" wrote:
> Item 175: runinterval
Why are there two separate repos, especially when you are unable to install
a package from main without the other?
On May 25, 2013 11:52 AM, "Arnaud Gomes-do-Vale"
wrote:
> Eric Sorenson writes:
>
> > We'll do a better job in the future of
> > (a) pointing out the necessity of the dependencies r
ies:
> puppet : Depends: puppet-common (= 3.2.1-1puppetlabs1) but it is not going
> to be installed
> E: Unable to correct problems, you have held broken packages.
> at /tmp/vagrant-puppet/modules-0/puppet/manifests/init.pp:39
>
>
> Chris
>
> On Wednesday, 22 May 2013 22:53
It seems that the puppetlabs apt repository is broken with the release of
these packages.
When trying to install puppetmaster-passenger I now get this was
working 2 hours ago.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are u
When trying to install puppetmaster-passenger from puppetlabs apt repo I
get... was working 2ish hours ago (before the 3.2 release)
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required
21 matches
Mail list logo