<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Puppet%3A_Setting_up_heira_on_RHEL_7.0</id>
	<title>Puppet: Setting up heira on RHEL 7.0 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Puppet%3A_Setting_up_heira_on_RHEL_7.0"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Puppet:_Setting_up_heira_on_RHEL_7.0&amp;action=history"/>
	<updated>2026-05-05T01:42:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Puppet:_Setting_up_heira_on_RHEL_7.0&amp;diff=8481&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;== Create the hiera Config File ==  File: /etc/puppet/hiera.yaml - symlink to /etc/heira/heira.yaml  &lt;syntaxhighlight&gt; --- :backends:    - yaml   :hierarchy:   - &quot;%{::timezone}&quot;   - &quot;%{:...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Puppet:_Setting_up_heira_on_RHEL_7.0&amp;diff=8481&amp;oldid=prev"/>
		<updated>2015-07-07T11:33:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Create the hiera Config File ==  File: /etc/puppet/hiera.yaml - symlink to /etc/heira/heira.yaml  &amp;lt;syntaxhighlight&amp;gt; --- :backends:    - yaml   :hierarchy:   - &amp;quot;%{::timezone}&amp;quot;   - &amp;quot;%{:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Create the hiera Config File ==&lt;br /&gt;
&lt;br /&gt;
File: /etc/puppet/hiera.yaml - symlink to /etc/heira/heira.yaml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
:backends:&lt;br /&gt;
   - yaml&lt;br /&gt;
 &lt;br /&gt;
:hierarchy:&lt;br /&gt;
  - &amp;quot;%{::timezone}&amp;quot;&lt;br /&gt;
  - &amp;quot;%{::osfamily}&amp;quot;&lt;br /&gt;
  - &amp;quot;%{::network}&amp;quot;&lt;br /&gt;
  - common&lt;br /&gt;
 &lt;br /&gt;
:yaml:&lt;br /&gt;
  :datadir: /etc/puppet/hieradata/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the lines to the manifests ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;node default {&lt;br /&gt;
     include  sudo&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
hiera_include(&amp;#039;classes&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Create the data directory ==&lt;br /&gt;
&lt;br /&gt;
Create the folder defined in the hirea.yaml file.  In that folder create a file for each fact you want - for example for the OS Redhat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@puppet ~]# cat /etc/puppet/hieradata/Redhat.yaml &lt;br /&gt;
---&lt;br /&gt;
sshservicename: sshd&lt;br /&gt;
&lt;br /&gt;
classes:&lt;br /&gt;
        -base&lt;br /&gt;
        -security&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>