Valentin Lab
3cfe6991ed
new: [base] ensure that we have GNU awk and not some alternatives
1 year ago
Valentin Lab
c007240f99
fix: [base-0k] ensure that ``lsb_release`` is available
WSL2 debian's 11 doesn't provide package ``lsb_release``
2 years ago
Valentin Lab
d217e330b1
fix: [base-0k] add debian 11 compatibility fixes
2 years ago
Valentin Lab
63b95117bc
new: [base] add ``yq`` to our base install
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
76b7d3bddb
new: [base-0k] make kalysto's deb repository installation and update stronger
When partially installed, key's were not checked and update could result
in errors due to NO_PUBKEY despite having the code to install a new key.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
dfc8198ecb
fix: [docker-host] catch common debian mis-usage that prevents ``locale-gen`` to be used
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
0591d3cc1c
fix: [docker-host] support fixing root SSL certificate for older hosts
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
8fd483810a
fix: [docker-host] fix root cert list if necessary to remove expired "DST_Root_CA-X3" cert.
Otherwise all SSL usage (``apt-get update``, ``curl https...``)
towards servers using certificate that is endorsed by this root
certificate, will fail. This includes Let's encrypt 4 Billions
certificates.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
6d3e7ce648
new: [host] several small adjustments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f43ff7d5f0
new: [host] add ``logrotate``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
64cf4a75c8
new: [host] add ``ntp``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
357673f98f
new: [docker-host] compatibility with debian 9
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0c6e2e6496
fix: dev: [host] was failing if ``$NO_DOCKER_RESTART`` was not set
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f6babaf98c
new: [host] allow long bash history conservation and saving of all commands, added fzf
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d116de79e8
fix: dev: [host] on debian 9, ``setuptools`` was not installed and required
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3fdd628f66
fix: dev: [host] we don't always have ``kal-shlib`` when executing this
We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d3f9028aee
new: dev: [host] added ``$NO_DOCKER_RESTART`` variable to disable restarting docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ed8035520
fix: dev: removed ``--force-yes`` everywhere as it is deprecated
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f2d61037b0
fix: [docker-host] don't touch an already installed version of docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
435ef3da11
fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7c83ad0b97
new: [host] minimal host backup config
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93ec99f21f
new: [host] add cron to ``mirror-dir-check`` call
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
48678f64e9
fix: [host] ``shorewall`` installation on debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
84b271b344
fix: [host] ensure to use the full ``kill`` binary
In some circumstances a call to ``kill`` will trigger the
builtin of your shell and could not support given options.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6a221ea964
fix: [host] ``/etc/resolv.conf`` does not support comments
And search configuration is not required.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
deea56bd50
new: [host] add explicit installation of ``bind9``
This is required in debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0878a98dd2
fix: [host] ``dnsmasq`` configuration upgrade
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4f4c41caa9
fix: [host] backup scripts will require ``pick2del_backups`` to be available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d7488054f4
fix: [host] corrected typo in inserted comment of ``/etc/compose/local.conf`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1da56fd41e
new: [host] check if curl is already installed
This was needed in debian 10.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a58f06ebc9
new: [host] debian 10 lxc configuration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
33c92f3be6
new: [host] new dependencies for ``btrfs-tools``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
de449d1921
chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
70405dbf47
new: [docker-host] include dependencies of new `docker-tags-fetch` command
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6146924eba
fix: [docker-host] debian 10 compatibility, removing support for registry v1
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
66be919b7d
chg: [host] remove =docker-clean= from general install
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
e40993e9c2
fix: dev: [base-0k] improve copy-pasting compatibility !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
43b213633c
fix: [docker-host] Could not find ``gpg`` on some platform.
For instance debian buster (10) does not include a ``gpg`` binary by default.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
960677541f
fix: support updating to compatible layout in ``/srv/charm-store``
Last ``compose`` will require ``/srv/charm-store`` not to use symbolic links
because of bad support in windows support.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
c08e2df39e
new: [docker-registry,docker-registry-auth] new charm
6 years ago
Valentin Lab
bcdbb12061
fix: [docker-builder,host] update path when using ``0k-docker`` scripts
6 years ago
Valentin Lab
0ba975e9fb
new: [docker-host] don't use hostname anymore for DEFAULT_PROJECT_NAME (fallback to directory name).
6 years ago
Valentin Lab
b8f4a435e0
new: [docker-host] be much more strict in the way to handle creation of links and updates.
6 years ago
Valentin Lab
60502091c2
new: [docker-host] don't restart docker for certificate installation if it is not needed.
6 years ago
Valentin Lab
86b31d4e72
fix: [docker-host] remove possible previous docker-compose related stuff
6 years ago
Valentin Lab
441e669b88
fix: [docker-host] default project name wouldn't have dynamic resolution and would not be lowercase
``docker-compose`` doesn't like lowercase for project name.
6 years ago
Valentin Lab
73ec2f1010
fix: [docker-host] remove installation of docker-compose as it is not anymore used.
Since ``compose`` is now inside a docker with all its dependencies,
(including ``docker-compose``), we do not need to install it on the
host.
6 years ago
Valentin Lab
90d69a1983
new: [docker-host] added ``docker-clean` in cron's daily tasks
6 years ago
Valentin Lab
80554298d1
chg: dev: whitespaces !minor
6 years ago
Valentin Lab
4bcd129e14
fix: some debian install on ovh don't have ``file`` installed.
6 years ago