]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
hiera yaml output filenames are just the node name, not the domain name.
authorelijah <elijah@riseup.net>
Wed, 10 Oct 2012 07:11:25 +0000 (00:11 -0700)
committerelijah <elijah@riseup.net>
Wed, 10 Oct 2012 07:11:25 +0000 (00:11 -0700)
lib/leap_cli/config/manager.rb

index b1ea68c1d6418d1ab33cc5b5a2262c59d21ec2b6..6a7c1e982889b846f82db4cc95fe61c58e5eee81 100644 (file)
@@ -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