Skip to content

Commit

Permalink
Update lib/puppet/provider/dhparam/openssl.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
  • Loading branch information
trefzer and ekohl committed Feb 27, 2023
1 parent 6bd059f commit 458220a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/dhparam/openssl.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'pathname'
require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/openssl')
require File.join(__dir__, '..', '..', '..', 'puppet/provider/openssl')

Puppet::Type.type(:dhparam).provide(
:openssl,
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/ssl_pkey/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'pathname'
require 'openssl'
require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/openssl')
require File.join(__dir__, '..', '..', '..', 'puppet/provider/openssl')
Puppet::Type.type(:ssl_pkey).provide(
:openssl,
parent: Puppet::Provider::Openssl,
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/x509_cert/openssl.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'pathname'
require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/openssl')
require File.join(__dir__, '..', '..', '..', 'puppet/provider/openssl')
Puppet::Type.type(:x509_cert).provide(
:openssl,
parent: Puppet::Provider::Openssl,
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/x509_request/openssl.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'pathname'
require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/openssl')
require File.join(__dir__, '..', '..', '..', 'puppet/provider/openssl')
Puppet::Type.type(:x509_request).provide(
:openssl,
parent: Puppet::Provider::Openssl,
Expand Down

0 comments on commit 458220a

Please sign in to comment.