Created
March 17, 2015 08:50
-
-
Save werdnum/897b177dec60d9613f4e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env ruby | |
class Hiera | |
module Backend | |
class Extrawiki_backend | |
def initialize | |
begin | |
require 'net/http' | |
require 'json' | |
rescue LoadError | |
require 'rubygems' | |
require 'net/http' | |
require 'json' | |
end | |
Hiera.debug("Initialised ExtraWiki backend") | |
end | |
def lookup(key, scope, order_override, resolution_type) | |
Hiera.debug("Looking up #{key} in #{scope}") | |
return nil | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment