aboutsummaryrefslogtreecommitdiff
path: root/manifests/openvpn
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:51 -0300
commitaf78b156c5418d1e67faed4635019dcef0da9cac (patch)
treeb008ce6ea2444e6fc9edcbd0be7bc3b096fab573 /manifests/openvpn
parent5cbcdb956b0bacb02229ca2085aa1245e7308dcc (diff)
downloadpuppet-virtual-af78b156c5418d1e67faed4635019dcef0da9cac.tar.gz
puppet-virtual-af78b156c5418d1e67faed4635019dcef0da9cac.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/openvpn')
-rw-r--r--manifests/openvpn/host_base.pp4
-rw-r--r--manifests/openvpn/server.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/openvpn/host_base.pp b/manifests/openvpn/host_base.pp
index 072a8a7..305118b 100644
--- a/manifests/openvpn/host_base.pp
+++ b/manifests/openvpn/host_base.pp
@@ -2,9 +2,9 @@ class virtual::openvpn::host_base inherits virtual::openvpn::base {
file {
"/var/lib/puppet/modules/virtual/openvpn/create_interface":
source => "puppet:///modules/virtual/create_openvpn_interface",
- mode => 0755, owner => root, group => 0;
+ mode => '0755', owner => root, group => 0;
"/var/lib/puppet/modules/virtual/openvpn/destroy_interface":
source => "puppet:///modules/virtual/destroy_openvpn_interface",
- mode => 0755, owner => root, group => 0;
+ mode => '0755', owner => root, group => 0;
}
}
diff --git a/manifests/openvpn/server.pp b/manifests/openvpn/server.pp
index b31f80b..b0f6048 100644
--- a/manifests/openvpn/server.pp
+++ b/manifests/openvpn/server.pp
@@ -4,7 +4,7 @@ define virtual::openvpn::server($config) {
file {
"/etc/openvpn/${name}.conf":
ensure => present, content => $config,
- mode => 0644, owner => root, group => 0,
+ mode => '0644', owner => root, group => 0,
notify => Service['openvpn'];
}
}