adding in nfs_mount class
This commit is contained in:
parent
c4500ec066
commit
6477ed01f5
@ -39,6 +39,7 @@ node 'puppet' {
|
||||
node 'peadm-04.pe' {
|
||||
|
||||
include profile::metrics_dashboard
|
||||
include profile::tools::nfs_mount
|
||||
|
||||
}
|
||||
|
||||
|
15
site-modules/profile/manifests/tools/nfs_mount.pp
Normal file
15
site-modules/profile/manifests/tools/nfs_mount.pp
Normal 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',
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user