Commit Graph

38 Commits

Author SHA1 Message Date
Nico Schottelius ec935353d7 [__start_on_boot] Merge alpine and gentoo, update gentoo 2019-04-15 17:02:09 +02:00
Nico Schottelius dbf29c18c1 [__start_on_boot] alpine fix 2019-04-15 16:41:27 +02:00
Nico Schottelius 707426d1f0 [__start_on_boot] add code for alpine handling, fix explorer 2019-04-15 16:35:10 +02:00
Nico Schottelius e32d92c109 [__start_on_boot] Begin to add alpine support 2019-04-15 16:32:54 +02:00
Daniel Néri 15ab7c0810 Implement "__start_on_boot --state absent" for OpenBSD 2019-03-16 17:23:19 +01:00
Darko Poljak d11174f2b7 Add missing ;; in case item. 2018-11-03 19:21:20 +01:00
sideeffect42 a34060d703 Improve OpenBSD support (#720)
* [type/__timezone] Whitelist OpenBSD

OpenBSD ships /etc/localtime and /usr/share/zoneinfo by default.

* [type/__postgres_{database,role}] Add explorer support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified as it differs from the
user name.

* [type/__postgres_{database,role}] Add gencode support for OpenBSD

On OpenBSD the "postgres" user is called "_postgresql".
The "postgres" database must me specifically specified when using psql as it
differs from the user name.

* [type/__postgres_role] Query DB if role exists instead of screen scaping

* [type/__postgres_database] Query DB if database exists instead

* [type/__postgres_{database,role}] Add user for NetBSD

* [type/__postgres_extension] Add support for OpenBSD and NetBSD

* [__ssh_authorized_key] Add OpenBSD support to entry explorer

Make sure to adhere to re_format(7) for OpenBSD compatibility.

https://man.openbsd.org/re_format.7

* [type/__start_on_boot] Add support for OpenBSD
2018-11-03 19:17:56 +01:00
Darko Poljak 638ddd95d6 Fix problems found by sellcheck in type explorers. 2018-10-07 19:41:44 +02:00
Jonas Weber 53728a7ff0 Change backslash-dquote to single quote
Slightly breaking change, but improves security and readability.
2018-10-04 19:45:26 +02:00
Jonas Weber ae7ccc5995 Fix SC2086 on all scripts
Relevant documentation: https://github.com/koalaman/shellcheck/wiki/SC2086

relates to: #540

This commit addresses 241 separate cases of missing quotes around
variables.
2018-10-04 19:45:22 +02:00
kamila b695e82bec FreeBSD improvements (#651) 2018-03-26 08:53:31 +02:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
Darko Poljak 9312bcb6b0 chmod +x *manifest *gencode-* 2017-06-28 12:52:10 +02:00
Nico Schottelius 91ff80fa6a Add devuan support for __start_on_boot 2017-06-03 18:15:44 +02:00
kamila 46bbafa509 __start_on_boot: add support for devuan 2017-03-22 12:33:16 +01:00
Darko Poljak df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
Darko Poljak 0dfb4aee73 sphinx> ':manpage:' -> ':strong:' 2016-06-30 15:13:33 +02:00
Darko Poljak f98208f250 Make man pages SEE ALSO by convention. Improve docs building. 2016-06-30 12:09:07 +02:00
Nico Schottelius 55cd9963db Merge pull request #447 from sleemburg/master
Add openvz/lxc discovery
2016-06-30 10:51:18 +09:00
Darko Poljak 51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Stephan Leemburg 9300eda3c6 Add scientific 2016-06-22 13:32:51 +02:00
Darko Poljak cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
smwltr 1882040a25 Adding suuport for OS Devuan 2016-04-12 12:18:47 +09:00
Nico Schottelius b12df5f125 Merge pull request #428 from dheule/bugfix_for_systemd
remove a copy paste artefact which is wrong there
2016-04-06 15:47:09 +02:00
Daniel Heule ac171ba219 remove a copy paste artefact which is wrong there 2016-04-06 17:29:23 +02:00
Darko Poljak f55d00fe96 checkbashisms 2016-03-30 12:43:59 +02:00
Daniel Heule 14f3ee403a fix fo __start_on_boot for ALL systemd distros 2016-03-23 16:34:57 +01:00
Nico Schottelius 28c534445b add Debian 8 support / systemd in __start_on_boot
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-12 01:13:20 +02:00
Nico Schottelius 745f1e2984 support ubuntu upstart in __start_on_boot
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-02-10 23:27:43 +01:00
Daniel Heule f5cee7a57d suses chkconfig has the same name, but works different 2014-01-07 17:31:45 +01:00
Daniel Heule d6f84d1ef0 __start_on_boot incl. gentoo support 2013-12-19 13:54:16 +01:00
Nico Schottelius 122fb96654 use default parameter for __start_on_boot type
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-18 18:09:57 +01:00
Steven Armstrong 127c512f84 call systemctl in subshell to prevent the explorer from failing if it exits non zero
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-08 22:10:25 +02:00
Nico Schottelius 2acce10497 change __start_on_boot to use systemd on archlinux
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-09 23:45:22 +02:00
Nico Schottelius 3d4bb3837f documentation cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 19:22:02 +01:00
Nico Schottelius 82830f191d link __process to __start_on_boot and vice versa
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 18:04:49 +01:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00