Puppet Class: nfs::server::ubuntu::config
- Defined in:
- manifests/server/ubuntu/config.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'manifests/server/ubuntu/config.pp', line 1
class nfs::server::ubuntu::config (
$ensure = installed,
) {
if $ensure == "absent" {
file { '/etc/exports':
ensure => absent,
}
} else {
concat { '/etc/exports':
owner => 'root',
group => 'root',
mode => '0644',
}
concat::fragment { '/etc/exports#header':
target => '/etc/exports',
content => "# This file is configured through the nfs::server puppet module.\n",
order => 01,
}
}
}
|