"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "events/src/eventsapiconf.py" between
glusterfs-8.1.tar.gz and glusterfs-8.2.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).

eventsapiconf.py  (glusterfs-8.1):eventsapiconf.py  (glusterfs-8.2)
skipping to change at line 31 skipping to change at line 31
stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
universal_newlines = True) universal_newlines = True)
out, err = proc.communicate() out, err = proc.communicate()
if proc.returncode == 0: if proc.returncode == 0:
glusterd_workdir = out.strip() glusterd_workdir = out.strip()
else: else:
glusterd_workdir = "/var/lib/glusterd" glusterd_workdir = "/var/lib/glusterd"
return glusterd_workdir return glusterd_workdir
SERVER_ADDRESS = "0.0.0.0" SERVER_ADDRESS = "0.0.0.0"
SERVER_ADDRESSv4 = "0.0.0.0"
SERVER_ADDRESSv6 = "::1"
DEFAULT_CONFIG_FILE = "/usr/local/etc/glusterfs/eventsconfig.json" DEFAULT_CONFIG_FILE = "/usr/local/etc/glusterfs/eventsconfig.json"
CUSTOM_CONFIG_FILE_TO_SYNC = "/events/config.json" CUSTOM_CONFIG_FILE_TO_SYNC = "/events/config.json"
CUSTOM_CONFIG_FILE = get_glusterd_workdir() + CUSTOM_CONFIG_FILE_TO_SYNC CUSTOM_CONFIG_FILE = get_glusterd_workdir() + CUSTOM_CONFIG_FILE_TO_SYNC
WEBHOOKS_FILE_TO_SYNC = "/events/webhooks.json" WEBHOOKS_FILE_TO_SYNC = "/events/webhooks.json"
WEBHOOKS_FILE = get_glusterd_workdir() + WEBHOOKS_FILE_TO_SYNC WEBHOOKS_FILE = get_glusterd_workdir() + WEBHOOKS_FILE_TO_SYNC
LOG_FILE = "/var/log/glusterfs/events.log" LOG_FILE = "/var/log/glusterfs/events.log"
EVENTSD = "glustereventsd" EVENTSD = "glustereventsd"
CONFIG_KEYS = ["log-level", "port", "disable-events-log"] CONFIG_KEYS = ["log-level", "port", "disable-events-log"]
BOOL_CONFIGS = ["disable-events-log"] BOOL_CONFIGS = ["disable-events-log"]
INT_CONFIGS = ["port"] INT_CONFIGS = ["port"]
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)