added apt-file as requirement for prep
authorFred Hamster <fred@gruntose.com>
Mon, 7 Apr 2025 16:31:51 +0000 (12:31 -0400)
committerFred Hamster <fred@gruntose.com>
Mon, 7 Apr 2025 16:31:51 +0000 (12:31 -0400)
also added a readme with some useful automation commands.

scripts/core/prep_feisty_host.sh
scripts/customize/fred/scripts/automation/readme.txt [new file with mode: 0644]

index 366c22420089914b2379ef23484e7e4b49d8f3fb..c48386a64a46bbdf27d8e535128dce01e5f9a314 100644 (file)
@@ -192,10 +192,17 @@ PAX=(noop)
 
 # first, make sure the OS itself is prepared for us.
 
+#hmmm: ha, a better representation with less glop would be associative arrays for each chunk of stuff to do.
+#  + have one overall array of items which are the names of other arrays to pull in.
+#  + then each assoc array gets filled in by our various sections below using simple array syntax.
+#  + would be something like:
+#       crucial_os_packages["debianesque"]="bind9-dnsutils git gitk gparted mariadb-client openssh-server"
+#  + tasty!
+
 PHASE_MESSAGE="installing crucial OS packages"
 
 if [ "$opsystem_here" == "debianesque" ]; then
-  PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server )
+  PAX=(apt-file bind9-dnsutils git gitk gparted mariadb-client openssh-server )
 elif [ "$opsystem_here" == "redhatty" ]; then
   PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server )
 #untested: bind9-dnsutils mariadb-client 
@@ -203,8 +210,8 @@ elif [ "$opsystem_here" == "macos" ]; then
   PAX=(bind9-dnsutils git gitk mariadb-client openssh-server )
 #untested: bind9-dnsutils mariadb-client 
 elif [ "$opsystem_here" == "windoze" ]; then
-  PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server )
-#untested: bind9-dnsutils mariadb-client 
+  PAX=(apt-file bind9-dnsutils git gitk gparted mariadb-client openssh-server )
+#untested: apt-file bind9-dnsutils mariadb-client 
 fi
 
 install_system_package "${PAX[@]}"
diff --git a/scripts/customize/fred/scripts/automation/readme.txt b/scripts/customize/fred/scripts/automation/readme.txt
new file mode 100644 (file)
index 0000000..2e9e14a
--- /dev/null
@@ -0,0 +1,11 @@
+
+
+useful commands we have done...
+
+puff out gruntose archives...
+$ puffer_gruntose
+
+find syncthing conflicts...
+$ host_strider $FEISTY_MEOW_SCRIPTS/customize/fred/scripts/automation/locate_syncthing_conflicts.sh $GRUNTOSE_DOMAIN $GRUNTOSE_HOSTLIST &> ~/syncthing_conflict_output_$(date_stringer).log  
+
+==> add that one from obsidian with the funky df.  need to check in the file too.