Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Correcting content-type for compatibility with rundeck 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Eliot committed Nov 4, 2011
1 parent cc0826b commit 0c6d9ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/chef-rundeck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def configure
end

get '/' do
content_type 'text/xml'
response = '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE project PUBLIC "-//DTO Labs Inc.//DTD Resources Document 1.0//EN" "project.dtd"><project>'
Chef::Node.list(true).each do |node_array|
node = node_array[1]
Expand Down

0 comments on commit 0c6d9ba

Please sign in to comment.