Skip to content

Instantly share code, notes, and snippets.

@fiddyspence
Created November 13, 2015 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fiddyspence/f30c7e70f7808a3562e7 to your computer and use it in GitHub Desktop.
Save fiddyspence/f30c7e70f7808a3562e7 to your computer and use it in GitHub Desktop.
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, function 'regsubst' called with mis-matched arguments
expected one of:
regsubst(Variant[Array[String], String] target, String pattern, String replacement, Optional[Pattern[/^[GEIM]*$/]] flags?, Enum['N', 'E', 'S', 'U'] encoding?) - arg count {3,5}
regsubst(Variant[Array[String], String] target, Variant[Regexp, Type[Regexp]] pattern, String replacement, Pattern[/^G?$/] flags?) - arg count {3,4}
actual:
regsubst(Undef, String, String, String) - arg count {4} at... on node spenceware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment