File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,13 @@ def self.title_patterns
151
151
[ :name , identity ]
152
152
]
153
153
] ,
154
+ [
155
+ /^(.*):([a-z]:(\/ |\\ ).*)$/i ,
156
+ [
157
+ [ :name , identity ] ,
158
+ [ :target , identity ]
159
+ ]
160
+ ] ,
154
161
[
155
162
/^(.*):(.*)$/ ,
156
163
[
Original file line number Diff line number Diff line change 4
4
5
5
describe 'password protected java private keys' , :unless => UNSUPPORTED_PLATFORMS . include? ( fact ( 'operatingsystem' ) ) do
6
6
include_context 'common variables'
7
-
7
+
8
8
let ( :confdir ) { default [ 'puppetpath' ] }
9
9
let ( :modulepath ) { default [ 'distmoduledir' ] }
10
-
10
+
11
11
case fact ( 'osfamily' )
12
12
when "windows"
13
13
target = 'c:/private_key.ks'
14
14
else
15
15
target = '/etc/private_key.ks'
16
16
end
17
-
17
+
18
18
it 'creates a password protected private key' do
19
19
pp = <<-EOS
20
20
java_ks { 'broker.example.com:#{ target } ':
You can’t perform that action at this time.
0 commit comments