jarosser06 / chef-zypper Goto Github PK
View Code? Open in Web Editor NEWChef Zypper cookbook
Chef Zypper cookbook
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.
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
Hello,
0.3.0 is the latest published version. This does not include changes such as #7. Would it be possible for you to publish a new release? Thanks.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.