Displaying 20 results from an estimated 900 matches similar to: "Heria, Facts, and Puppet"
2013 Jul 30
2
Vagrant Puppet Provision VM
Hi All,
I am using Vagrant to provision a box (CentOS 6.x) with puppet
provisioner. The box is built by using veewee, with ruby 1.8.7 and puppet
3.2 iinstalled, and the vagrant environment layout is,
.
├── Gemfile
├── Gemfile.lock
├── Rakefile
├── Vagrantfile
├── definitions
│ └── centos-6.3.minimal
├── hiera
│ └── data
├── iso
│ ├── CentOS-6.3-x86_64-minimal.iso
│ └──
2013 Sep 16
10
Unable to specify hierarchy for data-in-modules
Hello,
I''m running Puppet agent stand-alone on Windows.
I got data-in-modules working. However, no matter what I put into the
module hiera.yaml,
I can only override the defaults from common.yaml by osfamily (and not,
e.g., by environment).
In the setup below the following command outputs:
>puppet apply --binder -e "notice lookup (''my_key'')"
2007 Apr 24
2
Passing environment to mongrel apps
Hi guys,
I''m looking for a way to pass environment variables to my Rails app
via Mongrel. I want to conditionally execute code in environment.rb
based on these environment variables.
Background:
1. I have some special stuff I want to do when my Rails app first starts
2. So, stuff it in environment.rb in after_initialize, right?
3. Not this time. I have several other background
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 sshpackages environment=development
["openssh",
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 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 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
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
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
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 anytime soon, so I have a
somewhat clever script that, for each of these
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
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
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 subscribed to the Google Groups "Puppet Users"
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,
two => [b,c]
}
and
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
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 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" to be located?
2012 Dec 03
14
hiera default values for a variable
Hi everyone,
I currently have a giant file with default variables I use in a lot of my
modules and I override those at the node level if I need to.
I thought I would give porting that data into a hiera setup.
I worked out how to specify my data sources and started to make a go at
moving some of my variables in the default data file.
I thought heira would be smart and set a variable to undef if
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
Hi all!
I''m trying to setup a puppet module for sudo that will write multiple files
with separate data for each file, all dependent on the hiera hierarchy.
Here''s the relevant portion of my hiera.yaml:
> :hierarchy:
>
> - "datacenter/app/role/node/%{::clientcert}"
>
> - "datacenter/app/role/%{::server_role}"
>
> -
2012 Mar 16
3
Simple hiera-puppet usage
Hi all,
I am trying to understand how does hiera puppet backend work, so I created the
following example:
hiera.yaml has only:
---
:backends:
- puppet
---
And the node:
node ''testnode'' {
$variable = ''kk''
$thing = hiera ("variable")
notify { "note: $thing": }
}
I don''t want to use the yaml backend for now, just want to