Minimal state management tool for POSIX systems.
Sysunit is currently oriented towards the Rust community and is only distributed via Crates.io.
cargo install sysunit
Given this basic unit:
# foo_file.sh
check() {
if [ -f /tmp/foo ]; then
present
fi
}
apply() touch /tmp/foo;
remove() rm /tmp/foo;
sysunit apply foo_file.sh
will ensure that /tmp/foo
exists on the local system,
and sysunit remove foo_file.sh
will remove it.
This project is licensed under the GNU Affero General Public License (AGPL) v3.0. See the LICENSE file for details.