Dennis Camera
5a9a1ba57f
[__line] Produce error when file does not exist
5 years ago
Dennis Camera
51b1b11cc2
[__line/state] Logic fixes in explorer
...
This commit fixes the incorrectly reported state "wrongposition" if position is
"after" and anchor is present in the file but the line missing.
5 years ago
Dennis Camera
4cdb8aaa03
[__line/state] Make sure the index match is at the beginning
...
Without the == 1 all lines which contain --line as a substring match. e.g. if
--line is "line" and the file contains the line "wrong line" this was considered
a match.
5 years ago
Dennis Camera
629d0795c8
[__line] Always add line to end if anchor is not found
5 years ago
Dennis Camera
93ec4b46aa
[__line] Ensure the line is only added once
5 years ago
Ander Punnar
d4bd49bbb5
__acl: rename --acl to --entry for the sake of consistency, add compatibility
5 years ago
Ander Punnar
4329cced82
__mysql_privileges: add manual
5 years ago
Ander Punnar
5e8dc7122d
__mysql_user: add manual
5 years ago
Ander Punnar
fcc774cb7b
__mysql_database: add manual
5 years ago
Ander Punnar
24862e0208
__mysql_database: carry over state
5 years ago
Ander Punnar
9a693537f4
__mysql_*: add license headers
5 years ago
Ander Punnar
c32e4040b1
__mysql_*: initial rewrite
5 years ago
Timothée Floure
beb930c0dc
__postgres_*: use delimited identifiers (double quoted) in generated SQL
5 years ago
Steven Armstrong
df05abd15b
bugfix: __install_chroot_umount was not using __chroot_umount/manifest
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
5 years ago
Nico Schottelius
f407e8825f
[consul/alpine] no init script required to be deployed anymore
5 years ago
Darko Poljak
bd4eee7925
Fix shellcheck reported issues
5 years ago
Evilham
3ba230c10d
[type-docs] __start_on_boot: remove unspported *BSD claim.
...
The type appears to support {Open,Free}BSD properly.
5 years ago
Evilham
35f0d4dbfa
[new-type] __openldap_server: another documentation typo.
5 years ago
Evilham
79d58f0813
[new-type] __openldap_server: fix docs / dependency.
...
It's nicer to have slapd_flags after slapd_enable in rc.conf on freebsd.
5 years ago
Evilham
22c5cd550b
[new-type] __openldap_server: first public version.
...
This already takes care of setting up the base DN and managing it as well as
allowing for settings for the listener URLS.
The type was also made a singleton as it doesn't make much sense to setup
multiple LDAP servers on the same machine.
5 years ago
Evilham
42914d26c5
[new-type] __openldap_server: sudo make nico.happy.
5 years ago
Evilham
1ad605a509
[new-type] __openldap_server: Add admin-email parameter.
5 years ago
Evilham
fd430eab62
[new-type] __openldap_server: Add a "schema" optional parameter.
5 years ago
Evilham
bee95efa43
[new-type] __openldap_server
...
Originally developed at ungleich and improved for Open Sourcing by Evilham.
5 years ago
Darko Poljak
f22349ce8a
Fix documentation for install types
...
Fixes gitlab #790 .
5 years ago
Dominique Roux
d25c72e678
[PACKAGE-UPDATE-INDEX]: Bugfix of the alpine part of the __package_update_index type
5 years ago
Darko Poljak
d1c3264cce
Revert "Merge branch '__clean_path_use_types' into 'master'"
...
This reverts commit 073523be38
, reversing
changes made to 56435492a0
.
5 years ago
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