Dennis Camera
f5342e9a35
[explorer/hostname] Remove code reading persistent hostname
2019-10-04 20:05:01 +02:00
Dennis Camera
ee440ec619
[__hostname] Compress state check
2019-10-03 21:41:51 +02:00
Dennis Camera
81ba849af8
Move __hostname hostname explorer to global scope
2019-10-03 19:19:06 +02:00
Dennis Camera
abc765bd99
[__hostname/explorer/hostname] Darwin: Always fall back to hostname if scutil is missing or fails
2019-10-03 18:23:17 +02:00
Dennis Camera
2804a8bae6
[__hostname] Add support for macosx
2019-10-03 18:21:35 +02:00
Dennis Camera
3c9eb7bce7
[__hostname] Support all systemd OSes and prefer hostnamectl
2019-10-03 18:21:35 +02:00
69e5e538ac
Merge branch 'nogetent-dotssh' into 'master'
...
[__ssh_dot_ssh] Fall back to /etc files if getent(1) is not available
See merge request ungleich-public/cdist!796
2019-10-01 13:16:25 +02:00
b57482d387
Merge branch 'nogetent-sshkeys' into 'master'
...
[__ssh_authorized_keys] Fall back to /etc files if getent(1) is not available
See merge request ungleich-public/cdist!797
2019-10-01 13:15:29 +02:00
b7426b30e7
Merge branch 'nogetent-user' into 'master'
...
[__user] Fall back to /etc files if getent(1) is not available
See merge request ungleich-public/cdist!795
2019-10-01 13:14:28 +02:00
65f9161352
Merge branch 'nogetent-group' into 'master'
...
[__group] Fall back to /etc files if getent(1) is not available
See merge request ungleich-public/cdist!798
2019-10-01 13:12:46 +02:00
Dennis Camera
259aa13b6a
[__ssh_authorized_keys] Better path checks
2019-10-01 11:07:29 +02:00
Dennis Camera
bad3a4a4cb
[__group] Fall back to /etc files if getent(1) is not available
...
Some (embedded) systems (and Mac OS X) don't provide getent(1). The workaround
parses /etc/group under the assumption that the system only uses local users and
groups.
2019-10-01 10:53:27 +02:00
Dennis Camera
95ab68a272
[__ssh_authorized_keys] Fall back to /etc files if getent(1) is not available
...
Some (embedded) systems don't provide getent(1). The workaround parses
/etc/passwd and /etc/group under the assumption that these sysems only use local
users and groups.
2019-10-01 08:43:32 +02:00
Dennis Camera
092dd19611
[__ssh_dot_ssh] Fall back to /etc files if getent(1) is not available
...
Some (embedded) systems don't provide getent(1). The workaround parses
/etc/passwd and /etc/group under the assumption that these sysems only use local
users and groups.
2019-10-01 08:43:12 +02:00
Dennis Camera
2d751443a4
[__user] Fall back to /etc files if getent(1) is not available
...
On systems without getent(1) the script would fail because "command -v getent"
exits with 1 which terminates the script due to it being called by sh -e.
2019-10-01 08:12:57 +02:00
Darko Poljak
50156bd7cd
shellcheck
2019-10-01 07:10:37 +02:00
f86768ab16
Merge branch 'fix_apt_key_dearmor' into 'master'
...
__apt_key: fix key dearmor when fetching from uri
See merge request ungleich-public/cdist!791
2019-10-01 07:00:33 +02:00
9d26fbdfb8
Merge branch 'git-recursive' into 'master'
...
__git type: Add --recursive option
See merge request ungleich-public/cdist!794
2019-10-01 06:25:31 +02:00
Dennis Camera
5c8e31b2ef
[type/__git] Improve documentation of --recursive option
2019-09-30 13:22:55 +02:00
Nico Schottelius
90d9326740
[__sysctl] add alpine support
2019-09-20 21:17:13 +09:00
d147f4a86f
__apt_key: fix key dearmor when fetching from uri
2019-09-20 12:00:22 +03:00
PCoder
88fe83ed73
Fix beowulf's spelling
2019-09-14 15:24:36 +05:30
Dennis Camera
4294ff55e1
[type/__git] Add --recursive parameter
2019-09-09 16:12:16 +02:00
451dfaffe4
__docker_swarm: Fix for Docker 19.03
2019-08-23 11:28:13 +02:00
Nico Schottelius
a86893889b
[letsencrypt] devuan/ascii: only install certbot package
...
It seems python-certbot is gone
2019-08-15 14:24:11 +02:00
Nico Schottelius
5033f67d96
Merge branch 'master' of code.ungleich.ch:ungleich-public/cdist
2019-08-15 14:20:42 +02:00
Nico Schottelius
c0aa2214aa
[letsencrypt] add support for devuan/beowulf
2019-08-15 14:19:54 +02:00
Darko Poljak
2f7dc5a65d
Fix variable typo
2019-08-04 21:54:13 +02:00
Dominique Roux
031d59c82c
Added Devuan support for __docker type
2019-08-04 21:23:44 +02:00
Dominique Roux
a70d2e0af5
Had to change the apt_source_distribution to stable, since the repository doesn't differ in distributions
2019-07-24 13:35:46 +02:00
Dominique Roux
6bb58f8820
Updated the __grafana_dashboard type for the new package repository
...
- Changed the signing key uri
- Changed the repo uri
2019-07-24 13:32:39 +02:00
a4bc051ad9
__acl: use type deprecation
2019-06-21 13:02:44 +03:00
a5df0badaf
__acl: add compatibility for deprecated parameters
2019-06-21 12:55:59 +03:00
91a6ecc701
__acl: rewrite
2019-06-21 12:55:59 +03:00
bd27d432b1
Merge branch '__acl_improvements_vol2' into 'master'
...
__acl improvements vol 2
See merge request ungleich-public/cdist!780
2019-05-25 16:06:46 +02:00
1d57305d35
Use gpg key, fallback to deprecated apt-key
...
Fixes #762
2019-05-25 15:58:39 +02:00
e30d76014a
__acl: update man
2019-05-19 23:44:20 +03:00
02e10b1ffd
__acl: fix SC1117
2019-05-19 23:27:58 +03:00
03f8c3aaed
__acl: don't exit on missing file when dry run
2019-05-19 23:22:02 +03:00
Nico Schottelius
21a16f5584
consul, changelog, consul agent => alpine
2019-05-18 23:46:09 +02:00
Nico Schottelius
ce52203ba3
__user add alpine support
2019-05-14 17:10:26 +02:00
Nico Schottelius
5f462d6380
++alpine support
2019-05-14 16:49:33 +02:00
7a25ec00ed
__acl: add TODO note about dry-run
2019-05-14 13:42:56 +03:00
7dfc5bc473
__acl: we do not have to check here if file exist
2019-05-14 13:41:32 +03:00
ca8bc959ed
__acl: add todo note
2019-05-14 13:27:43 +03:00
Nico Schottelius
569ae29955
[__package_apk] fix / add support for @yrepo syntax
2019-05-14 11:47:15 +02:00
Darko Poljak
15f01149f9
Update old homepage residual refs and non working git protocol
2019-05-09 08:26:42 +02:00
Darko Poljak
8b93bf0218
Migrate from github to ungleich gitlab
2019-04-25 22:23:06 +02:00
Darko Poljak
880f653ec2
Merge pull request #771 from sideeffect42/quote-block
...
__block: Quote prefix/suffix
2019-04-24 12:23:19 +02:00
Darko Poljak
5b20950045
Merge pull request #773 from sideeffect42/postgres-nopw
...
__postgres_{database,role}: Run psql with --no-password (-w)
2019-04-24 12:20:48 +02:00