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
26
27
|
# File 'manifests/server/rhel/config.pp', line 1
class nfs::server::rhel::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,
}
}
}
|