On 02/18/2011 08:52 PM, Chris Lalancette wrote:
The mass rename unfortunately forgot to fix condormatic,
which means the wrong provider classads were being generated.
Fix that here.
Signed-off-by: Chris Lalancette<clalance(a)redhat.com>
---
src/app/util/condormatic.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/util/condormatic.rb b/src/app/util/condormatic.rb
index 80040b3..e62600b 100644
--- a/src/app/util/condormatic.rb
+++ b/src/app/util/condormatic.rb
@@ -235,7 +235,7 @@ def condormatic_classads_sync
pipe.puts 'MyType="Machine"'
pipe.puts 'Requirements=true'
pipe.puts "\n# Stuff needed to match:"
- pipe.puts
"hardwareprofile=\"#{hwp.aggregator_hardware_profiles[0].id}\""
+ pipe.puts
"hardwareprofile=\"#{hwp.conductor_hardware_profiles[0].id}\""
pipe.puts "image=\"#{provider_image.image.template.id}\""
pipe.puts "realm=\"#{realm.frontend_realms[0].id}\""
pipe.puts "\n# Backend info to complete this job:"
ACK