aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver/interface.pp
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/vserver/interface.pp
parent5cbcdb956b0bacb02229ca2085aa1245e7308dcc (diff)
downloadpuppet-virtual-af78b156c5418d1e67faed4635019dcef0da9cac.tar.gz
puppet-virtual-af78b156c5418d1e67faed4635019dcef0da9cac.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/vserver/interface.pp')
-rw-r--r--manifests/vserver/interface.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/vserver/interface.pp b/manifests/vserver/interface.pp
index 82a2c9c..7054848 100644
--- a/manifests/vserver/interface.pp
+++ b/manifests/vserver/interface.pp
@@ -6,17 +6,17 @@ define virtual::vserver::interface($prefix = 24, $dev = '') {
file {
"/etc/vservers/local-interfaces/${name}":
ensure => directory,
- mode => 0755,
+ mode => '0755',
owner => root,
group => root;
"/etc/vservers/local-interfaces/${name}/ip":
content => "${name}\n",
- mode => 0644,
+ mode => '0644',
owner => root,
group => root;
"/etc/vservers/local-interfaces/${name}/prefix":
content => "${prefix}\n",
- mode => 0644,
+ mode => '0644',
owner => root,
group => root;
}
@@ -26,7 +26,7 @@ define virtual::vserver::interface($prefix = 24, $dev = '') {
file {
"/etc/vservers/local-interfaces/${name}/nodev":
ensure => present,
- mode => 0644,
+ mode => '0644',
owner => root,
group => root;
"/etc/vservers/local-interfaces/${name}/dev":