<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -107,12 +107,12 @@ class ChefServerSlice::OpenidConsumer &lt; ChefServerSlice::Application
       true
     end
   end
-   
+
   def is_authorized_openid_identifier?(openid, authorized_identifiers)
     Chef::Log.debug(&quot;checking for valid openid identifier: openid: #{openid}, authorized openids: #{authorized_identifiers}&quot;)
     if authorized_identifiers and openid
-      if authorized_identifiers.length &gt; 0 
-        authorized_identifiers.detect { |p| Chef::Log.debug(&quot;openid: #{openid} (#{openid.class}), p: #{p} (#{p.class})&quot;); openid == p } 
+      if authorized_identifiers.length &gt; 0
+        authorized_identifiers.detect { |p| Chef::Log.debug(&quot;openid: #{openid} (#{openid.class}), p: #{p} (#{p.class})&quot;); openid == p }
       else
         true
       end</diff>
      <filename>chef-server-slice/app/controllers/openid_consumer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -93,16 +93,23 @@ class Chef::Application::Indexer &lt; Chef::Application
       Chef::Daemon.daemonize(&quot;chef-indexer&quot;)
     end
 
+    if Chef::Config[:queue_prefix]
+      queue_prefix = Chef::Config[:queue_prefix]
+      queue_partial_url = &quot;/queue/#{queue_prefix}/chef&quot;
+    else
+      queue_partial_url = &quot;/queue/chef&quot;
+    end
+
     loop do
       object, headers = Chef::Queue.receive_msg
       Chef::Log.info(&quot;Headers #{headers.inspect}&quot;)
-      if headers[&quot;destination&quot;] == &quot;/queue/chef/index&quot; || headers[&quot;destination&quot;] == &quot;/queue/#{queue_prefix}/chef/index&quot;
+      if headers[&quot;destination&quot;] == &quot;#{queue_partial_url}/index&quot;
         start_timer = Time.new
         @chef_search_indexer.add(object)
         @chef_search_indexer.commit
         final_timer = Time.new
         Chef::Log.info(&quot;Indexed object from #{headers['destination']} in #{final_timer - start_timer} seconds&quot;)
-      elsif headers[&quot;destination&quot;] == &quot;/queue/chef/remove&quot; || headers[&quot;destination&quot;] == &quot;/queue/#{queue_prefix}/chef/remove&quot;
+      elsif headers[&quot;destination&quot;] == &quot;#{queue_partial_url}/remove&quot;
         start_timer = Time.new
         @chef_search_indexer.delete(object)
         @chef_search_indexer.commit</diff>
      <filename>chef/lib/chef/application/indexer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a51bb6abc385d3333ade0926756b3d9c50bcb71b</id>
    </parent>
  </parents>
  <author>
    <name>zeusfaber</name>
    <email>joe@joetify.com</email>
  </author>
  <url>http://github.com/joewilliams/chef/commit/8cc9d0b2f5a4dc3495bb35a8ebe8c0c88fd3a0ff</url>
  <id>8cc9d0b2f5a4dc3495bb35a8ebe8c0c88fd3a0ff</id>
  <committed-date>2009-06-30T15:49:12-07:00</committed-date>
  <authored-date>2009-06-30T15:49:12-07:00</authored-date>
  <message>fix for chef-indexer when prefix is nil</message>
  <tree>4a85cdaa626a695ba952f4766bf621cd8a254ea1</tree>
  <committer>
    <name>zeusfaber</name>
    <email>joe@joetify.com</email>
  </committer>
</commit>
