Commit Graph

10 Commits

Author SHA1 Message Date
Nico Schottelius 21a16f5584 consul, changelog, consul agent => alpine 2019-05-18 23:46:09 +02: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
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
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 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 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