changed config to use variables, added parameters
This commit is contained in:
@@ -32,7 +32,7 @@ class cd_nagios::certbot::config (
|
||||
# create cert
|
||||
|
||||
exec { 'create_cert':
|
||||
command => template('cd_nagios/certbot/get_cert.erb'),
|
||||
command => template($ng_get_cert_erb),
|
||||
cwd => '/tmp',
|
||||
path => ['/bin','/usr/bin'],
|
||||
provider => 'shell',
|
||||
@@ -49,7 +49,7 @@ class cd_nagios::certbot::config (
|
||||
path => ['/bin','/usr/bin','/opt/'],
|
||||
provider => 'shell',
|
||||
notify => Service['httpd'],
|
||||
unless => template('cd_nagios/certbot/unless_renew_cert.erb'),
|
||||
unless => template($ng_unless_renew_erb),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user