summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/manager.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-10 00:11:25 -0700
committerelijah <elijah@riseup.net>2012-10-10 00:11:25 -0700
commit64073733a1213a5e4fe2fef7722996f62ba89c5c (patch)
treee09cba409e8ebe2487515d5fb318995e98295cfd /lib/leap_cli/config/manager.rb
parent47062a50e9bba238191838a6625b81793afa8472 (diff)
hiera yaml output filenames are just the node name, not the domain name.
Diffstat (limited to 'lib/leap_cli/config/manager.rb')
-rw-r--r--lib/leap_cli/config/manager.rb4
1 files changed, 3 insertions, 1 deletions
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