summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJavier Frias <jfrias@gmail.com>2013-02-12 18:25:49 -0500
committerBryan McLellan <btm@opscode.com>2013-04-12 11:28:31 -0700
commitf0984ff9ec7a5d4aff8bc5ec71928d727b832e29 (patch)
tree1b2e7d528f0accbf65e0232500268560d17c759e /lib
parentcbcc5b615d096d16959597b0ba16a8024aea630d (diff)
downloadchef-f0984ff9ec7a5d4aff8bc5ec71928d727b832e29.tar.gz
[CHEF-3872] Adding support for platform XCP/xcp, which is the open source version
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/platform.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb
index 210aabd3e5..759fa031bc 100644
--- a/lib/chef/platform.rb
+++ b/lib/chef/platform.rb
@@ -124,6 +124,14 @@ class Chef
:mdadm => Chef::Provider::Mdadm
}
},
+ :xcp => {
+ :default => {
+ :service => Chef::Provider::Service::Redhat,
+ :cron => Chef::Provider::Cron,
+ :package => Chef::Provider::Package::Yum,
+ :mdadm => Chef::Provider::Mdadm
+ }
+ },
:centos => {
:default => {
:service => Chef::Provider::Service::Redhat,