chef-zero-scheduled-task 0.0.8 → 0.0.9
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: 1304f04f47f58cc24bbc7eb1d0c3e08a128cb08c
|
|
4
|
+
data.tar.gz: c746e25b7e7200683c56c7035986a73a01e8e537
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b746c646c9b03cc8e9e2167f447160a7d522afa96d2a2b3f6ed9d6a2d7e9a85de68a0d81c47c4eaaea06657141c025b48a02f3b7a0b4fa460bd7d9fff5ef822
|
|
7
|
+
data.tar.gz: 531f88ed10bf5de39101ef06202ba3e06e4c2174a9d4762646c90ac13d7ec39051237002e1b6b75f229321b94f6e60f0cae86c0d133693ea63822ec1dda6d93c
|
|
@@ -30,13 +30,6 @@ module Kitchen
|
|
|
30
30
|
|
|
31
31
|
default_config :task_password
|
|
32
32
|
|
|
33
|
-
def create_sandbox
|
|
34
|
-
super
|
|
35
|
-
return unless windows_os?
|
|
36
|
-
info("Creating a script to run chef client.")
|
|
37
|
-
prepare_client_zero_script
|
|
38
|
-
end
|
|
39
|
-
|
|
40
33
|
def prepare_command
|
|
41
34
|
if windows_os?
|
|
42
35
|
debug("Serializing $env:temp")
|
|
@@ -45,15 +38,17 @@ module Kitchen
|
|
|
45
38
|
out-file $env:temp/kitchen/env.ps1
|
|
46
39
|
EOH
|
|
47
40
|
)
|
|
48
|
-
else
|
|
49
|
-
super
|
|
50
41
|
end
|
|
42
|
+
super
|
|
51
43
|
end
|
|
52
44
|
|
|
53
45
|
def init_command
|
|
54
46
|
if windows_os?
|
|
47
|
+
info("Creating a script to run chef client.")
|
|
48
|
+
prepare_client_zero_script
|
|
55
49
|
info("Creating the scheduled task.")
|
|
56
|
-
|
|
50
|
+
init_command_script = "#{super}\n#{setup_scheduled_task_command}"
|
|
51
|
+
wrap_shell_code(init_command_script)
|
|
57
52
|
else
|
|
58
53
|
super
|
|
59
54
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-zero-scheduled-task
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Murawski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
259
259
|
version: '0'
|
|
260
260
|
requirements: []
|
|
261
261
|
rubyforge_project:
|
|
262
|
-
rubygems_version: 2.
|
|
262
|
+
rubygems_version: 2.5.2
|
|
263
263
|
signing_key:
|
|
264
264
|
specification_version: 4
|
|
265
265
|
summary: Test-Kitchen Provisioner that runs Chef Zero in a Scheduled Task
|