Closed baurmatt closed 2 years ago
I noticed previous versions of this patch had an unregister_from_file
function. What were your thoughts behind removing this? I guess it'd be the only reason why runner
might need an ensure
parameter, so maybe the bolt task is good enough?
Pull Request (PR) description
This reintroduces the possiblty to register a Gitlab Runner by Puppet without the need of a manual step. This is done by using a "Deferred" function which does the registration and returns the authentication token for the configuration.
As Deferred is a >= Puppet 6 functionality this also drops support for old Puppet versions.
This is the follow-up PR for #75.
This Pull Request (PR) fixes the following issues