Greetings,

I'm using puppet 3.8.1 on ubuntu precise. My manifest includes a very 
simple package to install docker.

  package { $docker::params::docker_package_name:
    ensure => present,
    require => Class["docker::params"],
  }

I recently manually updated the docker package using apt-get on the server. 
The upgrade caused problems so I rolled it back. This is what dpkg shows 
for the docker package.

# dpkg -l | grep docker
rc  lxc-docker-1.3.2                 1.3.2                               
amd64        Linux container runtime
rc  lxc-docker-1.3.3                 1.3.3                               
amd64        Linux container runtime
rc  lxc-docker-1.4.0                 1.4.0                               
amd64        Linux container runtime
rc  lxc-docker-1.4.1                 1.4.1                               
amd64        Linux container runtime
ii  lxc-docker-1.5.0                 1.5.0                               
amd64        Linux container runtime
rc  lxc-docker-1.7.0                 1.7.0                               
amd64        Linux container runtime

That's what I want. Unfortunately, puppet sees the docker package as being 
purged and then re-installs/upgrades it (which I don't want). That would 
make sense if I had the package configured as 'latest' but it's configured 
as 'present'. What is going on and how do I prevent this from happening in 
the future?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8fd0fa46-a6c1-4b01-b537-c84a59574763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to