Created
September 8, 2015 12:05
-
-
Save pyther/3759c139413bc7a0d4b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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