diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:07:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:07:51 -0300 |
commit | af78b156c5418d1e67faed4635019dcef0da9cac (patch) | |
tree | b008ce6ea2444e6fc9edcbd0be7bc3b096fab573 /manifests/vserver/interface.pp | |
parent | 5cbcdb956b0bacb02229ca2085aa1245e7308dcc (diff) | |
download | puppet-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.pp | 8 |
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": |