OctopusDeploy / OctopusDSC

| Public | A PowerShell DSC resource for installing Octopus Deploy & Tentacles
Other
1 stars 61 forks source link

Added policy to register worker sections #278

Closed twerthi closed 3 years ago

twerthi commented 3 years ago

https://octopus.zendesk.com/agent/tickets/67066 - customer reported that using DSC with workers does not set the correct Machine Policy. Reviewed code and found that Policy was not being passed as a parameter to register-worker command. Added Policy so that the correct policy is set when using DSC.

matt-richardson commented 3 years ago

Looks very similar to this one - https://github.com/OctopusDeploy/OctopusDSC/pull/277 :)

Some tests would be good for this.

twerthi commented 3 years ago

Requested test has been added and is passing.