From 7e341bb7ee3f89b14ee3033ccc1c8198559dc52a Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 21 Oct 2013 09:28:20 +0200 Subject: faq: added puppet customization, and custom facts on the node --- docs/platform/faq.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'docs/platform/faq.md') 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 ? ------------------------------------------- -- cgit v1.2.3