Puppet Class: nfs::server::gentoo

Defined in:
manifests/server/gentoo.pp

Overview

Gentoo specifix stuff

Parameters:

  • nfs_v4 (Any) (defaults to: false)
  • nfs_v4_idmap_domain (Any) (defaults to: undef)
  • mountd_port (Any) (defaults to: undef)
  • mountd_threads (Any) (defaults to: undef)
  • service_manage (Any) (defaults to: true)


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/gentoo.pp', line 2

class nfs::server::gentoo(
  $nfs_v4 = false,
  $nfs_v4_idmap_domain = undef,
  $mountd_port         = undef,
  $mountd_threads      = undef,
  $service_manage      = true,
) {

  if !defined(Class['nfs::client::gentoo']) {
    class{ 'nfs::client::gentoo':
      nfs_v4              => $nfs_v4,
      nfs_v4_idmap_domain => $nfs_v4_idmap_domain,
    }
  }

  if ($mountd_port != undef){
    fail('setting the mountd port currently not supported on Gentoo')
  }

  if ($mountd_threads != undef){
    fail('setting the mountd thread number currently not supported on Gentoo')
  }

  include nfs::server::gentoo::install, nfs::server::gentoo::service

}