We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d419476 commit 6a9a71dCopy full SHA for 6a9a71d
spec/acceptance/stdlib_deferrable_epp_spec.rb
@@ -11,7 +11,12 @@
11
port=<%= $port %>
12
password=<%= $password %>
13
|EPP
14
- file{ "#{testfile}"
+ $_testfile = ? $facts['os']['family'] ? {
15
+ 'windows' => 'C:\\test.epp',
16
+ default => '/tmp/test.epp,
17
+ }
18
+
19
+ file{ $_testfile:
20
ensure => file,
21
content => $_epp,
22
}
@@ -20,7 +25,11 @@
25
26
before(:each) do
27
rm_testfile = <<-MANIFEST
23
- file { "#{testfile}.rendered":
28
29
30
31
32
+ file { "${_testfile}.rendered":
24
33
ensure => absent,
34
35
MANIFEST
0 commit comments