lang: funcs: Add a new readfile function

This adds a new function that reads files from the local host.
This commit is contained in:
James Shubin
2019-02-01 05:20:22 -05:00
parent f716a3a73b
commit 5a531b7948
4 changed files with 241 additions and 0 deletions

View File

@@ -23,5 +23,6 @@ import (
_ "github.com/purpleidea/mgmt/lang/funcs/core/coreexample"
_ "github.com/purpleidea/mgmt/lang/funcs/core/corefmt"
_ "github.com/purpleidea/mgmt/lang/funcs/core/coremath"
_ "github.com/purpleidea/mgmt/lang/funcs/core/coreos"
_ "github.com/purpleidea/mgmt/lang/funcs/core/coresys"
)