[packages/chef/chef-14] apply pld to chkconfig service provider (named redhat)

glen glen at pld-linux.org
Wed Jul 18 09:43:39 CEST 2018


commit 81f7d25a09c6a58129c062c0b262e09600c32d80
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Jul 18 10:43:29 2018 +0300

    apply pld to chkconfig service provider (named redhat)

 chef.spec          |  2 +-
 platform-pld.patch | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/chef.spec b/chef.spec
index 6036980..d05ebad 100644
--- a/chef.spec
+++ b/chef.spec
@@ -8,7 +8,7 @@
 Summary:	A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure
 Name:		chef
 Version:	14.1.36
-Release:	0.6
+Release:	0.7
 License:	Apache v2.0
 Group:		Networking/Admin
 Source0:	https://github.com/chef/chef/archive/v%{version}/%{name}-%{version}.tar.gz
diff --git a/platform-pld.patch b/platform-pld.patch
index 281c13b..93a2c08 100644
--- a/platform-pld.patch
+++ b/platform-pld.patch
@@ -17,3 +17,14 @@
          },
  
          "freebsd" => {
+--- ./lib/chef/provider/service/redhat.rb~	2018-06-04 22:47:04.000000000 +0300
++++ ./lib/chef/provider/service/redhat.rb	2018-07-17 12:07:21.135952859 +0300
+@@ -28,7 +28,7 @@
+         # @api private
+         attr_accessor :current_run_levels
+ 
+-        provides :service, platform_family: %w{rhel fedora suse amazon} do |node|
++        provides :service, platform_family: %w{rhel fedora suse amazon pld} do |node|
+           Chef::Platform::ServiceHelpers.service_resource_providers.include?(:redhat)
+         end
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chef.git/commitdiff/81f7d25a09c6a58129c062c0b262e09600c32d80



More information about the pld-cvs-commit mailing list