diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2013-02-21 17:39:07 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-11 13:04:33 -0700 |
commit | 7fa1ea56ec2231f8d2e5def013aaf86b24830d6c (patch) | |
tree | 2c68963415705c4ab4179ddcb390fbe186f8a7d2 /lib | |
parent | c6a87f8610ab14a36185f5a5f9e20158f18f0f9b (diff) | |
download | chef-7fa1ea56ec2231f8d2e5def013aaf86b24830d6c.tar.gz |
[CHEF-3919] existing platform version conditionals updated to use "greater than"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/platform.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb index b2b22a88ff..680985b66e 100644 --- a/lib/chef/platform.rb +++ b/lib/chef/platform.rb @@ -112,7 +112,7 @@ class Chef :cron => Chef::Provider::Cron, :mdadm => Chef::Provider::Mdadm }, - "6.0" => { + ">= 6.0" => { :service => Chef::Provider::Service::Insserv } }, @@ -263,13 +263,7 @@ class Chef :cron => Chef::Provider::Cron::Solaris, :group => Chef::Provider::Group::Usermod }, - "5.9" => { - :service => Chef::Provider::Service::Solaris, - :package => Chef::Provider::Package::Solaris, - :cron => Chef::Provider::Cron::Solaris, - :group => Chef::Provider::Group::Usermod - }, - "5.10" => { + ">= 5.9" => { :service => Chef::Provider::Service::Solaris, :package => Chef::Provider::Package::Solaris, :cron => Chef::Provider::Cron::Solaris, |