Skip to content

Instantly share code, notes, and snippets.

@pyther
Created September 8, 2015 12:05
Show Gist options
  • Save pyther/3759c139413bc7a0d4b5 to your computer and use it in GitHub Desktop.
Save pyther/3759c139413bc7a0d4b5 to your computer and use it in GitHub Desktop.
Puppet::Functions.create_function(:modularfile) do
def modularfile(path)
path = path.gsub('.', '0x2e')
call_function('hiera', [path])
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment