converge
converge copied to clipboard
A powerful and easy-to-use configuration management system.
Now we have few own wrappers on exec.Command() inside resource/lvm/lowlevel, resource/shell, and resource/user. Would be nice to refactor it to common, easy mockable thin wrapper, with well defined behaviour, disticnction...
Sometimes we want to show some debug (like command execution/some output) but our module executed on server side, and logs invisible for user. In some cases code like ``` status...
We need to use proper systemd escaping, now only "/" replaced with "-", and trailing/leading "/" stripped.
`mountpoint -x ` and `mountpoint -d` should have some data enough to query device path from system, and compare with requested one.
It should exists, be a directory, and have proper permissions.
In some cases LVM treat case suffix specially: ```Capitalise to use multiples of 1000 (S.I.) instead of 1024. Can also specify custom units e.g. --units 3M```` Also special `Ss` suffix...
Actually these tests shouldn't fail if `bash` is in $PATH, but not on /bin/bash. Posix standartize only `/bin/sh` and `/usr/bin/env` ``` --- FAIL: Test_Run_ReturnsCommandResultsWithCorrectData (0.01s) Error Trace: command_executor_test.go:64 Error: Received...
``` --- FAIL: TestPackageState (0.01s) --- FAIL: TestPackageState/when_installed (0.00s) Error Trace: 5: Error: Not equal: "present" (expected) != "absent" (actual) FAIL ``` Actually it shouldn't fail on Debian/Nixos/any-other non-rpm linux
Discussion: The requirement to have immutable parent/child relationships between the generated switch and conditional nodes and their embedded child nodes is manifesting in some difficulty dealing with graph modifications for...