e212b6f56f
Support master branch being renamed to main
...
Fixes:
```
70run-post-tasks: invoking /var/cache/cosmos/model/post-tasks.d/018packages
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.
```
2023-01-31 08:52:28 +01:00
4601e0bf08
make sure we get clean checkouts
2023-01-30 14:56:15 +01:00
582cb8a691
Merge pull request #29 from theseal/jocar-backport-no-protection
...
set no-protection on the private key
2023-01-30 12:12:19 +01:00
d604d2fab5
set no-protection on the private key
2023-01-30 12:07:33 +01:00
Micke Nordin
3234cc59e3
Merge pull request #25 from theseal/fix-etc-hosts
...
Don't confuse containers to connect to them self
2023-01-30 11:31:00 +01:00
Micke Nordin
64c12216bd
Merge pull request #28 from theseal/only-update-db-when-needed
...
Only update the database when needed
2023-01-30 11:30:21 +01:00
57b302a299
Only update the database when needed
...
Without this fix:
```
➜ nunoc-ops git:(master) make db
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
make: *** [db] Error 1
```
With this fix:
```
➜ swamid-ops git:(master) ✗ make db
make: Nothing to be done for `db'.
```
Will make it easier to only use `make tag` when to sign changes.
2023-01-30 11:21:01 +01:00
92c76f4f3f
Merge pull request #27 from SUNET/kano-setup-cosmos-modules-example
...
Add example setup_cosmos_modules script
2023-01-27 10:36:37 +01:00
bb62889454
Move example script to docs
2023-01-27 10:34:59 +01:00
2e0ccdd92d
Add example setup_cosmos_modules script
...
This patch adds an example script written in python to help people get
started with writing their own implementation. The docs are also
updated.
2023-01-26 09:53:36 +01:00
Fredrik Thulin
73f3626176
Merge pull request #26 from eest/patlu-iaas-missing-default-user
2023-01-26 09:06:39 +01:00
f1ab4506f1
iaas-setup.sh: support default user not existing
...
For CNaaS machines we supply cloud-init user-data that does not create a
default user, in this case the script would exit half-way through. Now
it only tries to remove a user if it exists in the first place.
2023-01-26 08:45:04 +01:00
bc17ee1354
Don't confuse containers to connect to them self
...
When the hostname pointed to loopback the containers tried to connect to them
self instead of the host.
2023-01-24 10:01:59 +01:00
Micke Nordin
714506da1e
Merge pull request #24 from SUNET/ft-dynamic_cosmos_modules
...
Allow dynamically generated /etc/puppet/cosmos-modules.conf.
2023-01-19 18:32:21 +01:00
Micke Nordin
192e7b77b5
Merge pull request #23 from SUNET/ft-test_in_docker
...
add script and Makefile target to test multiverse in a docker container
2023-01-19 18:26:53 +01:00
715105aadb
add documentation for dynamically generated cosmos-modules.conf
2023-01-19 17:56:51 +01:00
906e483c53
speling
2023-01-19 17:46:23 +01:00
c3c6171f96
modules, not models
2023-01-19 17:30:18 +01:00
e2e394a9af
generate /etc/puppet/cosmos-modules.conf dynamically
2023-01-19 17:19:42 +01:00
187e3bc9be
add script and Makefile target to test multiverse in a docker container
2023-01-19 17:18:04 +01:00
44f4fb6620
Merge pull request #22 from eest/backport-edit-secrets-from-cnaas-ops
...
Backport edit secrets from cnaas ops
2023-01-18 14:32:30 +01:00
a7d0a189da
Work around broken hiera-eyaml on 22.04
...
This can be removed once the linked bug report is solved.
Idea from, and implementation reviewed by, @fredrikt
2023-01-18 14:27:25 +01:00
d12f6297ed
Support Ubuntu 20 as well for edit-secrets.
2023-01-18 14:27:06 +01:00
c8451c2122
copy edit-secrets from eduid-ops
2023-01-18 14:26:40 +01:00
Gijutsu
aa115ce052
Merge pull request #19 from theseal/master
...
Use puppet that comes with OS
2023-01-17 14:09:21 +01:00
fb4849a0df
Use puppet that comes with OS
...
nunoc-ops does like this since 2018 so I think it will fly.
Also the package `puppet` seems to been around since at-least Ubuntu 14.04.
2023-01-17 13:53:13 +01:00
014c39822a
Upgrade eidastest
...
Ref: SC-1367
2023-01-16 15:33:44 +01:00
46aecacb06
Merge pull request #18 from eest/cosmos-set-root-perms
...
Make overlay permission script global
2022-12-05 15:08:49 +01:00
68d0083557
Make overlay permission script global
...
This will make sure /root has proper permissions on our machines.
2022-12-05 15:02:37 +01:00
72ac430948
upgrade metadata-validator to 3.1.3
2022-12-02 12:07:11 +01:00
43bf9034a3
update db
2022-12-02 12:06:37 +01:00
1f26285c34
upgrade validator-test-1.komreg.net to version 3.1.3
2022-12-02 10:47:34 +01:00
dedd1bb1e0
update db
2022-12-02 10:47:06 +01:00
55e3d112a7
upgrade eidastest
...
Ref: SC-1305
2022-12-01 14:12:29 +01:00
cfeed88b6e
impvored nagios check scripts
2022-11-21 17:37:25 +01:00
24404af1e3
upgrade eidastest
...
Ref: SC-1292
2022-11-21 16:12:30 +01:00
Fredrik Thulin
b454cd52ba
Merge pull request #17 from eest/patlu-handle-multiple-versions-of-cosmos-deb
2022-11-15 18:54:39 +01:00
3ef4e47ff6
Handle multiple versions of cosmos .deb
...
Before this change there was a need to keep addhost and
bootstrap-cosmos.sh in sync regarding what version of the cosmos deb to
scp over and later run.
Now we find the latest version as decided by `sort -V` in both addhost
and bootstrap-cosmos.sh.
Solution discussed with @fredrikt.
2022-11-15 18:26:36 +01:00
f7a38c4479
updated cosmos modules to use eidas-prod-2*
2022-11-15 15:04:03 +01:00
Fredrik Thulin
7012bf0342
Merge pull request #16 from eest/patlu-sync-ubuntu-with-prepare-iaas-debian
2022-11-15 07:56:30 +01:00
Leif Johansson
4c6623f128
Merge pull request #15 from eest/backport-nunoc-ops
...
Backport nunoc ops
2022-11-14 14:09:52 +01:00
16a6a67fd1
Make debian iaas prepare scripts handle ubuntu
...
Now ubuntu also uses the updated way of preparing iaas instances like
debian did before, actually the debian scripts have been remade to also
handle ubuntu so we use a common code path.
Usage (what scripts to call) stay the same, but the underlying
operations takes less logins to complete.
2022-11-14 12:54:08 +01:00
a567d569b7
Changing the script
2022-11-11 19:37:23 +01:00
b0031a7f4d
changes in the script
2022-11-11 19:28:39 +01:00
e266fb5389
fixed scripts
2022-11-10 13:43:18 +01:00
2af8478ae1
forgot to add the command, now did
2022-11-10 12:17:43 +01:00
6cbfd488af
add new eidastest check
...
Updated QA check
2022-11-10 11:59:43 +01:00
9c0a8ba2a0
upgrading eidas-test
...
ref: SC-1254
2022-11-08 17:50:10 +01:00
c89d2c58f9
Upgrade eidastest
...
Ref: SC-1254
2022-11-03 12:03:21 +01:00
13095af981
added cosmos-modules-prod.conf
2022-11-01 09:50:16 +01:00