Isomorfeus::Puppetmaster.register_server :iodine do |app, port, host, **options| begin require 'iodine' require 'iodine/version' require 'rack/handler/iodine' rescue LoadError raise LoadError, "Unable to load 'iodine' as server." end Iodine::Rack.run(app, { Host: host, Port: port }.merge(options)) end Isomorfeus::Puppetmaster.server = :iodine