Ops repo for Sunet Streams
Find a file
Patrik Lundin 4b93d9c426
run-cosmos: support fleetlock unlocking at boot
This extends run-cosmos with a new argument that calls the unlock
function already included in the script as well as using the already
existing lock() function to make sure there is no race between the
bootup process and cron starting a normal run-cosmos process at the same
time.

The oexit() function is added to support exiting with a OK exit value
the same way eexit() is used to signal something is wrong.

This change also adds the systemd unit file that runs run-cosmos with the
new fleetlock-unlock argument at boot if fleetlock is configured.

While here fix indentation that was mixed between 3 and 4 spaces: it is
now 4 spaces everywhere.
2024-01-24 15:36:34 +01:00
default import 2013-09-02 16:01:50 +02:00
docs Multiverse master has been renamed to main, so updating documentation to reflect that 2023-07-03 15:14:52 +02:00
fabfile remove 'make db' 2023-02-07 14:21:29 +01:00
global run-cosmos: support fleetlock unlocking at boot 2024-01-24 15:36:34 +01:00
scripts add script and Makefile target to test multiverse in a docker container 2023-01-19 17:18:04 +01:00
.gitignore use run-cosmos in fabfile 2015-02-24 09:44:33 +01:00
addhost PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
apt simple kvm builder using cloud images 2014-10-22 14:28:05 +02:00
bump-tag Allow running of bumptag with out signed commits or tags 2023-12-04 14:24:34 +01:00
cosmos-rules.yaml import 2013-09-02 16:01:50 +02:00
cosmos.conf Changed tag from eduid-cosmos to the more generic cosmos-ops 2016-08-27 17:05:11 +02:00
edit-secrets Make sure of separator 2023-02-07 08:49:31 +01:00
host-puppet-conf-test shellcheck fixes 2023-02-07 16:09:37 +01:00
iaas-enable-root.sh Make debian iaas prepare scripts handle ubuntu 2022-11-14 12:54:08 +01:00
iaas-setup.sh Bookwork image runs netplan 2023-10-16 09:25:57 +02:00
Makefile remove 'make db' target as well 2023-02-07 15:04:01 +01:00
prepare-iaas-debian PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
prepare-iaas-ubuntu PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
README short readme 2013-10-15 10:55:04 +02:00

The system documentation is in the docs directory of the multiverse repository.