lib/datapimp/configuration.rb in datapimp-1.0.6 vs lib/datapimp/configuration.rb in datapimp-1.0.8
- old
+ new
@@ -56,9 +56,15 @@
home_config_path.open("w+") do |fh|
fh.write(DefaultSettings.to_json)
end
end
+ def deploy_manifests_path
+ Pathname(home_config_path.dirname).join("deploy-manifests").tap do |dir|
+ FileUtils.mkdir_p(dir) unless dir.exist?
+ end
+ end
+
def manifest_filename
"datapimp.json"
end
def dnsimple_setup?