summaryrefslogtreecommitdiff
path: root/lib/chef/resource/python.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-03-06 12:00:50 -0800
committerGitHub <noreply@github.com>2020-03-06 12:00:50 -0800
commit78f43727ac4c14467270488e6109eeddb755fcee (patch)
tree11950f76a13ae01ade3c36e18da204cd00434ce3 /lib/chef/resource/python.rb
parent2ca9781c9e0c38ca246f80df08f3d5565159850f (diff)
parente6167aa5fe2decfe2395012c302360fc50054b9c (diff)
downloadchef-78f43727ac4c14467270488e6109eeddb755fcee.tar.gz
Merge pull request #9441 from chef/lcg/remove-canonical-dsl
Remove the canonical DSL
Diffstat (limited to 'lib/chef/resource/python.rb')
-rw-r--r--lib/chef/resource/python.rb4
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"