Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for docker-latest package RHEL7 #698

Open
ram-devsecops opened this issue Jun 14, 2017 · 6 comments
Open

Support for docker-latest package RHEL7 #698

ram-devsecops opened this issue Jun 14, 2017 · 6 comments

Comments

@ram-devsecops
Copy link

Right now Redhat is providing docker and docker-latest packages, it would be great If we can handle this through this module.
https://access.redhat.com/articles/2317361

@LongLiveCHIEF
Copy link

LongLiveCHIEF commented Jun 28, 2017

actually, using the provided parameters for repository configuration and package_name, you can already do this. :-)

class {'::docker':
	manage_package		             => true,
	package_name                            => 'docker-latest',
        service_name                              => 'docker-latest',
	use_upstream_package_source => false,
        require                                          => Yumrepo[$rhel_repo_with_docker_latest]
  }

Just make sure you have a repository with docker-latest package also available (note the require). You can use the builtin yumrepo resource for this. Usually, various orgs have different urls for where that redhat repo is available from.

@ram-devsecops
Copy link
Author

Yeah, it installs the package but it doesn't use same config files as docker package. To make other setting work we need to add docker-latest config files, as well as it uses different systemd directory
/etc/systemd/system/docker-latest.service.d.

@LongLiveCHIEF
Copy link

yeah, it sets all that too though.

@benningm
Copy link

Thats related to my pull request #681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants