15780 Commits

Author SHA1 Message Date
Chris Roberts
3a2b8bd733 Generated load location stringer file 2022-06-15 11:08:08 -07:00
Chris Roberts
95b25bfa1c Add vagrantfile implementation 2022-06-15 11:08:08 -07:00
Chris Roberts
2cb5dab953 Include ruby client when creating plugin manager 2022-06-15 11:08:08 -07:00
Chris Roberts
1134a4e5ed Update plugin manager loading. Add ruby client. 2022-06-15 11:08:03 -07:00
Chris Roberts
a8fd255f5b Update configuration type for target 2022-06-15 11:06:33 -07:00
Chris Roberts
fd113d0aca Remove vagrantfile related logic from operation 2022-06-15 11:06:33 -07:00
Chris Roberts
d6c562612d Update signature and add more vagrantfile loaders 2022-06-15 11:06:33 -07:00
Chris Roberts
2274efa568 Add helper method for performing partial loads 2022-06-15 11:06:33 -07:00
Chris Roberts
2af4ee0859 Always store values even when not registered 2022-06-15 11:06:33 -07:00
Chris Roberts
dfc2a6d6f4 Make dummy config a proper config instance and remove to_proto 2022-06-15 11:06:33 -07:00
Chris Roberts
09e6ff7ba2 Use client to get vagrantfile for environment 2022-06-15 11:06:33 -07:00
Chris Roberts
0d2627014c Update remote machine to use client for values 2022-06-15 11:06:28 -07:00
Chris Roberts
972ba095e9 Add remote vagrantfile implementation 2022-06-15 11:02:29 -07:00
Chris Roberts
e47da98810 Update unset value constant 2022-06-15 11:02:29 -07:00
Chris Roberts
4128441aac Remove to_proto from config and update unset value constant 2022-06-15 11:02:29 -07:00
Chris Roberts
55512ca0ef Provide easy access to global cache in clients 2022-06-15 11:02:29 -07:00
Chris Roberts
44afa299f0 Perform direct type conversions 2022-06-15 11:02:24 -07:00
Chris Roberts
c24960731f Add vagrantfile client 2022-06-15 10:56:19 -07:00
Chris Roberts
8fcabc2c1d Set global broker and cache values 2022-06-15 10:56:19 -07:00
Chris Roberts
70d725f8a0 Add support for origin value restrictions and custom weighting 2022-06-15 10:56:19 -07:00
Chris Roberts
53aae744a4 Allow callables to modify vertex weight 2022-06-15 10:56:19 -07:00
Chris Roberts
439546d58c Update input vertex to allow origin only setting 2022-06-15 10:56:19 -07:00
Chris Roberts
40cd6e8616 Allow marking inputs as only accepting origin value 2022-06-15 10:56:13 -07:00
Chris Roberts
9da90f0b21 Return false if RHS does not implement hash_code 2022-06-15 10:55:00 -07:00
Chris Roberts
45b9c48f03 Add Class to known types mapper. Indifferent access for hashes. 2022-06-15 10:55:00 -07:00
Chris Roberts
df3cc08b1f Add mappers for config data and procs 2022-06-15 10:55:00 -07:00
Chris Roberts
0a80ce1ea6 Remove config mappers from provisioner 2022-06-15 10:55:00 -07:00
Chris Roberts
a826287f34 Add mappers for the vagrantfile 2022-06-15 10:55:00 -07:00
Chris Roberts
2d5cb6b0fa Force the string proto value to be a string 2022-06-15 10:55:00 -07:00
Chris Roberts
dc5c643364 Add direct conversions of types 2022-06-15 10:55:00 -07:00
Chris Roberts
f949eb9042 Load new mappers and allow for direct conversion 2022-06-15 10:55:00 -07:00
Chris Roberts
4e869330cd Load config service and use global cache 2022-06-15 10:55:00 -07:00
Chris Roberts
8061a95a81 Update internal service plugins and vagrantfile loading 2022-06-15 10:55:00 -07:00
Chris Roberts
41a47617b0 Add config service for handling configuration 2022-06-15 10:55:00 -07:00
Chris Roberts
582f253605 Update types used for provisioner service 2022-06-15 10:55:00 -07:00
Chris Roberts
cde5479b8f Set value directly as it will have indifferent access 2022-06-15 10:55:00 -07:00
Chris Roberts
82efdf3e4b Remove extraneous logging from client setup 2022-06-15 10:55:00 -07:00
Chris Roberts
79f5264c5d Since we are inspecting, don't wrap value 2022-06-15 10:55:00 -07:00
Chris Roberts
a3dd70dd50 Allow for nested plugins 2022-06-15 10:55:00 -07:00
Chris Roberts
8024bd3bf5 Clean up names in funcspec helpers 2022-06-15 10:55:00 -07:00
Chris Roberts
babe5acdaf Remove custom to_proto methods from configs 2022-06-15 10:55:00 -07:00
Chris Roberts
555d8ae7a3 Adjust provisioner to upload file before modifying it 2022-06-15 10:55:00 -07:00
Chris Roberts
255c75eeba Load Vagrantfile from the client 2022-06-15 10:55:00 -07:00
Sophia Castellarin
708b688b3f
Merge pull request #286 from hashicorp/box-set-last-update
Update timestamp whenever a box is updated
2022-06-13 08:42:55 -05:00
sophia
6e28e0856c Update timestamp whenever a box is updated 2022-06-10 15:05:34 -05:00
Paul Hinze
94caf200e8
Merge pull request #285 from hashicorp/improve-run-operation-error-handling
Improve run operation error handling
2022-06-10 13:04:43 -05:00
Paul Hinze
e829550ea7
Improve run operation error handling
There are some cases where the error that gets returned from scope.Run
is not a core.CommandError which results in a type mismatch panic. This
fixes that and wraps any generic errors into the proper response struct.
2022-06-10 11:14:14 -05:00
Paul Hinze
f2417e09a8
Merge pull request #284 from hashicorp/provider-options-bugfixes
Fix some bugs in provider options handling
2022-06-08 18:02:31 -05:00
Paul Hinze
74c0337200
Merge pull request #283 from hashicorp/update-protobuf-deprecations
Update and address protobuf package deprecations
2022-06-08 17:38:38 -05:00
Paul Hinze
71cc8ee7bb
Fix some bugs in provider options handling
- Defaultable needs to default to true when it's not specified
- We need to allow a non-defaultable provider to be selected if it shows
  up in the config
2022-06-08 17:25:16 -05:00