blob: a9e522221fae302dd79b1886789a62c683708417 (
plain)
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
|
# = Class nfs::config
#
class nfs::config {
File {
ensure => present,
require => Class['::nfs::install'],
notify => Service[$::nfs::service_name],
owner => $::nfs::config_user,
group => $::nfs::config_group,
}
if $::nfs::server {
concat { $::nfs::config_file:
group => $::nfs::config_group,
mode => $::nfs::config_mode,
owner => $::nfs::config_user,
}
concat::fragment { 'export_header':
target => $::nfs::config_file,
content => "# Managed by Puppet\n\n",
order => 01,
}
}
}
|