Seth Vargo
c8bdf53c7e
Rename push environment to env
2014-12-08 11:35:12 -08:00
Seth Vargo
8aaf5dc578
Add the FTP push
2014-12-08 11:35:12 -08:00
Seth Vargo
80851a887f
Create an Adapter to bridge the APIs between SFTP and FTP libraries
2014-12-08 11:35:12 -08:00
Seth Vargo
eb5cecc782
Create ftp push plugin with custom i18n loading
2014-12-08 11:35:12 -08:00
Seth Vargo
b90253ea8c
Create ftp push config
2014-12-08 11:35:12 -08:00
Seth Vargo
f85d96b425
Add fake_ftp as a development dep
2014-12-08 11:35:12 -08:00
Seth Vargo
1ac68808e0
Add net-sftp as a dep
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
913dafd3aa
pushes/harmony: remove unneceessary if
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
81f748347e
pushes/harmony: fixes from @sethvargo
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
fefaa8da71
pushes/harmony: use to_s.strip.empty? to check if app is set
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
1705460880
pushes/harmony: expand dir relative to Vagrantfile root path
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
f3f4f4aeb6
pushes/harmony: stub I18n
2014-12-08 11:35:12 -08:00
Mitchell Hashimoto
efffc5f2f7
push/harmony: basic push implementation
2014-12-08 11:35:11 -08:00
Mitchell Hashimoto
168715ad7d
push/harmony: ability to set uploader path
2014-12-08 11:35:11 -08:00
Mitchell Hashimoto
e7b0661a93
pushes/harmony: boilerplate, config
2014-12-08 11:35:11 -08:00
Seth Vargo
9af7675bd3
Use a more readable version for setter
2014-12-08 11:35:11 -08:00
Seth Vargo
1121e96cf7
Remove TODO comment about duplicate code
2014-12-08 11:35:11 -08:00
Seth Vargo
35b7e28011
Do not use UNSET_VALUE in plugin (it uses components)
2014-12-08 11:35:11 -08:00
Seth Vargo
41ac448ba8
Add tests for Push config merging and finalizing
2014-12-08 11:35:11 -08:00
Seth Vargo
111a43552e
Add tests for Environment#pushes and #Enviroment#push
2014-12-08 11:35:11 -08:00
Seth Vargo
f3c35855f0
Add a newline because #ocd
2014-12-08 11:35:11 -08:00
Seth Vargo
7f6a4fa3bd
Add tests for plugin manager push_configs
2014-12-08 11:35:11 -08:00
Seth Vargo
88aa106327
Fix up i18n missing translation
2014-12-08 11:35:11 -08:00
Seth Vargo
411c7d6f75
Define finalize! and __compiled_pushes for Push config
2014-12-08 11:35:11 -08:00
Seth Vargo
8e2f18761f
Remove unused methods from vagrantfile.rb
2014-12-08 11:35:10 -08:00
Seth Vargo
e5b10aa86b
Collect push_configs in the Plugin Manager
2014-12-08 11:35:10 -08:00
Seth Vargo
413565f961
Simplify the API for Environment#push
...
The API has a precondition that `name` is not nil
2014-12-08 11:35:10 -08:00
Seth Vargo
3871154a74
Ignore options that come back from the plugin for now
2014-12-08 11:35:10 -08:00
Seth Vargo
988518a6ba
Make Environment#pushes its own method
2014-12-08 11:35:10 -08:00
Seth Vargo
190da26404
Push does not have access to @machine
2014-12-08 11:35:10 -08:00
Seth Vargo
03b8105571
Super primitive implementation of Environment#push
2014-12-08 11:35:10 -08:00
Seth Vargo
b6c5ca6b7a
Add Push command and tests
2014-12-08 11:35:10 -08:00
Seth Vargo
d79a0d52dd
Do not use Enumerable in Registry
...
Calling methods like #first in Registry is misleading because it returns
a different result than registry.get(registry.keys.first).
2014-12-08 11:35:10 -08:00
Seth Vargo
c0b107ff69
Add Registry#empty? to check if a registry has any items
2014-12-08 11:35:10 -08:00
Seth Vargo
2b03838fba
Make Registry enumerable
...
Registry already responds to #each, so including the Enumerable module
gives us nice methods like #select and #collect fo' free!
2014-12-08 11:35:10 -08:00
Seth Vargo
bc4bbb9fc0
Add #length and #size methods to Registry
2014-12-08 11:35:10 -08:00
Seth Vargo
60a8472891
Use a pushes registry instead of data hash
2014-12-08 11:35:09 -08:00
Seth Vargo
0e824cc471
Rename file push to noop push
2014-12-08 11:35:09 -08:00
Seth Vargo
72affa0a10
Accept a list of options in #push signature
2014-12-08 11:35:09 -08:00
Seth Vargo
5b9240ad8a
Add Push to the PLUGIN_COMPONENTS
2014-12-08 11:35:09 -08:00
Seth Vargo
87b4e1f2cc
Accept an environment in the push config
2014-12-08 11:35:09 -08:00
Seth Vargo
8a7e546972
Add preliminary File pusher (incomplete)
2014-12-08 11:35:09 -08:00
Seth Vargo
a93fff103f
Add base skeleton for `vagrant push`
2014-12-08 11:35:09 -08:00
Atha Kouroussis
9e9362d976
Fix broken rsync cap for Solaris guests
2014-12-08 09:42:13 -05:00
Gilles Cornu
3800103228
provisioners/ansible: improve comment wording
...
Get rid of the Joker, thanks to @maspwr :)
2014-12-07 22:34:19 +01:00
Gilles Cornu
0a64b0c4e1
Update CHANGELOG: fix docker agent forwarding
...
Ref GH-4905
2014-12-07 11:14:21 +01:00
Gilles Cornu
40a22ff99a
providers/docker: fix support of agent forwarding
2014-12-07 11:02:50 +01:00
Seth Vargo
abdf1fdd04
Merge pull request #4900 from jquast/patch-1
...
Avoid double-newlines in salt-call output
2014-12-04 12:36:18 -05:00
Jeff Quast
c6cce57ff4
Avoid double-newlines in salt-call output
...
When using the salt provisioner with verbose=true, most lines read with an extra newline:
```
[INFO ] Syncing modules for environment 'base'
[INFO ] Loading cache from salt://_modules, for base)
```
because the line read has a newline, and emitting the log entry again includes an additional newline.
2014-12-03 21:48:30 -08:00
Ken Crowell
72afdce630
Issue #4895 : Support grains config for salt
2014-12-02 18:01:09 -04:00