lib/isomorfeus/puppetmaster/server_registration.rb in isomorfeus-puppetmaster-0.2.5 vs lib/isomorfeus/puppetmaster/server_registration.rb in isomorfeus-puppetmaster-0.2.6

- old
+ new

@@ -24,10 +24,10 @@ puts "* Version #{Falcon::VERSION}" Rack::Handler::Falcon.run(app, { Host: host, Port: port }.merge(options)).join end -Isomorfeus::Puppetmaster.register_server :iodine do |app, port, _host, **options| +Isomorfeus::Puppetmaster.register_server :iodine do |app, port, host, **options| begin require 'iodine/version' require 'rack/handler/iodine' rescue LoadError raise LoadError, "Unable to load 'iodine' as server." \ No newline at end of file