kitchen-shopify-provisioner 0.0.2 → 0.0.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a0b0849df7ac94aee0e4ba2eaa1441b0663eeb7
|
|
4
|
+
data.tar.gz: 8e85bf15ca8f8f106daf3f935aedf9b54184581d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed0a809d5c218cbf86954d735118e592782eda5fa29415f71ae713b7d1137964ed49da2d463bc29eb591f5c32e59c69e50fcd8dd5f9f3829a3156a2f95e79e03
|
|
7
|
+
data.tar.gz: 9c94355449a388b53d8f7235a7c422858404ae3813ee2b8072ef73b4fc8b4588d0400a29b6b9e75fb9ca350c5a32a6d1374aa5b7deee3a98decbc621d61e5282
|
|
@@ -5,12 +5,11 @@ require 'chef/role'
|
|
|
5
5
|
module Kitchen
|
|
6
6
|
module Provisioner
|
|
7
7
|
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
# Must be named "Chef..." otherwise TestKitchen won't understand that we intend to use chef
|
|
8
|
+
# We'll sneak some code in before the default chef zero provisioner runs
|
|
9
|
+
# This will allow us to convert our roles to JSON, and flatten at once
|
|
11
10
|
class ChefZeroShopify < ChefZero
|
|
12
11
|
def create_sandbox
|
|
13
|
-
tmpdir = Dir.mktmpdir
|
|
12
|
+
tmpdir = Dir.mktmpdir('chef-flattened-roles')
|
|
14
13
|
|
|
15
14
|
at_exit do
|
|
16
15
|
FileUtils.rm_rf(tmpdir)
|