lib/splash/config/setup.rb in prometheus-splash-0.2.0 vs lib/splash/config/setup.rb in prometheus-splash-0.3.0
- old
+ new
@@ -6,10 +6,10 @@
module ConfigUtilities
include Splash::Constants
include Splash::Helpers
# Setup action method for installing Splash
# @return [Integer] an errorcode value
- def setupsplash
+ def setupsplash(options = {})
conf_in_path = search_file_in_gem "prometheus-splash", "config/splash.yml"
full_res = 0
puts "Splash -> setup : "
unless options[:preserve] then
print "* Installing Configuration file : #{CONFIG_FILE} : "