Ander Punnar
2848a6a0f4
__clean_path: use __directory and __file types for better clarity
5 years ago
Daniel Tschada
64b07af4ab
give error msg to stderr
5 years ago
Ander Punnar
4ed18e3446
__hostname: silence grep exit 1, when os_version is not numeric
...
on Debian Sid os_version returns 'bullseye/sid'
5 years ago
Ander Punnar
01bd01573e
__apt_key: use mktemp for unique temporary gpg home
5 years ago
Thomas Eckert
552860b9cd
add parameters for ownership and generic rsync-options (__xymon_config)
5 years ago
Thomas Eckert
34bd96db4b
add `--msgcache`-parameter to support passive clients (__xymon_client)
...
Fix a typo along the way, too.
5 years ago
Dennis Camera
a45e306123
[__hostname] Better support different versions of SuSE
5 years ago
Dennis Camera
f18bdd1fad
[__hostname] Comment out support for ancient ArchLinux versions
5 years ago
Dennis Camera
a885082534
[__hostname] Little bit of clean up
5 years ago
Dennis Camera
88947d45b3
[__hostname] Add support for Solaris
5 years ago
Dennis Camera
c939bd6bf6
[__hostname] Small fixes
6 years ago
Dennis Camera
5eb9fec550
[__hostname] Add support for Slackware
6 years ago
Dennis Camera
66c85230a0
[__hostname] Make __key_value names more meaningful
6 years ago
Dennis Camera
b9571a2bbd
[__hostname] Add support for Void Linux
6 years ago
Ahmed Bilal
0ec52fd1bd
alpine support added in __package_update_index
6 years ago
Dennis Camera
cbae534af5
[__hostname] Patch for modern ArchLinux without hostname(1)
6 years ago
Dennis Camera
f276813f7f
[__hostname] Remove incorrectly sent messages (again)
...
The --onchage sent the message on the target where messaging is not supported.
Now the result is that a "changed" message is only emitted when the running
hostname changes, not when the persistent hostname changes.
6 years ago
Dennis Camera
e7279680ed
[__hostname/man.rst] Add link to RFC 1178
6 years ago
Dennis Camera
6eec5f87a4
[__hostame] Simplify and revert hostnamectl to be a last resort
6 years ago
Dennis Camera
b65ceba569
[__hostame] Resolve shellcheck errors
6 years ago
Dennis Camera
d4313c7501
[__hostname] Fix checking of maximum hostname length against sysconf(3)
6 years ago
Dennis Camera
629d443f5a
[__hostname] Fix "command not found" errors with old Bash
6 years ago
Dennis Camera
c3b066c147
[__hostname] Check hostname length if getconf(1) is available
6 years ago
Dmitry Bogatov
32c15f2ecb
Fix spelling error in manpage
6 years ago
Nico Schottelius
689b5a2992
[letsencrypt_cert] add support for alpine
6 years ago
Ahmed Bilal
f5c725a57f
Fix issues/Make prometheus+grafana+blackbox types compatible with Debian 10
6 years ago
Dennis Camera
e462821e46
[__sensible_editor] Fix SC2028
6 years ago
Dennis Camera
9567826dc1
[__sensible_editor] Fix incorrect require variable
6 years ago
Dennis Camera
58eb474b01
[__sensible_editor] Add exists as a possible --state value
6 years ago
Dennis Camera
365974c447
[__sensible_editor] Use int comparisons in version_ge
6 years ago
Nico Schottelius
2bc26e398c
[__letsencrypt_cert] Add Arch Linux support
6 years ago
Dennis Camera
9edf5e8fe0
[__sensible_utils] Fix Ubuntu version detection
6 years ago
Dennis Camera
8b0734f719
[__sensible_editor] Improve error message when a basename of an editor not in the alternatives is provided
6 years ago
Dennis Camera
3bbb7b02d2
[__sensible_editor] Allow to omit the --editor parameter if --state is absent
6 years ago
Dennis Camera
00dd16d7c3
[__sensible_editor] List available editors when an incorrect one is provided
6 years ago
Dennis Camera
cee553a6dd
[__hostname] Improve systemd hostname setting
...
This means we write to /etc/hostname before running hostnamectl, so that
it can overwrite the file if it wants to.
6 years ago
Dennis Camera
30c7d153e8
[__hostname] Only write to distro specific file when hostnamectl is missing
6 years ago
Dennis Camera
f782a85470
[__sensible_editor] Reword limitations paragraph of man page
6 years ago
Dennis Camera
d11b191547
[__sensible_editor] Document supported operating systems in man page
6 years ago
Dennis Camera
e64d1710b5
[__sensible_editor] Add support for old Ubuntu versions
6 years ago
Dennis Camera
522100b9fb
[__sensible_editor] Refactor
6 years ago
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.
6 years ago
Thomas Eckert
0bdc62482a
add new type `__xymon_client`
6 years ago
Thomas Eckert
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.
6 years ago
Thomas Eckert
48ed7f1754
correct condition -- should check on remote side
6 years ago
Thomas Eckert
f35a1b9cdf
add new type `__xymon_apache` as a helper for `__xymon_server`
...
Details in `man.rst`
6 years ago
Thomas Eckert
7d235fb013
add new type `__xymon_server`
...
This type installs a Xymon monitoring-server. See https://xymon.com/ for
a demo and further information.
6 years ago
Jonas Hagen
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.
6 years ago
Jonas Hagen
0c7d98e89e
Use --recurse-submodules instead of --recursive
...
The option --recursive is not documented for git >2.11 (2016),
instead --recurse-submodules should be used.
6 years ago
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.
6 years ago