diff options
author | Leif Johansson <leifj@sunet.se> | 2013-10-15 13:52:38 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-10-15 13:52:38 +0200 |
commit | c4cc4d8531d7394dc05fe0bf47db944e070e41dc (patch) | |
tree | 688b7a1a97f9bc6269a34594deb358884536421a /docs | |
parent | 2ee30e3b6a01d7a476180b9ed1e662d251531b72 (diff) |
pinsamt
Diffstat (limited to 'docs')
-rw-r--r-- | docs/cosmos-puppet-ops.mkd | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/docs/cosmos-puppet-ops.mkd b/docs/cosmos-puppet-ops.mkd index 614aa12..7eb7c4a 100644 --- a/docs/cosmos-puppet-ops.mkd +++ b/docs/cosmos-puppet-ops.mkd @@ -142,7 +142,7 @@ Implementation ============== Implementation is based on two major components: cosmos and puppet. The cosmos system was -created by Simon Josefsson and Fredrik Tulin as a simple and secure way to distribute files +created by Simon Josefsson and Fredrik Thulin as a simple and secure way to distribute files and run pre- and post-processors (using run-parts). This allows for a simple, yet complete mechanism for updating system state. @@ -155,6 +155,14 @@ abstraction which greatly increases readability. The combination of puppet and cosmos is maintained on github in the 'leifj/multiverse' project. +The Cosmos Puppet Module +======================== + +Although not necessary, a few nice-to-have utilities in the form of puppet modules have +been collected as the cosmos puppet module (for want of a better name). The source for +this module is at http://github.com/leifj/puppet-cosmos and it is included (but commented +out) in the cosmos-modules.conf file (cf below) for easy inclusion. + Operations ========== @@ -364,10 +372,26 @@ Identitfy the public key file in `global/overlay/etc/cosmos/keys` # ./bump-tag ``` +Merging new features from multiverse +------------------------------------ + +The multiverse template will continue to evolve and sometimes it may be desirable to fetch a new feature from the upstream multiverse repository. If you followed the setup guide and kept the 'multiverse' remote this how you go about synchronizing with that version: + +``` +# git checkout multiverse +# git pull +# git checkout master +# git merge multiverse +``` + +Now resolve any conflicts (hopefully few and far between) and you should end up with a _combination_ of the features in your domain and those in multiverse. Note that you can optionally add more remotes referencing other development branches of multiverse and merge changes from more than one upstream. The sky is the limit. + Changing administrative domain for a host ----------------------------------------- -In the `$new` repository: +Below `$old` and `$new` refers to local copies (git clone) of the old and new repository. + +In the `$new` repository add the host and use fabric to change the repository of the host to the git URL of the new repository. ``` # ./addhost -b $hostname @@ -396,9 +420,6 @@ In the `$old` repository: # ./bump-tag ``` -Reviewing all changes ---------------------- - Running a command on multiple hosts ----------------------------------- |