Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
rbfeeder adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasreiser committed Apr 20, 2020
1 parent 420bc9f commit 72e610f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions root/etc/confd/rbfeeder/templates/rbfeeder.ini.tmpl
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
[client]
network_mode=true
key={{getv "/key"}}
log_file=/tmp/rbfeeder.log
{{- range gets "/*" }}
{{base .Key }}={{ .Value }}
{{- end }}
{{- range gets "/*/dash/*" }}
{{base (dir (dir .Key))}}-{{base .Key }}={{ .Value }}
{{- end }}
{{- range gets "/*/dash/*/dash/*" }}
{{base (dir (dir (dir (dir .Key))))}}-{{base (dir (dir .Key))}}-{{base .Key }}={{ .Value }}
{{- end }}
{{- range gets "/*/dash/*/dash/*/dash/*" }}
{{base (dir (dir (dir (dir (dir (dir .Key))))))}}-{{base (dir (dir (dir (dir .Key))))}}-{{base (dir (dir .Key))}}-{{base .Key }}={{ .Value }}
{{- end }}

[network]
mode=beast
Expand Down
2 changes: 1 addition & 1 deletion root/etc/cont-init.d/05-confd-rbfeeder
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default_value()
export $key
}

#default_value "key" ""
default_value "key" ""

if [ ! -f /etc/rbfeeder.ini ]; then
/opt/confd/bin/confd -onetime -confdir "/etc/confd/rbfeeder" -prefix "rbfeeder" -backend env
Expand Down

0 comments on commit 72e610f

Please sign in to comment.