hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1
2023-08-10 21:53:25 +01:00
sophia
9eb431b1bf
Clean up tests
2020-07-20 15:46:15 -05:00
sophia
1dc761a6c4
Refactor out persisting a mount to it's own guest cap
2020-05-29 15:26:48 -04:00
sophia
b511d23ae1
Refresh fstab when folders synced
2020-05-29 15:26:48 -04:00
Jeff Bonhag
307123c1f2
Fixes #10753 : Add reboot support for Linux guests ( #11194 )
...
This commit adds support for setting `reboot: true` while using the
shell provisioner with Linux guests.
2019-11-15 14:46:36 -05:00
Chris Roberts
48d358adcb
Add winrm and upload commands
2018-10-04 13:26:41 -07:00
Seth Vargo
4aaa600bd6
guests/linux: Centralize public_key logic
2016-07-18 21:12:57 -04:00
Seth Vargo
627091de35
guests/linux: reorg
2016-07-18 21:12:55 -04:00
Seth Vargo
8f3b6511f2
guests/linux: Add shared cap for listing network interfaces
2016-07-18 21:12:54 -04:00
Seth Vargo
b29864f450
Use symbols for defining guest capabilities
2016-06-17 19:55:04 -04:00
Seth Vargo
337e3d79d8
guests/linux: Use require_relative in plugin
2016-06-06 11:58:33 -04:00
Mitchell Hashimoto
94b2a8a56b
communicators/ssh: insert random key, remove insecure key
2014-10-24 09:58:18 -07:00
Mitchell Hashimoto
326e8012f7
guests/*: setup rsync_pre properly
2014-05-06 18:40:55 -07:00
Nikhil Benesch
2df36892dd
synced_folders/rsync: only chown when necessary [GH-3525]
...
Run remote rsync as root to guarantee that rsync can write to guestpath.
This obviates the need to chown the guestpath to the SSH user prior to
sync.
This brings a substantial speedup (2x on a moderately-sized shared
folder) and properly triggers filesystem notifications on only the files
changed by a given sync.
2014-04-25 15:00:12 -04:00
Mitchell Hashimoto
e578e91e3a
providers/docker: implement port checker for remote machine
2014-04-21 13:55:39 -07:00
Mitchell Hashimoto
3edfe6deaf
providers/docker: remove synced folders after docker rm
2014-04-21 13:55:28 -07:00
Mitchell Hashimoto
a6eafd6a12
synced_folders/rsync: execute rsync_post cap if it exists [GH-3163]
2014-03-12 18:43:59 -07:00
Mitchell Hashimoto
0fe4a4af26
synced_folders/smb: basically working
2014-02-27 08:13:05 -08:00
Teemu Matilainen
ee2ae94c25
synced_folders/rsync: Install rsync on guest if needed
...
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.
Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Mitchell Hashimoto
2e3fcf576c
synced_folders/rsync: allow guests to execute things before
2014-01-10 17:51:44 -08:00
Mitchell Hashimoto
91380c0650
synced_folders/nfs: automatically install NFS client if possible
...
If guests have the following capabilities, automatic NFS client
installation will be done:
* nfs_client_installed - Checks if the NFS client is installed
* nfs_client_install - Install the NFS client
Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
2014-01-09 16:58:20 -08:00
Mitchell Hashimoto
b3a9e6a088
insert_public_key cap, and use that if it exists
2014-01-03 11:13:21 -08:00
Mitchell Hashimoto
66ff86fda5
Auto-detect policy server IP for CFEngine
2013-04-08 15:30:41 -07:00
Mitchell Hashimoto
22f3ea6606
Remove the linux config, not used anyways
2013-04-03 23:50:12 -07:00
Mitchell Hashimoto
2f232e0175
Halt and mount NFS are caps
2013-04-03 23:33:20 -07:00
Mitchell Hashimoto
28d3f274d8
First capability for linux
2013-04-03 23:01:43 -07:00
Mitchell Hashimoto
1d2beff649
Guests to V2
2012-11-06 21:14:45 -08:00
Mitchell Hashimoto
459d82689e
Get rid of autoload use in Guests
...
I don't use `activated` here because I'd really like to optimize
performance as much as possible, and loading files from disk is
generally slow. So instead of using `activated` I load the file at the
last possible moment which is when the exact class is being requested.
I don't think many people will do this outside of the core, and I'm not
too concerned.
2012-05-23 15:57:43 -07:00
Mitchell Hashimoto
9956e6d012
Better directory structure for plugins
2012-04-20 16:53:01 -07:00