bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

Make test failing with unknown function #266

Closed gevraud closed 5 years ago

gevraud commented 5 years ago

Issue with haproxy module

Error :

→ make test Make test ✓ nginx.dev x haproxy_dev: Unknown function: dirname at ./modules/haproxy/manifests/resolver.pp:105:3

The build has failed with 1 failures! Error when running Shake build system:

function is present on line 105 : validate_absolute_path(dirname($_config_file))

PierreR commented 5 years ago

The missing function is here: https://github.com/bartavelle/language-puppet/blob/master/src/Puppet/Runner/Stdlib.hs#L48 Spec here: https://forge.puppet.com/puppetlabs/stdlib#dirname

PierreR commented 5 years ago

Will do it asap