small pixel drawing of a pufferfish zoa

refactor
Jes Olson j3s@c3f.net
Tue, 28 Jun 2022 03:22:30 -0500
commit

7cc050285bee0f18cb7167158187b91a53945dda

parent

eb8b73776f227a36f0d82e0b1ddb6c64cd410696

4 files changed, 17 insertions(+), 11 deletions(-)

jump to
M READMEREADME

@@ -69,8 +69,8 @@

ah finally, how do i lay out my git repo? here's the canonical doc: files/ - funcs/ hosts/ + libs/ you need at least hosts/ - everything else is optional hosts/ contains shell scripts that run on the host(s) specified - for example,

@@ -80,8 +80,8 @@ hosts/domechild.cyberia.club

then that is my entrypoint. - funcs/ contains defs that are automatically available across all of your hosts & - files. + libs/ contains functions and vars that can be defined for particular hosts, or + groups of hosts based on a special syntax files/ contains text files (no big files or binaries pls) that you might be interested in placing on hosts.
A files/motd

@@ -0,0 +1,1 @@

+hi this is a motd tbh
A libs/common

@@ -0,0 +1,13 @@

+# * +want_backup_user=true +die() { + printf "%s.\n" "$1" + exit 1 +} + +# *.cyberia.club +operators="jes forest zico queerposting sanine" # this var will be present on all *.cyberia.club systems + +# domechild.cyberia.club +weirdo=yes # this var will only be present during domechild's run +
D vars/common

@@ -1,8 +0,0 @@

-# * -want_backup_user=true - -# *.cyberia.club -operators="jes forest zico queerposting sanine" - -# domechild.cyberia.club -weirdo=yes