Commit graph

157 commits

Author SHA1 Message Date
Lance Edgar 989f1574dc Update changelog 2023-06-10 19:03:49 -05:00
Lance Edgar d713bbe522 Let caller override default fannie/config.php
also make `deploy.full_path()` honor absolute path when given one
2023-06-10 18:57:57 -05:00
Lance Edgar 64c69aab3c Update changelog 2023-06-10 16:13:11 -05:00
Lance Edgar 9eab7a7555 Add password support for make_normal_user() 2023-06-09 18:19:49 -05:00
Lance Edgar 3f931445a0 Touch fannie.log when installing CORE Office 2023-06-09 18:19:15 -05:00
Lance Edgar 8bafaef796 Update changelog 2023-06-08 21:10:03 -05:00
Lance Edgar 753e939422 Do not define rattail mail templates by default
pretty sure that value was/is already fallback default anyway
2023-06-02 14:42:53 -05:00
Lance Edgar 88e92588f2 Add a couple more options for rsync()
sometimes you just need something different to happen..
2023-06-01 15:18:27 -05:00
Lance Edgar 47bc4ce01d Add __version__ attr to root namespace
for sake of `setup.cfg`
2023-05-17 07:22:09 -05:00
Lance Edgar 86d922708a Make installing composer packages optional, for CORE-POS 2023-05-15 18:36:29 -05:00
Lance Edgar cf32571c83 Pass LUIGI2 context when generating config file 2023-03-09 15:31:03 -06:00
Lance Edgar 21a071d324 Touch debug_fannie.log when installing CORE
just to prevent the warning
2023-02-28 21:21:06 -06:00
Lance Edgar 43d8df3c5d Add MAILTO for backup crontab 2023-02-23 13:05:54 -06:00
Lance Edgar 2097136844 Use --global when allowing Composer plugins for CORE
this keeps allowances out of the local `composer.json` file and
therefore keeps the working folder clean
2023-02-19 12:40:11 -06:00
Lance Edgar 20a3871522 Use composer install instead of composer update for CORE 2023-02-19 12:05:22 -06:00
Lance Edgar bdd89db30d Add install_collectd() function 2023-02-19 11:19:37 -06:00
Lance Edgar 6c78d3c1d5 Add new/improved install_corepos() function
probably needs still more improvement, but getting here.  so far it
only does the office setup
2023-02-17 22:16:30 -06:00
Lance Edgar cde124b916 Add logrotate support for backup apps 2023-02-17 11:01:29 -06:00
Lance Edgar a76d38c201 Add make_normal_user() function
also add `disabled_password` kwarg for `make_system_user()`
2023-02-17 11:00:31 -06:00
Lance Edgar 9e0a1cde19 Warn if caller deploys old-style soffice daemon 2023-01-10 20:40:36 -06:00
Lance Edgar c8ab84e462 Install libssl-dev when installing pythonz 2023-01-09 09:01:31 -06:00
Lance Edgar 492e8da5c3 Remove some luigi config if using newer package
apparently some of these settings are no longer used by latest luigi,
and it complains when they're present
2023-01-09 09:00:50 -06:00
Lance Edgar 7d536499d6 Add logic to create db, configure supervisor, for install_luigi() 2023-01-08 14:55:33 -06:00
Lance Edgar d68b57baa8 Allow for custom mail recipients in luigi crontab 2023-01-08 13:04:46 -06:00
Lance Edgar 6fb9389e45 Provide default crontab for luigi, to rotate logs and restart 2023-01-08 12:41:25 -06:00
Lance Edgar 8c556e6176 Fix logic to bind postgres to all network interfaces
ugh, finally solved this
2023-01-07 17:22:21 -06:00
Lance Edgar 5fcfc91d83 Inject default mail sender/recips for machine-wide rattail.conf
also tweak timezone handling
2023-01-07 17:21:34 -06:00
Lance Edgar 375cd1a36f Add docker module for installing that 2023-01-05 11:41:39 -06:00
Lance Edgar dc5556651f Update clone URL for byjove 2023-01-05 08:41:54 -06:00
Lance Edgar cfba5425a1 Slight tweaks when making backup venv 2023-01-02 15:01:39 -06:00
Lance Edgar a3339ac062 Avoid workon command when deploying backup app 2022-11-28 16:49:56 -06:00
Lance Edgar 1fedc314b3 Add pyfuse3 support for backup (borg) app 2022-11-27 18:47:43 -06:00
Lance Edgar a9bbee572a Let caller override config paths for luigi overnight scripts 2022-11-27 12:47:39 -06:00
Lance Edgar ebf94fb7dc Specify logging, retcode config for luigi 2022-11-23 14:47:09 -06:00
Lance Edgar 5acf8d5304 Use workaround for shlex.join() on older python 2022-11-21 20:09:51 -06:00
Lance Edgar f1ecf9a1e4 Don't write overnight scripts to invoke luigi directly, by default
`rattail overnight` command can handle that natively now
2022-11-21 20:09:16 -06:00
Lance Edgar 4c8e956fec Must pass -k flag to rattail overnight command 2022-11-21 15:39:49 -06:00
Lance Edgar 25891902b8 Make each overnight script optional
trying to phase out at least 1, maybe 2 of them...

this also cleans up the 'restart' script to use 'rattail overnight'
per recent changes.  this seems the most useful to have around, in
case of web app failure
2022-11-20 20:03:28 -06:00
Lance Edgar a36ecdb2ad Use new rattail overnight command in cron-overnight.sh script
this is all a bit of WIP at the moment, perhaps..
2022-11-20 15:54:58 -06:00
Lance Edgar 7ce3aae20c Be more explicit about virtualenvwrapper script 2022-11-20 15:31:50 -06:00
Lance Edgar 46440b6a95 Add basic composer.install() function 2022-11-01 18:42:11 -05:00
Lance Edgar 614fd92a20 Use shlex.join() when adding postfix alias
a bit convoluted perhaps, but still better...
2022-11-01 18:41:27 -05:00
Lance Edgar a2dca4ea65 Add generic script to check mountpoints, for collectd 2022-08-21 22:57:30 -05:00
Lance Edgar 987731885b Allow for deploying v02 certbot account 2022-08-14 13:57:10 -05:00
Lance Edgar ba05d616d8 Always make soffice daemon init scripts executable 2022-07-25 21:32:28 -05:00
Lance Edgar 303f650a0b Tweak logic for setting PostgreSQL listen_addresses
this still isn't right, but i'm calling this a savepoint at least
2022-07-25 19:53:12 -05:00
Lance Edgar f97401009e Allow custom email key for overnight scripts 2022-03-21 17:54:23 -05:00
Lance Edgar 5a4e2701df Tweak default luigi config; allow specifying version
to accommodate one particular install, but is generally okay i think..
2022-03-18 21:46:41 -05:00
Lance Edgar 5df704679f Improve error message when deploying backup w/ no config 2022-02-16 15:26:46 -06:00
Lance Edgar a1b580e51a Add function to get MariaDB version string 2022-02-10 23:25:24 -06:00