summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2013-02-26 11:02:25 -0800
committerBryan McLellan <btm@opscode.com>2013-02-26 11:02:25 -0800
commitdf096fac04cc1bcd4956f9f37999a9e4a367423e (patch)
tree2761a5eaf382580dad01ef57a4502020b378647a
parent5b1d6533ea3417dcc9c6a0849b60034ac2eadd9d (diff)
parent586a85231faaa6f55ead6b8a7c971d423f8ad76c (diff)
downloadchef-df096fac04cc1bcd4956f9f37999a9e4a367423e.tar.gz
Merge branch 'CHEF-3880'
-rw-r--r--lib/chef/platform.rb8
-rw-r--r--spec/unit/platform_spec.rb3
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb
index 6e6de6004e..b176e9c731 100644
--- a/lib/chef/platform.rb
+++ b/lib/chef/platform.rb
@@ -72,6 +72,14 @@ class Chef
:mdadm => Chef::Provider::Mdadm
}
},
+ :gcel => {
+ :default => {
+ :package => Chef::Provider::Package::Apt,
+ :service => Chef::Provider::Service::Debian,
+ :cron => Chef::Provider::Cron,
+ :mdadm => Chef::Provider::Mdadm
+ }
+ },
:linaro => {
:default => {
:package => Chef::Provider::Package::Apt,
diff --git a/spec/unit/platform_spec.rb b/spec/unit/platform_spec.rb
index b09a68b528..6897837a42 100644
--- a/spec/unit/platform_spec.rb
+++ b/spec/unit/platform_spec.rb
@@ -35,7 +35,8 @@ describe "Chef::Platform supports" do
:solaris,
:mswin,
:mingw32,
- :windows
+ :windows,
+ :gcel
].each do |platform|
it "#{platform}" do
Chef::Platform.platforms.should have_key(platform)