You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
manual apt upgrade installs latest version of docker packages, a puppet run will then overwrite this with the version configured in $docker::version. This makes for two docker daemon restarts and other possible issues. This issue was introduced with issue #424 (PR #425)
Describe the Solution You Would Like
Have the apt::pin in manifests/repos.pp also manage the version of the package if $docker::version is defined.
Describe Alternatives You've Considered
I am currently using a workaround to create a second apt::pin that does configure the version if $docker::version is defined.
but unfortunately that throws me a Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation E rror: Error while evaluating a Function Call, parameters release, origin, and version are mutually exclusive
Solution could be to create a pin for the origin and a pin for the version. (Though you might want to add a $docker::apt_package_pin_level or rename the var to $docker::apt_pin_level)
This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.
Use Case
manual
apt upgrade
installs latest version of docker packages, a puppet run will then overwrite this with the version configured in $docker::version. This makes for two docker daemon restarts and other possible issues. This issue was introduced with issue #424 (PR #425)Describe the Solution You Would Like
Have the
apt::pin
in manifests/repos.pp also manage the version of the package if$docker::version
is defined.Describe Alternatives You've Considered
I am currently using a workaround to create a second apt::pin that does configure the version if
$docker::version
is defined.Additional Context
My workaround:
I have tried patching my workaround in manifests/repos.pp like such:
but unfortunately that throws me a
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation E rror: Error while evaluating a Function Call, parameters release, origin, and version are mutually exclusive
Solution could be to create a pin for the
origin
and a pin for theversion
. (Though you might want to add a$docker::apt_package_pin_level
or rename the var to$docker::apt_pin_level
)The text was updated successfully, but these errors were encountered: