Commit a9b18c5e authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

add eosfunc file

parent ddf184ac
from json import load
from creole import eosfunc
from os.path import isfile
import imp
FILE_PATH = '/var/lib/eole/zephir/config.env'
EOSFUNC_PATH = '/var/lib/eole/zephir/config.creolefuncs'
def environment():
grains = {}
eosfunc = imp.load_source('eosfunc', EOSFUNC_PATH)
with open(FILE_PATH, "r") as fhr:
probes = load(fhr)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment