]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
First working version
authorSimon Ruderich <simon@ruderich.org>
Sat, 3 Apr 2021 13:02:39 +0000 (15:02 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 3 Apr 2021 13:02:39 +0000 (15:02 +0200)
commitf2f2bc47e8729548f3c10117f7f008b547c4afc5
treecac3a1f01fc1152f45801f78565c13d7f1c3b13c
parentdc0d431a778a50e6732b9eb91384a07a207b772d
First working version
136 files changed:
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
cmd/safcm-remote/build.sh [new file with mode: 0755]
cmd/safcm-remote/info/info.go [new file with mode: 0644]
cmd/safcm-remote/log/logger.go [new file with mode: 0644]
cmd/safcm-remote/main.go [new file with mode: 0644]
cmd/safcm-remote/run/cmd.go [new file with mode: 0644]
cmd/safcm-remote/run/runner.go [new file with mode: 0644]
cmd/safcm-remote/sync/commands.go [new file with mode: 0644]
cmd/safcm-remote/sync/commands_test.go [new file with mode: 0644]
cmd/safcm-remote/sync/files.go [new file with mode: 0644]
cmd/safcm-remote/sync/files_test.go [new file with mode: 0644]
cmd/safcm-remote/sync/packages.go [new file with mode: 0644]
cmd/safcm-remote/sync/packages_debian.go [new file with mode: 0644]
cmd/safcm-remote/sync/packages_debian_test.go [new file with mode: 0644]
cmd/safcm-remote/sync/services.go [new file with mode: 0644]
cmd/safcm-remote/sync/services_systemd.go [new file with mode: 0644]
cmd/safcm-remote/sync/services_systemd_test.go [new file with mode: 0644]
cmd/safcm-remote/sync/sync.go [new file with mode: 0644]
cmd/safcm-remote/sync/sync_test.go [new file with mode: 0644]
cmd/safcm-remote/sync/triggers.go [new file with mode: 0644]
cmd/safcm-remote/sync/triggers_test.go [new file with mode: 0644]
cmd/safcm/config/commands.go [new file with mode: 0644]
cmd/safcm/config/config.go [new file with mode: 0644]
cmd/safcm/config/files.go [new file with mode: 0644]
cmd/safcm/config/files_test.go [new file with mode: 0644]
cmd/safcm/config/groups.go [new file with mode: 0644]
cmd/safcm/config/groups_test.go [new file with mode: 0644]
cmd/safcm/config/hosts.go [new file with mode: 0644]
cmd/safcm/config/packages.go [new file with mode: 0644]
cmd/safcm/config/permissions.go [new file with mode: 0644]
cmd/safcm/config/permissions_test.go [new file with mode: 0644]
cmd/safcm/config/services.go [new file with mode: 0644]
cmd/safcm/config/templates.go [new file with mode: 0644]
cmd/safcm/config/templates_test.go [new file with mode: 0644]
cmd/safcm/config/triggers.go [new file with mode: 0644]
cmd/safcm/config/triggers_test.go [new file with mode: 0644]
cmd/safcm/fixperms.go [new file with mode: 0644]
cmd/safcm/main.go [new file with mode: 0644]
cmd/safcm/sync.go [new file with mode: 0644]
cmd/safcm/sync_changes.go [new file with mode: 0644]
cmd/safcm/sync_changes_test.go [new file with mode: 0644]
cmd/safcm/sync_info.go [new file with mode: 0644]
cmd/safcm/sync_info_test.go [new file with mode: 0644]
cmd/safcm/sync_sync.go [new file with mode: 0644]
cmd/safcm/sync_sync_test.go [new file with mode: 0644]
cmd/safcm/sync_test.go [new file with mode: 0644]
cmd/safcm/term.go [new file with mode: 0644]
cmd/safcm/term_test.go [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-all-remove/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-all/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-conflict/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-detected/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-member/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-missing/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/group-invalid-name/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/all/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/dns/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/dns/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/other/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-dir/other/triggers.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-file/all/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-file/dns/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-file/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-file/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-conflict-file/other/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project-group-cycle/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group-cycle/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/config.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-a/files/etc/dir-to-file [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-a/files/etc/dir-to-link [new symlink]
cmd/safcm/testdata/project-group_order/group-a/files/etc/file-to-dir/dir/file2 [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-a/files/etc/file-to-dir/file [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-a/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-a/triggers.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-file/dir/file2 [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-file/file [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-filex [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-link/dir-to-file/dir/file2 [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-link/dir-to-file/file [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/dir-to-linkx [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/file-to-dir [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/group-b/triggers.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/host1.example.org/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project-group_order/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/empty/.gitignore [new file with mode: 0644]
cmd/safcm/testdata/project/files-invalid-perm-dir-setgid/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/files-invalid-perm-dir/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/files-invalid-perm-file-executable/files/etc/rc.local [new file with mode: 0755]
cmd/safcm/testdata/project/files-invalid-perm-file-sticky/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/files-invalid-perm-file/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/files-invalid-type/files/.gitignore [new file with mode: 0644]
cmd/safcm/testdata/project/group/commands.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/group/files/etc/.hidden [new file with mode: 0644]
cmd/safcm/testdata/project/group/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project/group/files/etc/rc.local [new file with mode: 0755]
cmd/safcm/testdata/project/group/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/group/files/etc/test [new symlink]
cmd/safcm/testdata/project/group/packages.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/group/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/group/services.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/group/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/group/triggers.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/groups.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/hosts.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-execute/files/etc/rc.local [new file with mode: 0755]
cmd/safcm/testdata/project/permissions-invalid-execute/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-line/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-line/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-path/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-permission-int/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-permission-int/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-permission/files/etc/resolv.conf [new file with mode: 0644]
cmd/safcm/testdata/project/permissions-invalid-permission/permissions.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-group/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-group/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-host/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-host/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-path/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-template/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-template/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-type/files/etc/motd [new file with mode: 0644]
cmd/safcm/testdata/project/templates-invalid-type/templates.yaml [new file with mode: 0644]
cmd/safcm/testdata/project/triggers-invalid-path/triggers.yaml [new file with mode: 0644]
go.mod [new file with mode: 0644]
go.sum [new file with mode: 0644]
gob.go [new file with mode: 0644]
log.go [new file with mode: 0644]
remote/remote.go [new file with mode: 0644]
rpc/conn.go [new file with mode: 0644]
rpc/dial.go [new file with mode: 0644]
types.go [new file with mode: 0644]