puppetlabs-puppet_agent
puppetlabs-puppet_agent copied to clipboard
Support for debian absolute_path to be dynamic
For some reason absolute_path for Debian systems is statically set to 'present' in install.pp. This seems to be because dpkg can't accept $package_version if it is set to a version or 'auto'.
This makes you unable to use a puppet installer locally placed on the system to upgrade your puppet agent on Debian.
Why not set $_package_version = $package_version and then just make sure that it is either 'present' or 'latest' and otherwise fail?
Closed and reopened to kick GH checks
Thoughts @kenyon @bastelfreak ?
For some reason absolute_path for Debian systems is statically set to 'present' in install.pp.
I think this should read "For some reason package_version for Debian systems is statically set to present in install.pp when using absolute_source.
@pfo-netic could you take a look at @bastelfreak and @kenyon's comments?
Hi, It's such a long time since I was working with this, but it seems like you are getting the gist of what I was trying to say. If i remember correctly I just wanted this part: https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/main/manifests/install.pp#L68-L73 To work like this part: https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/main/manifests/install.pp#L86-L91
Which from my point of view it also should, which made me think it was an oversight in the first place.