Giter Site home page Giter Site logo

chef-zypper's People

Contributors

bluca avatar gimler avatar jarosser06 avatar lamont-granquist avatar tas50 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

chef-zypper's Issues

Chef 18 Deprecation Warnings

Chef is emitting deprecation warnings:

The  resource in the zypper cookbook should declare `unified_mode true` at 1 location:
  - /var/chef/cache/cookbooks/zypper/resources/repo.rb
 See https://docs.chef.io/deprecations_unified_mode/ for further details.

Need release for Chef 14.4

We've released the ohai, sudo, windows and build-essentials cookbooks to suppress the obnoxious Chef 15 deprecation warnings. If you release #12 and #13 that'll get rid of:

Deprecated features used!
  Resource zypper_repo has been loaded from a cookbook. The resource zypper_repo is now included in Chef and will take precedence over the existing cookbook resource in the next major release of Chef (15.0, April 2019). You may be able to remove this cookbook dependency from your runlist if you do not use other recipes/resources/libraries from the cookbook. Alternatively there may be a newer version of this cookbook without the zypper_repo resource. at 1 location:
    - /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.4.56/lib/chef/log.rb:51:in `caller_location'
   See https://docs.chef.io/deprecations_map_collision.html for further details.

Chef 14.3.x users will still see that warning, but it'll be gone when they upgrade to Chef 14.4.x

There should be some option to enable GPG checks

Using the resource yum_repository it is easy to enable GPG checks for installed packages:

    yum_repository reponame do
        description   "package repo for component #{reponame}"
        baseurl             url
        gpgkey           node['open-xchange']['repository']['buildkey']
        gpgcheck       node['open-xchange']['repository']['buildkey'].length > 0 ? true : false
        sslverify      node['open-xchange']['repository']['sslverify']
        action :create
    end

You just need to add the gpgcheck attribute. I don't see any according attribute for zypper and when installing packages I see the following warning all the time:

[2015-09-09T18:40:30+03:00] WARN: Chef::Config[:zypper_check_gpg] was not set. All packages will be installed without gpg signature checks. This is a security hazard

Own build keys not supported

We sign our packages for SUSE Linux distributions with our own build key. When adding our software repositories using this cookbook we currently do no have the possibility to download and add our build key within the zypper_repo resource.

The apt and yum cookbooks provide support for own build keys.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.