Puppet Class: nfs::server::configure

Defined in:
manifests/server.pp

Overview



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'manifests/server.pp', line 63

class nfs::server::configure {

  concat {'/etc/exports': 
    require => Class["nfs::server::${nfs::server::osfamily}"]
  }


  concat::fragment{
    'nfs_exports_header':
      target  => '/etc/exports',
      content => "# This file is configured through the nfs::server puppet module\n",
      order   => 01;
  }

  if $nfs::server::nfs_v4 == true {
    include nfs::server::nfs_v4::configure
  }
}