summaryrefslogtreecommitdiff
path: root/pages/docs/platform/details
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-04-26 22:23:37 +0200
committervarac <varacanero@zeromail.org>2015-04-26 22:23:37 +0200
commit783be829afc2791c71488068f166f38f8a39a9d3 (patch)
tree783e826a357a1e1fe22a34f3c9324dddaca3e255 /pages/docs/platform/details
parentb9454295ee7a13580e77ff984ed87e7db6d3683e (diff)
Explain how to do faster partial platform deploys
Diffstat (limited to 'pages/docs/platform/details')
-rw-r--r--pages/docs/platform/details/under-the-hood.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/pages/docs/platform/details/under-the-hood.md b/pages/docs/platform/details/under-the-hood.md
index dcbddb3..4687c44 100644
--- a/pages/docs/platform/details/under-the-hood.md
+++ b/pages/docs/platform/details/under-the-hood.md
@@ -21,6 +21,16 @@ You can pass any combination of tags, i.e. use
* "--tags leap_service": Only deploy service(s) (useful for debugging/development)
* "--tags leap_base": Only deploy basic configuration (again, useful for debugging/development)
-See http://docs.puppetlabs.com/puppet/2.7/reference/lang_tags.html for puppet tag usage.
+### Doing faster partial deploys
+
+If you only change a tiny bit on the platform puppet recipes, you could achieve a
+*much* faster deploy specifying the resource tag you changed.
+i.e. you changed the way rsyslog config snippets for LEAP logfiles are created
+in `puppet/modules/leap/manifests/logfile.pp`. This `define` resource will get tagged
+automatically with `leap::logfile` and you can deploy the change with:
+
+ leap deploy *NODE* --fast --tags=leap::logfile
+
+See http://docs.puppetlabs.com/puppet/2.7/reference/lang_tags.html for puppet tag usage.