summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2015-02-05 16:02:19 -0500
committerJames Shubin <james@shubin.ca>2015-02-05 16:02:19 -0500
commitffcf5860ed968e9f5a296f9a5c09f73e275de3a5 (patch)
treee020081c29b94dc61d2a6fc02a14cc321a573c84
parent25898caf81483fa8ea276cb1e2b9b6e08dd03821 (diff)
downloadpuppet-gluster-ffcf5860ed968e9f5a296f9a5c09f73e275de3a5.tar.gz
puppet-gluster-ffcf5860ed968e9f5a296f9a5c09f73e275de3a5.tar.xz
puppet-gluster-ffcf5860ed968e9f5a296f9a5c09f73e275de3a5.zip
Add FAQ about data in modules workaround from Chris Card.
Chris Card send me this doc FAQ patch, which I edited slightly and merged. Thanks!
-rw-r--r--DOCUMENTATION.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md
index 8e9ff24..0ea9f33 100644
--- a/DOCUMENTATION.md
+++ b/DOCUMENTATION.md
@@ -498,6 +498,21 @@ Puppet-Gluster has also been
[updated](https://github.com/purpleidea/puppet-gluster/commit/6dfaa8446e4287cf6f7f540158cde700fb95b830)
to fix the issue for users of brick_layout_chained.
+###Puppet master gives warning: "Unable to load yaml data/ directory!"
+
+You may see the message "Unable to load yaml data/ directory!" in
+_/var/log/messages_ on your puppet master. This error comes from the
+_ipa::params_ class. The _ipa::params_ class expects the puppet-module-data
+module to read data from the ipa/data directory, and this message indicates
+that the module-data module is not installed properly. Most users do not have
+this issue, but if you do, here is a workaround:
+
+* Run _puppet config print libdir_ to find the puppet libdir (e.g. /var/lib/puppet/lib).
+* Run _mkdir /etc/puppet/modules/module\_data_.
+* Copy the contents of the puppet-module-data directory into _/etc/puppet/modules/module\_data_.
+* Run "ln -s /etc/puppet/modules/module\_data/lib/hiera _<libdir>_/hiera".
+* Restart the puppet master.
+
###Will this work on my favourite OS? (eg: GNU/Linux F00bar OS v12 ?)
If it's a GNU/Linux based OS, can run GlusterFS, and Puppet, then it will
probably work. Typically, you might need to add a yaml data file to the _data/_