diff options
author | varac <varacanero@zeromail.org> | 2013-10-21 09:28:20 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-10-21 09:28:20 +0200 |
commit | 7e341bb7ee3f89b14ee3033ccc1c8198559dc52a (patch) | |
tree | 4786e52e5a22e9b7e963d19254cf67449e233ea0 | |
parent | 16bd86bb9a6ecab1071b34bd6350ae0fe685dc11 (diff) |
faq: added puppet customization, and custom facts on the node
-rw-r--r-- | docs/platform/faq.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/platform/faq.md b/docs/platform/faq.md index 6c7e8db..2654ce8 100644 --- a/docs/platform/faq.md +++ b/docs/platform/faq.md @@ -2,6 +2,8 @@ @nav_title = 'FAQ' @toc = true +Puppet +====== Where do i find the time a server was last deployed ? ----------------------------------------------------- @@ -17,6 +19,30 @@ Log into your server and issue: grep -v '!ruby/sym' /var/lib/puppet/state/state.yaml | sed 's/\"//' | sort + +How can i customize the leap_platform puppet manifests ? +-------------------------------------------------------- + +You can create a custom module `site_custom`. The class `site_custom::setup` will get +included in the first part of the deploy process, and `site_custom` during the second part. +Of cause you can also create a different git branch and change whatever you want, if you are +familiar wit git. + +Facter +====== + +How can i see custom facts distributed by leap_platform on a node ? +------------------------------------------------------------------- + +On the server, export the FACTERLIB env. variable to include the path of the custom fact in question: + + export FACTERLIB=/var/lib/puppet/lib/facter:/srv/leap/puppet/modules/stdlib/lib/facter/ + facter + + +Etc +=== + How do i change the domain of my provider ? ------------------------------------------- |