201 Commits (5b3ff87c1f869c2669dc2296dea0da0d0919bfe0)

Author SHA1 Message Date
Digimer d2c812ee03 This commit starts the move to RHEL8 from Fedora 28. 6 years ago
Digimer 8fad67fc5a * Updated Words->read to default to 'path::words::words.xml' when the 'file' parameter is not passed. Also updated it to check to see if the words file was read before and, if so, clear the data from the previous read before re-reading it. 6 years ago
Digimer 946fce018a * Renamed the 'ScanCore' executable to just 'scancore', moved it into the standard 'tools' directory and changed the agents directory to '/usr/sbin/scancore-agents'. 6 years ago
Digimer f5ae90c941 * Started work on M3 ScanCore! 6 years ago
Digimer 2fa4048780 * Updated anvil.conf to default-enable various defaults. Also dropped the archive thresholds. 6 years ago
Digimer 5f77ff5885 * Finished (for now) anvil-manage-firewall. It's been added to anvil-daemon as well. 6 years ago
Digimer b5dc83d39c * Renamed anvil-configure-striker -> striker-configure-host and anvil-manage-install-target -> striker-manage-install-target as they're both Striker-specific. 6 years ago
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer 07c3b405ad * Starting work on adding "Install Target" function (will likely rename this, but basic same function as IT in m2). 6 years ago
Digimer 6f0bc0d86f * Fixed a major bug where anvil-daemon would reset the job_progress to 0 when clearing the 'reboot_needed' flag, causing anvil-daemon to pick the job up and again reboot, repeatedly. 6 years ago
Digimer 46916b658b * Fixed the spec now that anvil.sql is in the right place and quieted anvil-daemon system check logging. 6 years ago
Digimer 510321d634 * It looks like adding and removing Striker peers (and all the sync'ing stuff behind it) is finally sorted out. Obviously, time will tell for sure, but currently things look good. 6 years ago
Digimer 43035ba038 * Fixed a subtle an annoying autovivication bug in Database->write(). 6 years ago
Digimer e79e7fd4f4 * Added 'check_if_configured' to Database->connect(), disabled off, that triggers the check to see if the system is configured or not. Updated anvil-daemon to invoke this at the same time that the md5sums are calculated to see if a reload is needed. This reduces the background system load a fair bit. 6 years ago
Digimer facefeaccc * Fixed a bug in anvil-daemon where completed jobs could be immediately cleared, causing them to re-run (repeatedly). 6 years ago
Digimer e15fd19ee4 * Fixed a bug in anvil-daemon where a stray 'die' from earlier work was left in. 6 years ago
Digimer 42c4cd01f9 * Made logging a bit more verbose for job processing in anvil-daemon. 6 years ago
Digimer 9bd5dd9a18 Revert to bfc2204. 6 years ago
Digimer a8369170b4 This is the start of a major change! 6 years ago
Digimer bfc2204352 * Added a row-count check when deciding if a DB resync is needed. 6 years ago
Digimer e67828b6c6 * Deleted stray exit used in debugging anvil-daemon. 6 years ago
Digimer 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer 7bd65f65e5 * Finished the first round of updates to anvil-manage-striker-peers, but the initial resync is failing because of unrelated schema issues. 6 years ago
Digimer 4bf048054b * Udated anvil-daemon to not use Time::HiRes for now, and added a timer so that the md5sum of files used by the daemon are checked only once per minute. This significantly reduced the load caused by the daemon running. 6 years ago
Digimer 39c94009e6 * Created System->check_if_configured and then used that to only have anvil-daemon call update_state_file() when the system is unconfigured (to reduce the laod) when it's usually not needed). 6 years ago
Digimer 94d8a9c495 * Fixed a bug where finished jobs with a '0' picked-up time would be written to jobs.json. 6 years ago
Digimer 00565b123c * Updates Tools->nice_exit to add the caller name to the exit status. 6 years ago
Digimer b7e4ba9123 * Made the detection of whether a system has been rebooted a lot smarter, thanks to an idea from Lisa Seelye (@thedoh). 6 years ago
Digimer 545f9a9bb5 * Renamed tools/anvil-reboot-needed to tools/anvil-manage-power and started adding support for rebooting and powering off to it. 6 years ago
Digimer 962ff89fc5 * Fixed a bug in Words->parse_banged_string() where values with commas was breaking the processing of the string of variable/value pairs. 6 years ago
Digimer b656af88c7 * Added a TODO 6 years ago
Digimer 6210524780 * Fixed a bug where long-finished jobs where being displayed in the Striker maintenance mode display. 6 years ago
Digimer 12073ffa08 * Added --no-start to tools/anvil-daemon to allow for updating just the jobs.json file. Fixed a bug where a comma was missing when 2+ jobs were written to the JSON file as well. 6 years ago
Digimer 423fda2ad6 * Fixed a bug in anvil-daemon where rebooting was clearing the reboot-needed flag. 6 years ago
Digimer eecef192b3 * The job progress display in Striker while in maintenance mode is coming along and mostly working now. 6 years ago
Digimer eaca4c885f * Updated tools/anvil-daemon to use the JSON module to build the JSON strings going into jobs.json, instead of doing it manually. 6 years ago
Digimer 831ff14d93 * Created Words->parse_banged_string to process strings in the format '<key>[,!!var1!value1!!,!!var2!value2!!,...,!!varN!valueN!!'. Still testing this. 6 years ago
Digimer 60584b8cee * Created Database->get_jobs() to be a more general way to retrieve pending and recently finished jobs. 6 years ago
Digimer bd862b2e5e * Made more progress on anvil-daemon's invokation of jobs. 6 years ago
Digimer 633da25d07 * Fixed a bug in Database->connect where an empty 'database::<key>' would cause an error. Updated Database->disconnect to delete the 'database' hash key as part of the same fix. 6 years ago
Digimer d147e10552 * Changed the call to reboot after OS update to instead set a reboot required flag. 6 years ago
Digimer 6aa74d3d96 * Updated Database->_test_access() to use the DBD 'ping' method, and attempt a reconnect of failure. 6 years ago
Digimer dd88051d9b * Finished the initial version of tools/anvil-update-system. 6 years ago
Digimer 0fa3c42f2f * Fixed a bug where setting the debug level to 3 caused a deep recursion and a system hang. 6 years ago
Digimer a294c6c4fa * Updated the database components to use the name 'anvil' and the user 'admin'. The 'database::user' and 'database::name' variables are still supported, but now hidden. 7 years ago
Digimer d6846841a2 * Added the 'job_status' column to the 'jobs' table where progress to be shown to users is stored. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 9648e8ba43 * Create tools/anvil-jobs and units/anvil-jobs.service, which is a new daemon that will handle jobs that can take some time to finish. 7 years ago
Digimer bb48c090a7 * Created Get->md5sum() to return the md5sum of the specified file. 7 years ago
Digimer 2b9c6c26dc * Fixed a couple remaining issues from the recent merger. Specifically, '$$anvil' was fixed from a bad regex and the path/names of our tools were fixed. 7 years ago