Commit 0ddae12f authored by Alex Tayts's avatar Alex Tayts
Browse files

if key is missing, no need for furhter verification

parent 23a4e42c
......@@ -37,7 +37,7 @@ Puppet::Type.type(:wallet).provide(:wallet) do
# we do not need further verification
exists = (princs.any? { |s| s.include?(@resource[:name]) })
if @resource[:verify] == :true
if (exists and (@resource[:verify] == :true))
# try to get a ticket with the keytab
kstart("-q", "-f", @resource[:path], @resource[:name])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment