lib/catfish/cli/init.rb in catfish-0.0.3 vs lib/catfish/cli/init.rb in catfish-0.0.4

- old
+ new

@@ -15,17 +15,18 @@ 'Catfishfile.tt' => 'Catfishfile', 'Vagrantfile.tt' => 'Vagrantfile' } opts = { - provisioners: options[:provisioners] || [], - shell_paths: options['shell-paths'] || ['{{PATH_TO_YOUR_SCRIPT}}'], - communicator: options[:communicator] || 'ssh', + provisioners: options[:provisioners] || [], + shell_paths: options['shell-paths'] || ['{{PATH_TO_YOUR_SCRIPT}}'], + communicator: options[:communicator] || 'ssh', winrm_username: options['winrm-username'] || '{{YOUR_WINRM_USERNAME}}', winrm_password: options['winrm-password'] || '{{YOUR_WINRM_PASSWORD}}', - ssh_username: options['ssh-username'] || '{{YOUR_SSH_USERNAME}}', + ssh_username: options['ssh-username'] || '{{YOUR_SSH_USERNAME}}', ssh_private_key_path: options['ssh-private-key-path'] || '{{PATH_TO_YOUR_SSH_PRIVATE_KEY}}', - servers: options['servers'] || [] + servers: options['servers'] || [], + plugins: options['plugins'] || [] } templates.each do |src, dst| thor.template(src, dst, opts) end