Displaying 20 results from an estimated 5000 matches similar to: "creating file locations from hiera"
2012 Oct 26
5
hiera broken in puppet-3
is anybody using hiera with puppet-3 and per-module hierarchy?
it seems calling_module/calling_class is entirely broken now.
see: http://pastebin.com/CfbW5Kcu and #16730 and PR1214 (which only fixes
backend_puppet i think).
anyone has some unofficial patches? because i''m just stuck in migration :(
please don''t advise me to use data bindings as there is no way to use them
in
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
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 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 Mar 05
1
New hiera backend for mysql
Hi all,
Over the weekend I came up with a new backend for hiera for looking up
configuration values directly from a MySQL database that may be useful
to some....
http://www.craigdunn.org/2012/03/introducing-hiera-mysql-mysql-backend-for-hiera/
http://github.com/crayfishx/hiera-mysql
Regards
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
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 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
2012 Apr 26
2
Optional values from Hiera (no default value)
Hello Puppet List,
I''m writing a module that should take an optional value and I want to
get it (amongst other places) from Hiera.
$repository = $::java_repository ? {
undef => hiera(''java_repository'')
default => $::java_repository,
}
But this fails because Hiera raises an error if it can''t find a value.
I later want to do something like this:
2012 Nov 27
1
Right way to implement "roles" in hiera/puppet
I''m looking to implement a hiera backend for our Puppet installation, as we
routinely deploy systems that are of varying hardware, OS, and which may
have multiple roles they fill.
I''ve figured out, I think, how to handle the OS question through facter,
but implementing server roles isn''t quite so clear. I want to maintain that
information on the server, not on the
2012 Aug 23
2
debugging hiera
Is there a way to check which data file(s) hiera is attempting to parse? I
tried "puppet -d" with no luck. I''m wanting to select the variable
"dnsservers" based on a custom fact.
---
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find data item dnsservers in any Hiera data file and no default
supplied at
2013 Jun 11
2
hiera data bindings and template()
Hi,
I''m using Puppet 3.2.1 and heavily relying on hiera data bindings.
I have the following situation:
class software (
$my_content = undef,
) {
file { ''/path/to/file'':
content => $software::my_content,
}
}
in hieradata/software.yaml (hiera.yaml seems ok):
software::my_content: template(''mymodule/myfile.erb'')
With this configuration I
2012 Aug 22
2
Hiera, OSSEC and per-node stuff?
Hi.
I have an interesting use case.
OSSEC is security tool based on server-client architecture. Server
generates keys for agents, and every agent has different key.
Now I want to distribute these keys via puppet. I''ve come accross hiera
and installed it, and it works superbly, but how to store per-node key
in hiera?
This is my idea:
hiera,yaml:
---
:hierarchy:
-
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'')) {
2012 Nov 28
2
[hiera] Hierarchy modification takes long time to be effective
Hello,
I''ve something strange :
When I modify my hierarchy in my hiera.yaml, it can take up to several
hours, for the modification to work.
eg : I create a subdir in my hieradata, move all the concerned files into,
modify my hiera.yaml
> from :
> :hierarchy:
> - %{operatingsystem}
>
to :
> :hierarchy:
> - *os/*%{operatingsystem}
>
but the changes
2012 Oct 19
3
Using Hiera with Parameters set for the Puppet Node
Is it possible to have Hiera look at a key set for the node first, before
looking at other items in the hierarchy?
In particular - I''m using Puppet Dashboard and am setting keys & params for
there, so I would like for any value set there for a node to be used over
another item in the hiera hierachy. What value would I have to specify in
the hierarchy for this, if it is possible?
2012 Jan 13
1
Hiera - Any advice on getting started?
my data is getting unwieldy . . . any advice on migrating to hiera?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
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
2012 Aug 14
3
Testing Hiera Lookup with Puppet Master
Hello,
Is there an easy way to test hiera lookup for a node? A node is not getting
the value I expect from Hiera and I want a way to test this.
I noticed that `hiera` has an option called `-i` to use the Puppet
inventory service. With the latest (RC4 I believe) of Hiera I''m getting the
following when I try to use that though:
Puppet inventory service lookup failed: NoMethodError:
2012 Jul 19
1
Hiera and The Forge
Is there any metadata in the forge that would allow me to search if the
module is built with Hiera support? I am just now getting around to
running smoothly, and it would be great to be able to see what you other
masters have designed.
Thanks,
Tony
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web
2013 May 20
2
hiera-gpg and 400 error
Hello
I am setting up servers with a puppetmaster and various nodes, all running
Debian Wheezy with the Puppet 3 packages from Puppetlabs. The Puppetmaster
is configured with Passenger and Apache.
I am trying to use hiera-gpg to encrypt passwords, I have it installed and
have created a key as described here:
http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hiera-and-gpg/
On