From fee0f8d8abe713870945249646bb2ea64fbc4c4c Mon Sep 17 00:00:00 2001 From: viq Date: Thu, 10 Oct 2013 13:04:31 +0200 Subject: [PATCH] Fix seed_master key file name As per https://github.com/saltstack/salty-vagrant/pull/98 and https://github.com/saltstack/salty-vagrant/issues/97 the expected file name for minion is 'minion', not 'seed-minion.pub' --- plugins/provisioners/salt/provisioner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/salt/provisioner.rb b/plugins/provisioners/salt/provisioner.rb index 49404398d..f1052caa9 100644 --- a/plugins/provisioners/salt/provisioner.rb +++ b/plugins/provisioners/salt/provisioner.rb @@ -93,7 +93,7 @@ module VagrantPlugins @machine.communicate.sudo("mkdir -p -m777 #{seed_dir}") @config.seed_master.each do |name, keyfile| sourcepath = expanded_path(keyfile).to_s - dest = "#{seed_dir}/seed-#{name}.pub" + dest = "#{seed_dir}/#{name}" @machine.communicate.upload(sourcepath, dest) end options = "#{options} -k #{seed_dir}"