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

Gh142 support debian #151

Closed
wants to merge 52 commits into from
Closed

Conversation

hesco
Copy link

@hesco hesco commented Nov 30, 2014

No description provided.

hesco added 23 commits November 17, 2014 02:08
otherwise unable to get this to build in my debian environment
@hesco
Copy link
Author

hesco commented Nov 30, 2014

This should resolve #142. It includes some refactoring (new docker::repos and docker::repo::(deb_packages|yum_packages classes) as well as moving some resources about among the classes, some variables into the ::params class. There is still room for more of that sort of clean-up. But this ought to accomplish the initial goal of providing debian support and test coverage for that new functionality. Also added several sanity checks along the way.

validate_string($::kernelrelease)
validate_bool($docker::use_upstream_package_source)

# $kernelpackage = $docker::param::kernelpackage
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be params rather than param

@garethr
Copy link
Owner

garethr commented Nov 30, 2014

He @hesco, this looks great. I've left a few minor comments.

I've noticed as well that it won't currently merge cleanly onto master. If it's relatively simple to do if you could rebase that would be great.

I'll add Debian to the beaker acceptance tests as well and update the metadata.

Thanks again

validate_bool($manage_kernel)
validate_bool($manage_package)

anchor { 'docker::begin': } ->
class { 'docker::repos': } ->
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will generate the following error message because the mirror is defined before the package apt-transport-https is installed.

==> default: Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: E: The method driver /usr/lib/apt/methods/https could not be found.

@hesco
Copy link
Author

hesco commented Dec 4, 2014

Hey Gareth: Thanks for cleaning up behind me (#75, #76). I did not miss the above reports related to regression in the acceptance tests, and do plan to address them as soon as I can, but have been slammed all week. Will jump on those as soon as I can unless you get impatient and want to push this work out sooner than I can get to it. -- Hugh

@arioch
Copy link
Contributor

arioch commented May 18, 2015

What's the current status of this patch?

@insertjokehere
Copy link

I am also interested in this

@garethr
Copy link
Owner

garethr commented Nov 8, 2015

Master now has Debian support in finally. Thanks for submitting this and apologies for leaving it hanging for ages.

@garethr garethr closed this Nov 8, 2015
@hesco
Copy link
Author

hesco commented Nov 9, 2015

good to hear. Thanks for taking care of that. Have a machine sitting in the living room waiting for me to upgrade its firmware. Perhaps when that is done, I can create a new environment, install the latest version of your module and use it to install docker 1.9. I see that weave has now been integrated with docker.

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

Successfully merging this pull request may close these issues.

5 participants