Project

General

Profile

Actions

Task #7483

closed

Update the __consul cdist type for alpine

Added by Nico Schottelius over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
12/15/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

seems like the configuration place is different on current alpine that what we assumed/what is in our normal config file:


[23:01] router2.place5:/etc/consul# cat server.json 
{
  "data_dir": "/var/consul",
  "server": true,
  "bootstrap_expect": 1,
  "disable_update_check": true,
  "disable_remote_exec": true,
  "enable_syslog": true
}
[23:01] router2.place5:/etc/consul# cd conf.d/
[23:01] router2.place5:/etc/consul/conf.d# ls
config.json  service_node-exporter.json
[23:01] router2.place5:/etc/consul/conf.d# cat config.json 
{
   "data_dir": "/var/lib/consul" 
   ,"bind_addr": "2a0a:e5c0::4" 
   ,"client_addr": "2a0a:e5c0::4 ::1 127.0.0.1" 
   ,"datacenter": "place5" 
   ,"disable_remote_exec": true
   ,"disable_update_check": true
   ,"encrypt": "...
   ,"retry_join": ["red1.place5.ungleich.ch","red2.place5.ungleich.ch","red3.place5.ungleich.ch"]
}
[23:01] router2.place5:/etc/consul/conf.d# 

If possible, I'd probably replace the server.json parts to include the conf.d/config.json or something in more clean so it still works on devuan/debian/ubuntu

Actions #1

Updated by Timothée Floure over 4 years ago

  • Status changed from New to In Progress

I got the same issue with `__consul_agent` on Debian, which I am currently fixing upstream.

https://code.ungleich.ch/ungleich-public/cdist/merge_requests/837

Actions #3

Updated by Timothée Floure about 4 years ago

  • Status changed from In Progress to Closed

Merged in CDIST upstream (master).

Actions

Also available in: Atom PDF