diff --git a/lib/refrepo/gen/oar-properties.rb b/lib/refrepo/gen/oar-properties.rb index 0fee151e1d002a56de99dc5ba7e5b5d7cd23d696..685a1bca816a764eab288fd75632397455618e38 100644 --- a/lib/refrepo/gen/oar-properties.rb +++ b/lib/refrepo/gen/oar-properties.rb @@ -1421,6 +1421,9 @@ def generate_oar_properties(options) site_name = options[:site] + # Replace the site placeholder of ssh hosts by the site + options[:ssh][:host] = options[:ssh][:host].gsub('%s', site_name) + # If no cluster is given, then the clusters are the cluster of the given site if not options.key? :clusters or options[:clusters].length == 0 if data_hierarchy['sites'].key? site_name