Locking the version of Docker?

13 views
Skip to first unread message

Stefan Lasiewski

unread,
Sep 6, 2019, 7:11:50 PM9/6/19
to Puppet Users
Hi all,

I'm using Puppet 5 to install Docker like so:

class { 'docker':
   version                    
=> 5:18.09.9~3-0~ubuntu-bionic,
}


We'd like to control the version of Docker that's running using the Puppet manifest. That is, we want to prevent the unintentional upgrade of Docker when someone logs into the system and runs `apt upgrade`.

The Docker module has an option named in_upstream_package_source, but from the description, I'm a little unclear if this 'locks' or 'holds' a package version.

Does the Docker module actually 'lock' the Docker package to a specific version?

Thank you,

-= Stefan

Ben Ford

unread,
Sep 9, 2019, 4:29:05 PM9/9/19
to puppet...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d0e7e865-9b87-44bc-aa60-b071881078c0%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages