the zero-impact configuration system
Shell Ruby
Switch branches/tags
Nothing to show
Latest commit 65b5dc3 Jun 9, 2016 Kacper Wysocki support sha256sums for ossec
Permalink
Failed to load latest commit information.
modules support sha256sums for ossec Jun 8, 2016
README.md
TODO
apply bugfix the apply script May 10, 2014
gone shellcheck May 12, 2014
manifest.sha512sum Add support for hooking into gone cmd Apr 26, 2014
manifest.sha512sum.gpg Add support for hooking into gone cmd Apr 26, 2014

README.md

gone configuration management

basic idea:

  • rsync + shell scripts + git. ... and I didn't even need rsync!

Puppet exists. Chef exists. CFEngine exists. Slaughter exists. However: I want to depend on nothing but git. I want to decentralise the "master". I want my scripts to be standalone.

Introducing the gone system:

Install and run

git clone git://github.com/comotion/gone.git && cd gone && ./gone apply

Works by having several packages that can be applied to a system. Each package contains atleast a ./apply script or some files to sync. To make life easier each package is contained within a catalog, by default only the modules catalog is distributed with gone. You can add any catalog you want, typically you will have one catalog containing host specific configuration or roles.

Example

Install a base system and some host specific configurations:

./apply
--------------------------------------------------------------------
#!/bin/sh
# All the files you need to sync is in `modules/base` and host
# specifics are in `host/<hostnane>`. You can run ./apply to run the
applicances.

# Catalogs is read by ./gone script
./gone apply ${@:-modules/base host/$(hostname)}

Any appliance can be one of 1) a script, 2) a folder containing any one of ./files/ or ./apply. It can be structured any way you like.

Todo

Idempotence. "do $foo only when $bar got updated" libs for: package installation on any distro service initscript installation checking configuration .. might make it easier to write scripts, but scripts will no longer stand alone!