From 0e5baad93ff3ac538dda50d6761761b7933435fe Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Fri, 30 Aug 2013 09:14:28 +1200 Subject: [PATCH] Document hiera setup a bit more comprehensively. I had to ask, therefore we should record it :). Change-Id: I321aa77df0037ff52a14e2bee81b147c312d08d6 --- doc/source/puppet.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/puppet.rst b/doc/source/puppet.rst index b914cb1173..451424c71a 100644 --- a/doc/source/puppet.rst +++ b/doc/source/puppet.rst @@ -65,7 +65,11 @@ that OpenStack Infrastructure uses are ``production`` and ``development``. ``production`` is the default is and the environment used when nothing else is specified. Then the configuration needs to be placed into common.yaml in ``/etc/puppet/hieradata/production`` and ``/etc/puppet/hieradata/development``. -The values are simple key-value pairs in yaml format. +The values are simple key-value pairs in yaml format. The keys needed are the +keys referenced in your ``site.pp``, their values are typically obvious +(strings, lists of strings). ``/etc/puppet/hieradata/`` and below should be +owned by ``puppet:puppet`` and have mode ``0711``. The actual ``common.yaml`` +file should have mode 0600. Adding a node -------------