Chris Roberts
8d5e5b1276
Fix loggers to prevent multiple output
...
Only the parent logger directly under the root/global logger
needs to have the outputter set. When set on child loggers
output will be sent to all outputters defined on child + all
parents. This provides just a single output behavior.
2022-04-25 12:24:47 -05:00
Chris Roberts
61c3134928
Do not provide environment to capability call
2022-04-25 12:24:46 -05:00
Chris Roberts
c92e283e7a
Update logger outputter when setting within repository
...
Since all loggers get registered into the internal repository
when created, intercept the logger and force the outputter
to stderr so it is properly applied to all logger instances
that may be created.
2022-04-25 12:24:46 -05:00
Chris Roberts
f976d7a19c
Fix logger configuration to apply to all
2022-04-25 12:24:46 -05:00
Chris Roberts
819a4d28a4
Reconfigure legacy vagrant to utilize hclog
2022-04-25 12:24:46 -05:00
Chris Roberts
be4bbe902f
Generated proto updates
2022-04-25 12:24:46 -05:00
sophia
14d17dfd9d
Return capability execution result
2022-04-25 12:24:41 -05:00
sophia
b2cce38f48
Add rpc endpoint to prune out old jobs
2022-04-25 12:24:40 -05:00
sophia
bb336592ea
Remove 'found' from basis/project/target query results
2022-04-25 12:24:39 -05:00
sophia
54c0b0528d
Add remote host module
2022-04-25 12:24:39 -05:00
sophia
eeb950b987
Support to_proto for ui's
2022-04-25 12:24:39 -05:00
sophia
7477455380
Get parents from guest plugin
2022-04-25 12:24:39 -05:00
sophia
0588584438
Get local_data from project client
2022-04-25 12:24:37 -05:00
sophia
9599024fa5
Don't setup paths for remote environment
2022-04-25 12:24:37 -05:00
sophia
42796be551
Get machine from project for guest service
2022-04-25 12:24:37 -05:00
sophia
f1e2a73bfa
Don't use just a client to instantiate a machine
2022-04-25 12:24:37 -05:00
sophia
7a5d045083
Setup guest client when initializing guest
2022-04-25 12:24:37 -05:00
sophia
8efc8542b7
Rename guest client 'capability method to match the client interface
2022-04-25 12:24:37 -05:00
sophia
5d46b93a99
Each component client stores their proto
2022-04-25 12:24:37 -05:00
sophia
83a080521e
Add to_proto to machine in order to pass machine protos around to other plugins
2022-04-25 12:24:37 -05:00
sophia
827b50db77
Get client from machine go impl
2022-04-25 12:24:36 -05:00
sophia
3067fe7dba
Add remote guest
2022-04-25 12:24:36 -05:00
sophia
d196b8635c
Detect Ruby guest plugin
2022-04-25 12:24:36 -05:00
sophia
b8468644f3
Load vagrantfile given by remote project
2022-04-25 12:24:36 -05:00
sophia
ca3d76ca7d
Use project client to populate environment options
2022-04-25 12:24:36 -05:00
sophia
5ca687cad4
Implement project home path, cwd and default private key
2022-04-25 12:24:36 -05:00
Chris Roberts
c1bbc7284b
Generated proto updates
2022-04-25 12:24:35 -05:00
Chris Roberts
f618d991f8
Update RemoteUI name to Remote
2022-04-25 12:24:35 -05:00
Chris Roberts
e090fa4e10
Move UI to remote file and include options to client
2022-04-25 12:24:34 -05:00
Chris Roberts
df53588de5
Store machine client within index entry for use in generating environment
2022-04-25 12:24:34 -05:00
Chris Roberts
99aef42342
Check for server mode before setting constant
2022-04-25 12:24:34 -05:00
Chris Roberts
927fd5e52f
Remove proto requires
...
They will only be needed when running in server mode, and when
in server mode, they will be loaded at startup
2022-04-25 12:24:34 -05:00
Chris Roberts
b609a44452
Fix method name called on machine client
2022-04-25 12:24:34 -05:00
Chris Roberts
fb629ae4a2
Fix name and use provider_name from client
2022-04-25 12:24:33 -05:00
Chris Roberts
1ae6ca0522
Generated protobuf updates
2022-04-25 12:24:33 -05:00
Chris Roberts
7a1aba1cb9
Use has with indifferent access when loading entry
2022-04-25 12:24:32 -05:00
Chris Roberts
e5184c5719
Call id on client instead of get_id
2022-04-25 12:24:32 -05:00
Chris Roberts
34ecea07bc
Fix method calls when building entry and setting ID
2022-04-25 12:24:32 -05:00
Chris Roberts
9fb979d44c
Extend module on entry not index
2022-04-25 12:24:32 -05:00
Chris Roberts
aaf0ae8504
Generated proto updates
2022-04-25 12:24:31 -05:00
Chris Roberts
8f4bb571a5
Update remote function name and setup
2022-04-25 12:24:30 -05:00
Chris Roberts
b243868ce9
Add remote module for machine index entry
2022-04-25 12:24:30 -05:00
sophia
10a1f1011b
Get datadir for machine and project
2022-04-25 12:24:29 -05:00
sophia
68aa184bee
Get local data path from project
2022-04-25 12:24:28 -05:00
sophia
f722b15661
Remove references to SDK from remote machine index
2022-04-25 12:24:28 -05:00
sophia
f761af3c55
Move client creation into client module
2022-04-25 12:24:28 -05:00
sophia
c71eb9ea0e
UQuery machine index by uuid
2022-04-25 12:24:28 -05:00
sophia
154a4e56f0
Use uuid as Target Index identifier
2022-04-25 12:24:28 -05:00
sophia
83495a4f8b
Fix each machine index machine yielder
2022-04-25 12:24:27 -05:00
sophia
47a0a2d7d2
Record machine client in machine index entry
2022-04-25 12:24:27 -05:00