summaryrefslogtreecommitdiff
path: root/lib/chef/resource/openbsd_package.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-03-03 21:12:50 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-03-03 21:15:06 -0800
commit39a1e0f0bea5103924b21400f4aeb890dffa405b (patch)
tree4e919ad41ca2776108b55b11fc80eb51ee3fb3bc /lib/chef/resource/openbsd_package.rb
parent633c4445e00f3174d156ac69a05be117a3fd0456 (diff)
downloadchef-39a1e0f0bea5103924b21400f4aeb890dffa405b.tar.gz
Remove the canonical DSL
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/openbsd_package.rb')
-rw-r--r--lib/chef/resource/openbsd_package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/openbsd_package.rb b/lib/chef/resource/openbsd_package.rb
index 7e0d61e43f..05d77b44dc 100644
--- a/lib/chef/resource/openbsd_package.rb
+++ b/lib/chef/resource/openbsd_package.rb
@@ -2,7 +2,7 @@
# Authors:: AJ Christensen (<aj@chef.io>)
# Richard Manyanza (<liseki@nyikacraftsmen.com>)
# Scott Bonds (<scott@ggr.com>)
-# Copyright:: Copyright 2008-2016, Chef Software Inc.
+# Copyright:: Copyright 2008-2020, Chef Software Inc.
# Copyright:: Copyright 2014-2016, Richard Manyanza, Scott Bonds
# License:: Apache License, Version 2.0
#
@@ -25,7 +25,7 @@ require_relative "../provider/package/openbsd"
class Chef
class Resource
class OpenbsdPackage < Chef::Resource::Package
- resource_name :openbsd_package
+ provides :openbsd_package
provides :package, os: "openbsd"
description "Use the openbsd_package resource to manage packages for the OpenBSD platform."