adding in nfs_mount class

This commit is contained in:
christopher.lawrence 2020-03-26 09:09:00 +00:00
parent c4500ec066
commit 6477ed01f5
2 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,7 @@ node 'puppet' {
node 'peadm-04.pe' {
include profile::metrics_dashboard
include profile::tools::nfs_mount
}

View File

@ -0,0 +1,15 @@
class profile::tools::nfs_mount (
$server = 'peadm-01.pe',
) {
class { '::nfs':
server_enabled => false,
client_enabled => true,
nfs_v4_client => false,
nfs_v4_idmap_domain => $::domain,
}
nfs::client::mount { '/mnt/puppet-metrics-collector':
server => $server,
share => '/export/puppet-metrics-collector',
}
}