search for: hiera

Displaying 20 results from an estimated 231 matches for "hiera".

Did you mean: hera
2012 Jul 10
9
Hiera and environments
Hey there, I''m new to hiera and I'' m looking to configure it to use multiple environments. I''m able to query hiera keys from using the hiera CLI, however my clients seem to be having problems identifying the look up variables. *On the puppet master, CLI query* [root@puppet-dev puppet]# hiera -a sshpackag...
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 mo...
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...
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 being passed to hiera in order to determine which hiera file to use (see hierarchy). The custom fact is definitely defined what it should be but its almost as if it has a differently scope then say a ro...
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time reading over the puppet hiera docs and setting everything up, but when I run puppet agent it just seems to ignore the hiera setup completely. Both the puppet master and agent nodes have exactly the same versions of puppet and hiera (installed via the official puppet APT repository). I''ve laid out my hiera files lik...
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...
2013 Jul 25
5
Heria, Facts, and Puppet
So something doesn''t look right for me when running puppet apply -e ''include ...'' for looking heria via facter fact. I have hiera configure as this, :backends: - yaml :hierarchy: - common - ''%{env_name}'' :yaml: :datadir: /var/lib/hiera/data and, a file envXX.yaml store in the datadir, and I can run *hiera xyz env_name=envXX* to get the the value of abc associate with...
2013 Feb 22
3
gem packages installed directory on puppetmaster
What is the right path for ruby gems on puppet master. 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 /opt/puppet/lib/gems/1.8/gems/hiera-puppet-0.3.0 Later when I updated to new version of hiera then it installed (via gem install) under /opt/puppet/lib/gems/1.8/gems/hiera-1.1.1 /opt/puppet/lib...
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 wor...
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 m...
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...
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}...
2012 Aug 14
4
hiera command line performance
Hi everyone, The hiera command line program (version 0.3.0) is currently taking around 2 seconds per invocation. This seems quite slow to me, but is probably not an issue for most users. We have a number of legacy machines that for one reason or another have not been puppetised yet, and probably won''t be an...
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
...} 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 classes in site.pp. What I want to get is a hiera set-up that allows me to use this structure: :hierarchy: - global # source of application names (classes? modules?) and environments list - basic # data for the basic class - prod/%{application}/%{hostname} # hostname files for specific data - prod/%{application}/%{env}...
2012 May 14
2
defaults for virtual defined resources from hiera.
Hi, This follows on a bit from the previous thread ''trouble with hiera and puppet defines'' [1] Up to now I''ve had a large file of virtual resources and then enabled them on demand on various services. The very standard. @metric{''1234: one => 1 two => [1,2] } @metric{''abcd'': one => a, tw...
2012 Dec 17
3
Rspec with rspec-hiera-puppet
I''ve been working on getting spec tests on all of my modules and am down to ones that use hiera and don''t have any reasonable defaults. It looks like there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that is designed to fill this need, but for the life of me I cannot make it work. FriedBob helped out on the IRC channel some with his solution of including a pa...
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 t...
2013 Aug 29
10
Hiera and hiera-gpg
I am having a bit of difficulty implementing hiera-gpg; particularly with accomplishing the deencryption in my manifests. Can anyone either provide a simple example or point me to a good resource? I have searched alot and am still struggling. Any help would be very appreciated! Thanks! Bee -- You received this message because you are subscrib...
2012 Jul 09
3
puppet 3.0.0 and hiera
Hi, If I have understood it correctly, puppet 3.0.0 will include / require hiera. In order to add support for hiera directly in Geppetto I downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera functions, but they where not there. What is the expected packaging going to be when 3.0.0 is released? Where should I expect the hiera "parser functions"...
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'')) { #Setup Cronjob for compressing app l...