Displaying 20 results from an estimated 4000 matches similar to: "The Future - ENCs vs Hiera?"
2013 Sep 18
1
ENC paramater interpolation in ENC, and inline templates
I''m in the process of rolling out a new homegrown ENC (we''ve decided on
using an ENC over hiera; I know it''s not the way a lot of you are going,
but it''s right for us) and am running into some issues with variable
interpolation in ENC data.
To give a concrete example, I''m using modules to configure puppetdb,
puppet master, and puppet clients. So,
2013 Dec 02
1
Class parameter flexibility with ENC, hiera or both
Dear puppetteers,
I am having a philosophical question about parametrized classes.
When building modules, one wants to be as flexible as possible, to try
to target as many puppet flavors as possible. This is our target:
- Foreman users, using foreman as an ENC with smart variables (or
potentially any other ENC, but I would say this is the most widespread one).
- Pure Puppet''s site.pp
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have:
All my hosts are the* same OS.*
All my host are in the* same puppet environment,* so I cannot use
%{environment}
I have a module that sets all the *basic* functionality for the OS,
resolution, authentication, security, packages, etc
I have a module for each application hosted.
At the moment all the ''data'' is in Puppet, mostly in parametrised
2012 Aug 09
1
hiera scope and hiera-foreman
Hey all,
I''ve been messing around with the hiera-foreman backend to see if it would
let me migrate to hiera and use foreman and an ENC.
https://github.com/torrancew/hiera-foreman
It works by querying each node''s yaml file from foreman. Currently this
code works when called from the hiera command line with the -m (mcollective
option). It uses the mcollective facts to pull
2012 Dec 21
1
Hiera and 'clientcert' fact not working :(
Morning All
I''m trying to use Hiera with Puppet 3.0 to streamline some of my module
configuration...
However I''m having issues using the ''*%{::clientcert}*'' variable as part of
the hierarchy...
Currently, my *hiera.yaml* file looks like:
---
:backends:
- yaml
- json
:yaml:
:datadir: /etc/puppet/hieradata
:json:
:datadir: /etc/puppet/hieradata
2013 Jan 30
1
Hiera parameter lookup, nesting variables and Puppet 3
Hi,
I''m trying to reconcile the advice in the Puppet 3 class doc with our
current use of Hiera. We currently retrieve variables from Hiera in one big
collection while the Puppet 3 doc seems to indicate storing variables
without the collection.
For example, we have a module to manage a log indexer. In its init.pp it
says:
class log_indexer(
$log_indexer_conf =
2013 Jun 24
2
Raziel - a partial encrypted Hiera backend
Hi everyone,
In my environment, we heavily rely on Hiera to parametrize our modules.
Like the Puppet code, I would like to version-control the Hiera .yaml
files. However committing passwords in plain text to GitHub seems really
odd.
So I would like to make you aware of one of my side-projects called Raziel.
https://github.com/jbraeuer/raziel/
http://bit.ly/raziel-slides
While there is one
2013 Apr 11
0
I want in the future HIERA-2
I want in the future HIERA-2 to create a file like classes.txt,
which clearly would have seen the use of the configuration on the node.
Regards,
Andrew
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post
2012 May 22
0
Announce: Hiera 1.0.0rc3 Available
Hiera 1.0.0rc3 is a feature release candidate designed to accompany Puppet 3.0.
Changes to Hiera since 1.0.0rc2 were mainly to ease packaging and
improve testing.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-1.0.0rc3.tar.gz
It includes contributions from the following people:
Kelsey Hightower and Matthaus Litteken
See the Verifying Puppet Download section at:
2012 Dec 20
0
Announce: Hiera 1.1.2-rc2 available
Hiera 1.1.2-rc2 is a release candidate in the 1.x series with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.2-rc2.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at http://rubygems.org/gems/hiera or by using
the --pre option to gem install.
Debs are available at https://apt.puppetlabs.com
Mac package
2013 Feb 22
3
puppet could'nt find hiera even when hiera gem is installed
Hiera was properly working in my environment. But puppet was looking at old
version even when I have the latest hiera gem installed. So I could''nt
use json backend. But puppet is not looking at my latest hiera gem. Not
sure when went wrong here.
Scenario:
I have installed hiera couple of months back. So the gem was installed
under
/opt/puppet/lib/gems/1.8/gems/hiera-0.3.0
2012 Jul 01
1
puppet-hiera used with Parameterised class
Hi Puppet Users,
For some bizzare reason I am unable to use hiera-puppet with a
parameterised class.
The output is:
----------------------------
root@hiera hieratest/manifests# puppet apply -e "include hieratest"
Error: undefined method `catalog'' for #<Hash:0xb6c53d00> at line 1 on node
hiera.localdomain
Wrapped exception:
undefined method `catalog'' for
2012 Mar 14
2
hiera on puppet 2.6.12
Hi,
I''m trying to use standard hiera on puppet (gentoo). I simply did
# gem install hiera
Then setup /etc/hiera.yaml
When i call the hiera() function in puppet i get
"Error 400 on SERVER: Unknown function hiera at /data/puppet/manifests/
site.pp:27"
Is there a step that I''m missing?
BTW. standalone hiera works fine.
--
You received this message because you
2012 Sep 30
22
in-module data with hiera
hello,
Till now hiera-puppet was the only way I know that allowed hiera data to
be loaded from inside a module.
The problem with this was that it was still subject to the site specific
hierarchy which means a module author had a pretty hard time to store
his data in a proper way in his module thus perpetuating the use of the
params classes pattern.
Now that Puppet 3 is out and it''s gem
2012 Jul 23
1
Hiera problem: Can't convert Symbol into String
All,
I have found very few references to this error so I''m guessing I must be
doing something wrong. I have just started using hiera and am trying to use
it in the simplest way possible, I have a class that looks like this:
class app_users2($compresslogs = hiera(''compresslogs'')) {
2013 May 08
1
Problem with hiera config
Hi all,
I''m trying to work with hiera database in puppet and i''m having problems
using %{variables} because they don''t get the values and i don''t know why.
file hiera.yaml:
cat hiera.yaml
---
:backends: - yaml
- puppet
:hierarchy:- nodes/%{domain}/%{hostname}
- os/%{operatingsystem}/%{operatingsystemrelease}
-
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to
accompany Puppet 3.0 and Hiera 1.0.
It includes Puppet functions for hiera and also the puppet backend for
hiera lookups.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz
* Apt and yum development repositories
* Apple package
2014 Jan 29
0
hiera-eyaml-gpg gives strange error
Hi,
I'm trying to store some encrypted values in hiera, using either
hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption)
works fine, the agent gives the following error message when using
hiera-eyaml-gpg:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Error from DataBinding 'hiera' while looking up 'the_secret_field':
can't convert
2012 Mar 25
2
Hiera: Bug with false booleans
Hi,
I''ve just run into a small glitch with Hiera.
I have a YAML file that has a definition like this:
puppet_agent_splay: false
but the run fails because of
"err: Could not find data item puppet_agent_splay in any Hiera data
file and no default supplied at
/puppet/modules/puppet/manifests/agent/config.pp:6 on node
slave1.local"
Digging into this it turns out that lookup in
2013 May 07
2
hiera not using non-root user custom fact
Hi,
Before I begin, my environment consists of a standard master/client config with the exception that all my clients run under a non-root user. I have to use non-root so I can''t simply restart under root to fix the problem.
Master -> 3.1.1
Client -> 2.7.17
using mostly the hiera() function in my classes.
problem:
I have run into an issue today where my custom fact is not