This allows specifying a directory where the agent should perform it's work separate from where it is installed.
To test and compare the work folder I had to crack the .agent metadata file. To ease comparisons I've moved to a ServerUrl and not an Account value. This is more flexible and matches the underlying tooling better as well.
Found that the .service metadata sits alongside .agent and I now use that to find the service by name instead of assuming a convention.
Added implementation for uninstalling the agent when 'Absent' is specified.
This allows specifying a directory where the agent should perform it's work separate from where it is installed.
To test and compare the work folder I had to crack the .agent metadata file. To ease comparisons I've moved to a
ServerUrl
and not anAccount
value. This is more flexible and matches the underlying tooling better as well.Found that the .service metadata sits alongside .agent and I now use that to find the service by name instead of assuming a convention.
Added implementation for uninstalling the agent when 'Absent' is specified.
Resolves #11