[packages/chef] fix group resource handling (same fix as for suse)

glen glen at pld-linux.org
Sat May 3 16:15:19 CEST 2014


commit 229513a931b87cbaaa7674bfa975b2ea9f4bcad2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 3 17:15:13 2014 +0300

    fix group resource handling (same fix as for suse)

 chef.spec          |  2 +-
 platform-pld.patch | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/chef.spec b/chef.spec
index 48b65da..e754164 100644
--- a/chef.spec
+++ b/chef.spec
@@ -7,7 +7,7 @@
 Summary:	A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure
 Name:		chef
 Version:	11.12.2
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Networking/Admin
 Source0:	http://rubygems.org/downloads/%{name}-%{version}.gem
diff --git a/platform-pld.patch b/platform-pld.patch
index 5bf207e..13fd9bd 100644
--- a/platform-pld.patch
+++ b/platform-pld.patch
@@ -1,7 +1,7 @@
---- chef-11.6.0/lib/chef/platform/provider_mapping.rb~	2013-08-18 18:21:27.000000000 +0300
-+++ chef-11.6.0/lib/chef/platform/provider_mapping.rb	2013-08-18 18:25:27.133441297 +0300
-@@ -173,6 +173,15 @@
-               :ifconfig => Chef::Provider::Ifconfig::Redhat
+--- chef-11.12.2/lib/chef/platform/provider_mapping.rb	2014-05-03 16:17:20.832320849 +0300
++++ chef-11.12.2/lib/chef/platform/provider_mapping.rb	2014-05-03 16:16:41.990604626 +0300
+@@ -185,6 +185,16 @@
+               :group => Chef::Provider::Group::Usermod
              }
            },
 +          :pld => {
@@ -10,7 +10,8 @@
 +              :cron => Chef::Provider::Cron,
 +              :package => Chef::Provider::Package::Poldek,
 +              :mdadm => Chef::Provider::Mdadm,
-+              :ifconfig => Chef::Provider::Ifconfig::Redhat # TODO: PLD config path needed
++              :ifconfig => Chef::Provider::Ifconfig::Redhat, # TODO: PLD config path needed
++              :group => Chef::Provider::Group::Usermod,
 +            }
 +          },
            :suse     => {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chef.git/commitdiff/229513a931b87cbaaa7674bfa975b2ea9f4bcad2



More information about the pld-cvs-commit mailing list