diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-03 21:12:50 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-03 21:15:06 -0800 |
commit | 39a1e0f0bea5103924b21400f4aeb890dffa405b (patch) | |
tree | 4e919ad41ca2776108b55b11fc80eb51ee3fb3bc /lib/chef/resource/python.rb | |
parent | 633c4445e00f3174d156ac69a05be117a3fd0456 (diff) | |
download | chef-39a1e0f0bea5103924b21400f4aeb890dffa405b.tar.gz |
Remove the canonical DSL
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/python.rb')
-rw-r--r-- | lib/chef/resource/python.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/python.rb b/lib/chef/resource/python.rb index 3cee3d3432..37300a7757 100644 --- a/lib/chef/resource/python.rb +++ b/lib/chef/resource/python.rb @@ -1,5 +1,5 @@ # Author:: Adam Jacob (<adam@chef.io>) -# Copyright:: Copyright 2008-2016, Chef Software Inc. +# Copyright:: Copyright 2008-2020, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,6 +23,8 @@ class Chef class Python < Chef::Resource::Script unified_mode true + provides :python + def initialize(name, run_context = nil) super @interpreter = "python" |