Commit Graph

40 Commits

Author SHA1 Message Date
Darko Poljak b25939cdd6 Fix shellcheck 2020-03-27 13:30:52 +01:00
Nico Schottelius 66d9905029 [__consul_agent] make conf_dir depent on the OS 2020-03-26 21:48:17 +01:00
fnux e6f683b886 Add support for alpine (edge) package to __consul_agent 2020-02-24 09:20:49 +01:00
fnux 31ad1bdaad Fix various typos and styling errors in __consul_agent, conf-dir
explorer
2020-02-17 13:43:18 +01:00
fnux 70200cd28f Refactor __consul_agent type to support distribution packages 2020-02-17 13:42:19 +01:00
Nico Schottelius f3237e5d76 [consul agent] add support for Debian 10 2020-02-03 17:44:47 +01:00
Nico Schottelius f407e8825f [consul/alpine] no init script required to be deployed anymore 2019-12-15 22:56:16 +01:00
Nico Schottelius 21a16f5584 consul, changelog, consul agent => alpine 2019-05-18 23:46:09 +02:00
kjg 8ad93a29c9 update for debian version 9 2018-12-12 01:40:39 +09:00
Darko Poljak 7a9dea9754 Improve quoting. 2018-10-10 12:56:48 +02:00
Darko Poljak c58e12a4b9 shellcheck on /files/ scripts. 2018-10-10 12:43:39 +02:00
Nico Schottelius 256c8324a0 Merge branch 'master' of github.com:ungleich/cdist
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2018-10-09 19:43:41 +02:00
tom d950ddada3 fix SC2045 (use globs instead of `ls`) 2018-10-04 16:01:45 +02:00
Jonas Weber 6326eae1bb Fix SC2166 on all manfest/gencode/explorers 2018-10-01 22:13:24 +02:00
Nico Schottelius 709c216096 [__consul_agent] Add LSB header so that innserv doe not fail 2018-05-27 19:07:57 +02:00
Nico Schottelius 54ca7b40c7 Update consul agent init script so that it works again on Devuan
Error before:

---- BEGIN code-remote:stderr ----
insserv: warning: script 'consul' missing LSB tags and overrides
insserv: There is a loop between service monit and consul if stopped
insserv:  loop involving service consul at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping consul depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
2018-03-06 22:33:10 +01:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
kamila 5ec8ac90d9 consul: add http check; add new version 2017-05-31 18:21:24 +02:00
Steven Armstrong 4c1c1e990d Merge remote-tracking branch 'ungleich/master' 2016-10-05 23:22:44 +02:00
Steven Armstrong 8e967424de consul syslog config option should be called enable_syslog instead
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-10-05 23:22:36 +02:00
Darko Poljak df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
Darko Poljak 0d82c37928 Fix spelling errors (Dmitry Bogatov). 2016-07-18 19:43:26 +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
Steven Armstrong 7997551b48 Merge remote-tracking branch 'telmich/master' 2015-10-27 15:55:25 +01:00
David Hürlimann 90f3f81c39 Added advertise-wan as optional parameter for consul 2015-08-28 01:25:05 +02:00
David Hürlimann ef98c54989 Added retry-join-wan to consul parameters 2015-08-14 22:54:55 +02:00
Steven Armstrong c3bf4c7b61 correctly merge and reformat custom json into generated config
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-08-13 20:45:31 +02:00
Steven Armstrong c4aef429c2 dont use `consul leave` to shutdown, just kill instead
If all servers in a cluster leave, the cluster is basically destroyed.
Servers are supposed to just die without leaving, otherwise rejoin no
longer works and manual recovery is required.

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-07-23 23:19:33 +02:00
Steven Armstrong b515601c9c create /var/run/consul with permissions suitable for storing unix sockets
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-07-23 22:06:16 +02:00
Nico Schottelius 27fd52f472 systemd for debian 8
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
2015-05-12 01:02:48 +02:00
Nico Schottelius 5566062139 add debian support to __consul_agent
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-03-16 19:00:47 +01:00
Steven Armstrong 5239943bed confirmed to work on ubuntu
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-03-06 14:25:53 +01:00
Steven Armstrong 8820c1ca2b add support for acl options
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-03-05 16:39:14 +01:00
Nico Schottelius 40a582ca45 remove config_dir from the consul configuration file - fixes #385
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-02-24 20:43:31 +01:00
Steven Armstrong 2c7ab566e1 add new types to manage consul and friends
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2015-02-24 13:10:17 +01:00