diff options
Diffstat (limited to 'manifests/remote_host.pp')
-rw-r--r-- | manifests/remote_host.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/remote_host.pp b/manifests/remote_host.pp index f61b7fd..ca0c71d 100644 --- a/manifests/remote_host.pp +++ b/manifests/remote_host.pp @@ -10,7 +10,7 @@ define strongswan::remote_host( $right_cert_name = $name, $right_cert_content = 'absent' ){ - file{"${strongswan::config_dir}/hosts/${name}.conf": + file { "${strongswan::config_dir}/hosts/${name}.conf": ensure => $ensure, require => Package['strongswan'], notify => Service['ipsec'], @@ -26,7 +26,7 @@ define strongswan::remote_host( } if $right_cert_content != 'unmanaged' { - strongswan::cert{$right_cert_name: } + strongswan::cert { $right_cert_name: } if ($right_cert_content != 'absent') and ($ensure == 'present') { Strongswan::Cert[$right_cert_name]{ ensure => $ensure, |