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

Remove dependenies to apt and yum cookbooks. #140

Merged
merged 1 commit into from Feb 13, 2017

Conversation

Projects
None yet
3 participants
@artem-sidorenko
Member

artem-sidorenko commented Feb 11, 2017

The following resources are now completely provided by chef:

  • yum_repository
  • yum_package
  • apt_repository
  • apt_package

Currently you get warnings: WARN: Chef::Provider::AptRepository already exists! Cannot create deprecation class for LWRP provider apt_repository from cookbook apt WARN: AptRepository already exists! Deprecation class overwrites Custom resource apt_repository from cookbook apt WARN: Chef::Provider::YumRepository already exists! Cannot create deprecation class for LWRP provider yum_repository from cookbook yum WARN: YumRepository already exists! Deprecation class overwrites Custom resource yum_repository from cookbook yum

Using compat_resource cookbook for compatibility with older chef versions without yum/apt providers

This PR is a next try to remove yum/apt dependencies, the old PR was reverted in #133 because of upstream bug in compat_resouce chef-cookbooks/compat_resource#122

Remove dependenies to apt and yum cookbooks.
The following resources are now completely provided by chef:
 - yum_repository
 - yum_package
 - apt_repository
 - apt_package

Currently you get warnings: WARN: Chef::Provider::AptRepository already exists!  Cannot create deprecation class for LWRP provider apt_repository from cookbook apt WARN: AptRepository already exists!  Deprecation class overwrites Custom resource apt_repository from cookbook apt WARN: Chef::Provider::YumRepository already exists!  Cannot create deprecation class for LWRP provider yum_repository from cookbook yum WARN: YumRepository already exists!  Deprecation class overwrites Custom resource yum_repository from cookbook yum

Using compat_resource cookbook for compatibility with older chef versions without yum/apt providers
@coveralls

This comment has been minimized.

Show comment
Hide comment
@coveralls

coveralls Feb 11, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 07b6d38 on artem-sidorenko:yum-apt into 554258c on dev-sec:master.

Coverage Status

Coverage remained the same at 100.0% when pulling 07b6d38 on artem-sidorenko:yum-apt into 554258c on dev-sec:master.

@atomic111

This comment has been minimized.

Show comment
Hide comment
@atomic111

atomic111 Feb 13, 2017

Member

@artem-sidorenko thanks for removing the old deps

Member

atomic111 commented Feb 13, 2017

@artem-sidorenko thanks for removing the old deps

@atomic111 atomic111 merged commit 4f596bf into dev-sec:master Feb 13, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 100.0%
Details

@artem-sidorenko artem-sidorenko deleted the artem-forks:yum-apt branch Feb 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment