File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 124
124
$plugin_args = [
125
125
" --cert-name '${title} ' -d" ,
126
126
" '${_domains}'" ,
127
- " --dns-ovh-credentials ${letsencrypt::plugin::dns_ovh::config_dir} /dns-ovh.ini " ,
127
+ " --dns-ovh-credentials ${letsencrypt::plugin::dns_ovh::config_file} " ,
128
128
" --dns-ovh-propagation-seconds ${letsencrypt::plugin::dns_ovh::propagation_seconds} " ,
129
129
]
130
130
}
Original file line number Diff line number Diff line change 30
30
# Manage the plugin package.
31
31
# @param package_name
32
32
# 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 .
35
35
#
36
36
class letsencrypt::plugin::dns_ovh (
37
37
Enum[' ovh-eu' , ' ovh-ca' ] $endpoint,
38
38
String[1] $application_key,
39
39
String[1] $application_secret,
40
40
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 " ,
45
45
) {
46
46
47
47
if $manage_package {
58
58
dns_ovh_propagation_seconds => $propagation_seconds ,
59
59
}
60
60
61
- file { "${config_dir}/dns-ovh.ini" :
61
+ file { $config_file :
62
62
ensure => file ,
63
63
owner => ' root' ,
64
64
group => ' root' ,
You can’t perform that action at this time.
0 commit comments