compat_resource 12.5.3 → 12.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/constants.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/delayed_evaluator.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/mixin/params_validate.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/property.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/provider.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/resource.rb +3 -1
- data/files/lib/chef_compat/copied_from_chef/chef/resource/action_class.rb +3 -1
- data/files/lib/chef_compat/monkeypatches/chef.rb +6 -0
- data/files/lib/chef_compat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65b6dd796aa308e3cb4db2733903a94e2618cc1
|
4
|
+
data.tar.gz: 9c1e1cd5756b69b3fad0c2c7a85a9708d8fefbfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a392077b5c71bf0bd7b039b6f09372038ee39d3f4e7bd076331c14c650b499c86727c626f7400762f6ffd6ea6dda01e710f904b6cd52908a6173ebd509336c6d
|
7
|
+
data.tar.gz: 5b1a176af3a6c81475d3a31e71c71d42fc5bce51683cbdfabc91f8d896696676a857329fbebad97f3c3546a6d1a561b98db522eb720f7baa036b00555685b609
|
data/Rakefile
CHANGED
@@ -71,7 +71,8 @@ task :update do
|
|
71
71
|
output = StringIO.new
|
72
72
|
# Wrap the whole thing in a ChefCompat module
|
73
73
|
output.puts "require 'chef_compat/copied_from_chef'"
|
74
|
-
output.puts "
|
74
|
+
output.puts "class Chef"
|
75
|
+
output.puts "module ::ChefCompat"
|
75
76
|
output.puts "module CopiedFromChef"
|
76
77
|
|
77
78
|
# Bring over the Chef file
|
@@ -172,6 +173,7 @@ task :update do
|
|
172
173
|
# Close the ChefCompat module declaration from the top
|
173
174
|
output.puts "end"
|
174
175
|
output.puts "end"
|
176
|
+
output.puts "end"
|
175
177
|
|
176
178
|
# Write out the file in chef_compat
|
177
179
|
target_file = File.join(target_path, "#{file}.rb")
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
#
|
5
6
|
# Author:: John Keiser <jkeiser@chef.io>
|
@@ -30,3 +31,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
30
31
|
end
|
31
32
|
end
|
32
33
|
end
|
34
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
#
|
5
6
|
# Author:: John Keiser <jkeiser@chef.io>
|
@@ -24,3 +25,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
24
25
|
end
|
25
26
|
end
|
26
27
|
end
|
28
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
#
|
5
6
|
# Author:: Adam Jacob (<adam@opscode.com>)
|
@@ -482,3 +483,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
482
483
|
end
|
483
484
|
end
|
484
485
|
end
|
486
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
#
|
5
6
|
# Author:: John Keiser <jkeiser@chef.io>
|
@@ -570,3 +571,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
570
571
|
end
|
571
572
|
end
|
572
573
|
end
|
574
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
class Chef < (defined?(::Chef) ? ::Chef : Object)
|
5
6
|
class Provider < (defined?(::Chef::Provider) ? ::Chef::Provider : Object)
|
@@ -99,3 +100,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
99
100
|
end
|
100
101
|
end
|
101
102
|
end
|
103
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
require 'chef_compat/copied_from_chef/chef/mixin/params_validate'
|
5
6
|
require 'chef_compat/copied_from_chef/chef/resource/action_class'
|
@@ -281,3 +282,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
281
282
|
end
|
282
283
|
end
|
283
284
|
end
|
285
|
+
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'chef_compat/copied_from_chef'
|
2
|
-
|
2
|
+
class Chef
|
3
|
+
module ::ChefCompat
|
3
4
|
module CopiedFromChef
|
4
5
|
#
|
5
6
|
# Author:: John Keiser (<jkeiser@chef.io)
|
@@ -95,3 +96,4 @@ class Chef < (defined?(::Chef) ? ::Chef : Object)
|
|
95
96
|
end
|
96
97
|
end
|
97
98
|
end
|
99
|
+
end
|