Hi,
I would like to be able to influence which files hiera reads from with
in hiera. Here is a minimal test:
$ cat hiera.yaml
---
:backends:
- yaml
:yaml:
:datadir: "/home/e13itfe/hieratest/yaml/"
:logger: console
:hierarchy:
- "0_harddefaults"
- "6_%{::redir}"
- "9_softdefaults"
$ head
Am 07.09.2016 um 13:50 schrieb Marc Haber:
> I would like to be able to influence which files hiera reads from with
> in hiera.
You can use facts in :datadir:, like for example:
:datadir: '/etc/puppetlabs/code/environments/%{::environment}/hiera'
While the :hierarchy: stays the same, we checkou
Hello,
I am upgrading my puppetservers (ubuntu 14.04) from 2.4.0 to 2.5.0.
Upgrading process it's fine, but after it whenever I connect a node
(puppet-agent 1.5.3 or puppet-agent 1.6.2) I'm having a lot of messages
about creating resources that are actually defined as exported for that
node
On Tuesday, September 6, 2016 at 12:22:03 PM UTC-5, Matthaus Litteken wrote:
>
> [...] In answer to your second question, rpmnew files are for when a
> configuration file has been changed by the user and a package update
> changes it. Because yum/rpm can't safely replace the configuration file,
On Tuesday, September 6, 2016 at 6:03:33 AM UTC-5, Berkeley wrote:
>
> I'm doing a refactor of my puppet code with the profiles+roles design
> pattern. I'm encountering what should be a simple problem, but I'm having
> trouble finding an answer.
>
> With roles/profiles, you instantiate classes
Hi,
my 2 cents below:
2016-09-04 22:32 GMT+02:00 Berkeley :
> [...]
>
> :hierarchy:
> - "fqdn/%{clientcert}"
> - "env/%{environment}"
> - "roles/%{role}"
> - "os/%{osfamily}
> - common
>
>
> I should add that I'm very comfortable writing ruby code, but for
> something so basi
Hi,
I would like to know if it's « in the state of the art » to include inside
a role another role.
Or inside a role I should ONLY include profile.
I've got a CMS running in one server. I've two other server one for the
dev, on for the sandbox.
So I got a role for the first CMS. For the other t
On 09/07/2016 05:19 AM, Angel L. Mateo wrote:
> Hello,
>
> I am upgrading my puppetservers (ubuntu 14.04) from 2.4.0 to 2.5.0.
> Upgrading process it's fine, but after it whenever I connect a node
> (puppet-agent 1.5.3 or puppet-agent 1.6.2) I'm having a lot of messages
> about creating resou
I would suggest against this. Each role should be atomic and independent.
If I change my role, and you were depending on the profiles it included,
you might be negatively affected.
However, it's about your workflow and if you have roles that are
profile-roll ups that rarely change, perhaps it fits
John,
Thanks for the correction. I definitely mixed up my words while responding
here.
On Wed, Sep 7, 2016 at 5:54 AM, jcbollinger
wrote:
>
>
> On Tuesday, September 6, 2016 at 12:22:03 PM UTC-5, Matthaus Litteken
> wrote:
>>
>> [...] In answer to your second question, rpmnew files are for when
Having just installed zleslie/pkgng in order to ma nage repositories on my
FreeBSD hosts (which in turn required and installed puppetlabs/stdlib), I'm
now getting the following error from my puppet runs:
% sudo puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving plu
On 07/09/16 20:58, Matthew Pounsett wrote:
Having just installed zleslie/pkgng in order to ma nage repositories on
my FreeBSD hosts (which in turn required and installed
puppetlabs/stdlib), I'm now getting the following error from my puppet runs:
% sudo puppet agent -t
Info: Using configured en
On Wednesday, 7 September 2016 19:11:04 UTC-4, Henrik Lindberg wrote:
>
>
> The call to `find` is in Ruby, not in puppet. There are numerous calls
> to find in the Ruby code base.
>
Yeah, all the stuff I was looking at was ruby. It hadn't occurred to me to
check the puppet codebase itself th
Hi Dirk,
On Wed, Sep 07, 2016 at 02:00:46PM +0200, Dirk Heinrichs wrote:
> Am 07.09.2016 um 13:50 schrieb Marc Haber:
> > I would like to be able to influence which files hiera reads from with
> > in hiera.
>
> You can use facts in :datadir:, like for example:
>
> :datadir: '/etc/puppetlabs/code
14 matches
Mail list logo