df3092d4b4
Merge branch 'select-editor-type' into 'master'
...
Add __sensible_editor type
See merge request ungleich-public/cdist!800
2019-10-14 11:39:27 +02:00
Dennis Camera
e462821e46
[__sensible_editor] Fix SC2028
2019-10-14 11:31:29 +02:00
Dennis Camera
9567826dc1
[__sensible_editor] Fix incorrect require variable
2019-10-14 09:21:23 +02:00
Dennis Camera
58eb474b01
[__sensible_editor] Add exists as a possible --state value
2019-10-13 13:49:51 +02:00
Dennis Camera
365974c447
[__sensible_editor] Use int comparisons in version_ge
2019-10-13 13:42:15 +02:00
Nico Schottelius
2bc26e398c
[__letsencrypt_cert] Add Arch Linux support
2019-10-13 11:15:53 +02:00
Dennis Camera
9edf5e8fe0
[__sensible_utils] Fix Ubuntu version detection
2019-10-13 10:39:50 +02:00
Dennis Camera
8b0734f719
[__sensible_editor] Improve error message when a basename of an editor not in the alternatives is provided
2019-10-13 10:14:27 +02:00
Dennis Camera
3bbb7b02d2
[__sensible_editor] Allow to omit the --editor parameter if --state is absent
2019-10-13 10:14:05 +02:00
Dennis Camera
00dd16d7c3
[__sensible_editor] List available editors when an incorrect one is provided
2019-10-13 10:13:20 +02:00
Dennis Camera
f782a85470
[__sensible_editor] Reword limitations paragraph of man page
2019-10-12 13:27:42 +02:00
Dennis Camera
d11b191547
[__sensible_editor] Document supported operating systems in man page
2019-10-12 13:02:26 +02:00
Dennis Camera
e64d1710b5
[__sensible_editor] Add support for old Ubuntu versions
2019-10-12 13:01:39 +02:00
Dennis Camera
522100b9fb
[__sensible_editor] Refactor
2019-10-12 11:07:39 +02:00
Dennis Camera
b6898b097f
[__sensible_editor] Add support for RedHat derivatives
...
They have added sensible-utils lately.
select-editor(1) does not work because their alternatives system is broken,
but sensible-editor(1) works just fine, so we can support it.
2019-10-08 23:05:23 +02:00
0bdc62482a
add new type __xymon_client
2019-10-08 19:03:38 +02:00
e9289abfab
add new type __xymon_config
to configure xymon-servers
...
This allows configuration of a xymon-server.
The server can be installed with `__xymon_server` or manually. In the
latter case the `ext/`-dir symlink has to be added.
2019-10-08 18:55:37 +02:00
48ed7f1754
correct condition -- should check on remote side
2019-10-08 18:38:33 +02:00
f35a1b9cdf
add new type __xymon_apache
as a helper for __xymon_server
...
Details in `man.rst`
2019-10-08 18:34:08 +02:00
7d235fb013
add new type __xymon_server
...
This type installs a Xymon monitoring-server. See https://xymon.com/ for
a demo and further information.
2019-10-08 18:19:20 +02:00
2abc34f922
Add --shallow option
...
Provides the capability to make shallow clones (including submodules) to deploy
repositories with huge history.
Note that this might not work with some servers (github.com) if the commit
that is required by a submodule is too far away from any reference.
2019-10-08 13:45:20 +02:00
0c7d98e89e
Use --recurse-submodules instead of --recursive
...
The option --recursive is not documented for git >2.11 (2016),
instead --recurse-submodules should be used.
2019-10-08 13:45:13 +02:00
Darko Poljak
6d2e81d0dc
Revert "Fix missed parameter file reading"
...
This reverts commit e1c08c25b5
.
This fix was a mistake. No reading is needed, this is explorer
execution on the remote.
2019-10-08 08:30:27 +02:00
Darko Poljak
e1c08c25b5
Fix missed parameter file reading
2019-10-07 11:29:28 +02:00
Dennis Camera
9a6ca1a343
[__sensible_editor] Remove mixed error reporting from manifest
2019-10-06 12:07:54 +02:00
d106632b2f
Added missing exit 1 in __prometheus_server cdist type
2019-10-05 07:48:58 +02:00
Dennis Camera
9e9c3982a8
Rename __select_editor to __sensible_editor
2019-10-04 14:45:14 +02:00
a432d6a51e
Support Added for Debian 10* in __letsencrypt_cert
2019-10-04 14:13:10 +05:00
Dennis Camera
644768cc02
Add __select_editor type
2019-10-03 22:03:44 +02:00
9a172b62cb
Merge branch 'unquote-os-release' into 'master'
...
[explorer/os] Unquote values from /etc/os-release
See merge request ungleich-public/cdist!803
2019-10-03 20:32:28 +02:00
Dennis Camera
fba14496e7
[explorer/os] Unquote values from os-release file
2019-10-03 18:30:52 +02:00
4345afc8d8
Merge branch 'fix-sshkeys-escape' into 'master'
...
[__ssh_authorized_keys] Fix incorrectly escaped variable
See merge request ungleich-public/cdist!799
2019-10-03 07:55:14 +02:00
Dennis Camera
55f8036377
[explorer/interfaces] Always sort output
...
Before, only the output of ifconfig was sorted.
2019-10-02 18:10:37 +02:00
Dennis Camera
f57ce648a3
[__ssh_authorized_keys] Fix incorrectly escaped variable
2019-10-02 15:38:38 +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