File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def tls?
111
111
notifying_block do
112
112
directory ::File . dirname ( new_resource . path ) do
113
113
recursive true
114
- unless windows?
114
+ unless node . platform? ( 'windows' )
115
115
owner new_resource . owner
116
116
group new_resource . group
117
117
mode '0755'
@@ -120,7 +120,7 @@ def tls?
120
120
end
121
121
122
122
file new_resource . path do
123
- unless windows?
123
+ unless node . platform? ( 'windows' )
124
124
owner new_resource . owner
125
125
group new_resource . group
126
126
mode '0640'
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def to_json
45
45
notifying_block do
46
46
directory ::File . dirname ( new_resource . path ) do
47
47
recursive true
48
- unless windows?
48
+ unless node . platform? ( 'windows' )
49
49
owner new_resource . user
50
50
group new_resource . group
51
51
mode '0755'
@@ -54,7 +54,7 @@ def to_json
54
54
55
55
file new_resource . path do
56
56
content new_resource . to_json
57
- unless windows?
57
+ unless node . platform? ( 'windows' )
58
58
owner new_resource . user
59
59
group new_resource . group
60
60
mode '0640'
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def to_json
43
43
notifying_block do
44
44
directory ::File . dirname ( new_resource . path ) do
45
45
recursive true
46
- unless windows?
46
+ unless node . platform? ( 'windows' )
47
47
owner new_resource . user
48
48
group new_resource . group
49
49
mode '0755'
@@ -52,7 +52,7 @@ def to_json
52
52
53
53
file new_resource . path do
54
54
content new_resource . to_json
55
- unless windows?
55
+ unless node . platform? ( 'windows' )
56
56
owner new_resource . user
57
57
group new_resource . group
58
58
mode '0640'
Original file line number Diff line number Diff line change 4
4
license 'Apache 2.0'
5
5
description 'Application cookbook which installs and configures Consul.'
6
6
long_description 'Application cookbook which installs and configures Consul.'
7
- version '2.1.1 '
7
+ version '2.1.3 '
8
8
9
9
recipe 'consul::default' , 'Installs and configures the Consul service.'
10
10
recipe 'consul::client_gem' , 'Installs the Consul Ruby client as a gem.'
You can’t perform that action at this time.
0 commit comments