diff options
author | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
commit | 34a381efa8f6295080c843f86bfa07d4e41056af (patch) | |
tree | 9282cf5d4c876688602705a7fa0002bc4a810bde /doc/details/under-the-hood.md | |
parent | 0a72bc6fd292bf9367b314fcb0347c4d35042f16 (diff) | |
parent | 5821964ff7e16ca7aa9141bd09a77d355db492a9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'doc/details/under-the-hood.md')
-rw-r--r-- | doc/details/under-the-hood.md | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/doc/details/under-the-hood.md b/doc/details/under-the-hood.md deleted file mode 100644 index 0bc4fe77..00000000 --- a/doc/details/under-the-hood.md +++ /dev/null @@ -1,40 +0,0 @@ -@title = "Under the hood" -@summary = "Various implementation details." - -This page contains various details on the how the platform is implemented. You can safely ignore this page, although it may be useful if you plan to make modifications to the platform. - -Puppet Details -====================================== - -Tags ----- - -Tags are beeing used to deploy different classes. - -* leap_base: site_config::default (configure hostname + resolver, sshd, ) -* leap_slow: site_config::slow (slow: apt-get update, apt-get dist-upgrade) -* leap_service: cofigure platform service (openvpn, couchdb, etc.) - -You can pass any combination of tags, i.e. use - -* "--tags leap_base,leap_slow,leap_service" (DEFAULT): Deploy all -* "--tags leap_service": Only deploy service(s) (useful for debugging/development) -* "--tags leap_base": Only deploy basic configuration (again, useful for debugging/development) - - -### 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 - -or, if you just want - - leap deploy --tags=dist_upgrade - -See http://docs.puppetlabs.com/puppet/2.7/reference/lang_tags.html for puppet tag usage. - |