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

Parser: function namespace is not supported #271

Closed PierreR closed 5 years ago

PierreR commented 5 years ago

e.g: https://github.com/theforeman/puppet-foreman/blob/master/manifests/params.pp#L171

foreman.dev: cannot parse ./modules/foreman/manifests/params.pp:64:24:
  $db_password = extlib::cache_data('foreman_cache_data', 'db_password', extlib::random_password(32))
                        ^
 unexpected ':'
expecting "!=", "!~", "<<", "<=", "==", "=~", ">=", ">>", "and", "in", "or", '*', '+', '-', '.', '/', '<', '>', '?', '[', or '}'
at ./modules/application/manifests/foreman.pp:14:10
PierreR commented 5 years ago