File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 124124 $plugin_args = [
125125 " --cert-name '${title} ' -d" ,
126126 " '${_domains}'" ,
127- " --dns-ovh-credentials ${letsencrypt::plugin::dns_ovh::config_dir} /dns-ovh.ini " ,
127+ " --dns-ovh-credentials ${letsencrypt::plugin::dns_ovh::config_file} " ,
128128 " --dns-ovh-propagation-seconds ${letsencrypt::plugin::dns_ovh::propagation_seconds} " ,
129129 ]
130130 }
Original file line number Diff line number Diff line change 3030# Manage the plugin package.
3131# @param package_name
3232# The name of the package to install when $manage_package is true.
33- # @param config_dir
34- # The path to the configuration directory .
33+ # @param config_file
34+ # The name, with full abolute path, of the configuration file containing OVH credentials .
3535#
3636class letsencrypt::plugin::dns_ovh (
3737 Enum[' ovh-eu' , ' ovh-ca' ] $endpoint,
3838 String[1] $application_key,
3939 String[1] $application_secret,
4040 String[1] $consumer_key,
41- Integer $propagation_seconds = $letsencrypt::dns_ovh_propagation_seconds,
42- Stdlib::Absolutepath $config_dir = $letsencrypt::config_dir ,
43- Boolean $manage_package = $letsencrypt::dns_ovh_manage_package ,
44- String $package_name = $ letsencrypt::dns_ovh_package_name ,
41+ Integer $propagation_seconds = $letsencrypt::dns_ovh_propagation_seconds,
42+ Boolean $manage_package = $letsencrypt::dns_ovh_manage_package ,
43+ String $package_name = $letsencrypt::dns_ovh_package_name ,
44+ Stdlib::Absolutepath $config_file = " ${ letsencrypt::config_dir} /dns-ovh.ini " ,
4545) {
4646
4747 if $manage_package {
5858 dns_ovh_propagation_seconds => $propagation_seconds ,
5959 }
6060
61- file { "${config_dir}/dns-ovh.ini" :
61+ file { $config_file :
6262 ensure => file ,
6363 owner => ' root' ,
6464 group => ' root' ,
You can’t perform that action at this time.
0 commit comments