# cat /opt/rudder/etc/rudderc.conf
[shared]
stdlib="/opt/rudder/share/rudder-lang/lib/"
generic_methods="/opt/rudder/share/rudder-lang/tools/generic_methods.toml"
ncf="/usr/share/ncf"
[compile]
source="/var/rudder/configuration-repository/techniques/ncf_techniques/"
dest="/tmp/rudderc/tester/"
format="cf"
[translate]
source="/tmp/rudderc/tester/"
dest="/tmp/rudderc/tester/"
format="rl" # no other option for now
[testing_loop]
cfengine="/opt/rudder/bin/cf-promises"
py_modules="/opt/rudder/share/python/"
# cat /var/rudder/configuration-repository/techniques/ncf_techniques/sqfsqfsqfqsfsdf/1.0/technique.json
{
"bundle_name":"sqfsqfsqfqsfsdf",
"version":"1.0",
"category":"ncf_techniques",
"description":"",
"name":"sqfsqfsqfqsfsdf",
"method_calls":[
{
"method_name":"user_present",
"class_context":"any",
"component":"User present",
"args":[
"nicolas"
],
"parameters":[
{
"name":"login",
"value":"nicolas"
}
]
}
],
"parameter":[],
"resources":[]
}
# /opt/rudder/bin/rudderc -t -c /opt/rudder/etc/rudderc.conf -s /var/rudder/configuration-repository/techniques/ncf_techniques/sqfsqfsqfqsfsdf/1.0/technique.json
error at Could not parse (probably faulty) toml config file: error at Could not parse format rl for key `translate.format` at line 16 column 1
An error occurred, 'output not set' file has not been created from 'input not set'