Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Setting nfs::server::mountd_threads parameter has no effect #82

Closed
cjmachado opened this issue Oct 10, 2016 · 2 comments
Closed

Setting nfs::server::mountd_threads parameter has no effect #82

cjmachado opened this issue Oct 10, 2016 · 2 comments
Assignees
Labels

Comments

@cjmachado
Copy link

Changing the value of parameter has no effect because the code simply does not use this parameter. To fix this, I added the following code (just for redhat as an example):

nfs::server::redhat

file_line { 'rpc-mount-args':
ensure => present,
path => '/etc/sysconfig/nfs',
line => "RPCMOUNTDOPTS=${mountd_threads}",
match => '^#?RPCMOUNTDOPTS='
} ~> Service[$service_name]

@dwerder
Copy link
Member

dwerder commented Oct 26, 2016

That will not work, because you simply would set RPCMOUNTDOPTS=1 .
I fiexed it in develop branch

@dwerder dwerder closed this as completed Oct 26, 2016
@cjmachado
Copy link
Author

Thank you Daniel.

adamancini pushed a commit to adamancini/puppet-nfs that referenced this issue Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants