From: elijah Date: Wed, 10 Oct 2012 07:11:25 +0000 (-0700) Subject: hiera yaml output filenames are just the node name, not the domain name. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=64073733a1213a5e4fe2fef7722996f62ba89c5c;p=leap%2Fleap_cli.git hiera yaml output filenames are just the node name, not the domain name. --- diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb index b1ea68c..6a7c1e9 100644 --- a/lib/leap_cli/config/manager.rb +++ b/lib/leap_cli/config/manager.rb @@ -32,7 +32,9 @@ module LeapCli File.unlink(f) end @nodes.each do |name, node| - File.open("#{dir}/#{name}.#{node.domain_internal}.yaml", 'w') do |f| + # not sure if people will approve of this change: + # File.open("#{dir}/#{name}.#{node.domain_internal}.yaml", 'w') do |f| + File.open("#{dir}/#{name}.yaml", 'w') do |f| f.write node.to_yaml end end