Browse Source

Fix copy&paste error

tags/0.1.6
Bernd Zeimetz 1 year ago
parent
commit
82e5c25f14
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/puppet/provider/dehydrated_pfx/openssl.rb

+ 1
- 1
lib/puppet/provider/dehydrated_pfx/openssl.rb View File

@@ -67,7 +67,7 @@ Puppet::Type.type(:dehydrated_pfx).provide(:openssl) do
)

# use binary mode as windows is extra picky.
File.open(pfx_file, 'wb') { |f| f.write(pfx.to_der) }
File.open(resource[:path], 'wb') { |f| f.write(pfx.to_der) }
end

def destroy

Loading…
Cancel
Save