lib/percheron/config.rb in percheron-0.7.12 vs lib/percheron/config.rb in percheron-0.7.13
- old
+ new
@@ -45,9 +45,17 @@
def secrets
secrets_file ? Hashie::Mash.new(YAML.load_file(secrets_file)) : {}
end
+ def self.userdata
+ instance.userdata
+ end
+
+ def userdata
+ contents.userdata || {}
+ end
+
def self.docker
instance.docker
end
def docker