lib/catfish/cli/init.rb in catfish-0.0.5 vs lib/catfish/cli/init.rb in catfish-0.0.6
- old
+ new
@@ -21,19 +21,23 @@
provisioners << 'shell' if options[:shell]
provisioners << 'puppet' if options[:puppet]
plugins << 'vagrant-librarian-puppet' if options['puppet-librarian-puppet']
opts = {
+ local: options[:local],
+ local_box: options['local-box'],
+ local_box_url: options['local-box-url'],
+ managed: options[:managed],
provisioners: provisioners || [],
shell_paths: options['shell-paths'] || ['{{PATH_TO_YOUR_SCRIPT}}'],
puppet_hiera: options['puppet-hiera'],
puppet_librarian_puppet: options['puppet-librarian-puppet'],
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_private_key_path: options['ssh-private-key-path'] || '{{PATH_TO_YOUR_SSH_PRIVATE_KEY}}',
- servers: options['servers'] || [],
+ managed_servers: options['managed-servers'] || [],
plugins: plugins || []
}
templates = {
'Catfishfile.tt' => 'Catfishfile',