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

Remove dependencies to apt and yum cookbooks. #140

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

artem-sidorenko
Copy link
Member

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

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
Copy link

Coverage Status

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

@atomic111
Copy link
Member

@artem-sidorenko thanks for removing the old deps

@atomic111 atomic111 merged commit 4f596bf into dev-sec:master Feb 13, 2017
@artem-sidorenko artem-sidorenko deleted the yum-apt branch February 13, 2017 18:23
@schurzi schurzi changed the title Remove dependenies to apt and yum cookbooks. Remove dependencies to apt and yum cookbooks. May 1, 2023
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.

None yet

3 participants