Skip to content

Instantly share code, notes, and snippets.

root@dev-app01-ffrank:/home/demo/git/presentations/2020-02-puppet-from-mgmt-on-overdrive# cat demo3/supported.mcl
pkg "haproxy" {
state => "installed",
}
file "/etc/haproxy/haproxy.conf" {
mode => "0640",
}
$ mgmt run --tmp-prefix lang examples/lang/os.mcl
2020-02-09 19:11:39.566679 I | cli: lang: lexing/parsing...
2020-02-09 19:11:39.602894 I | cli: lang: init...
2020-02-09 19:11:39.603889 I | cli: lang: interpolating...
2020-02-09 19:11:39.606002 I | cli: lang: building scope...
2020-02-09 19:11:39.610499 I | run: error: cli parse error: could not set scope: import scope `golang/exec` failed: system import of `golang/exec` failed: could not find any non-empty scope named: golang/exec
$ $ uname -a
Linux dev-app01-ffrank 4.4.0-140-generic #166-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux