Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aix filesystem don't configure nodename parametre for nfs #280

Open
Nebucade opened this issue Nov 4, 2022 · 0 comments
Open

Aix filesystem don't configure nodename parametre for nfs #280

Nebucade opened this issue Nov 4, 2022 · 0 comments

Comments

@Nebucade
Copy link

Nebucade commented Nov 4, 2022

Describe the Bug

In documentation for AIX we have nodename parametre, but this one is not save in filesystem file.

Steps to Reproduce

puppet exemple for AIX 7.1 and AIX 7.2

filesystem{'/exploit/test':
ensure => 'present',
mount_options => 'ro,bg,hard,intr,retry=5,rsize=65536,wsize=65536,vers=3,proto=tcp,nosuid',
nodename => 'my_nas.test.local',
device => '/exploit',
fs_type => 'nfs',
atboot => true,
perms => 'ro',
}

in /etc/filesystem we have:

/exploit/test:                                                                                                                                                                                                                                    
  dev          = /exploit
   vfs          = nfs
   mount    = true
   options   = ro,bg,hard,intr,retry=5,rsize=65536,wsize=65536,vers=3,proto=tcp,nosuid                                                                                                                                                
   account   = false

and not this:

/exploit/test:                                                                                                                                                                                                                                    
  dev          = /exploit
   vfs          = nfs
   mount    = true
   options   = ro,bg,hard,intr,retry=5,rsize=65536,wsize=65536,vers=3,proto=tcp,nosuid                                                                                                                                                
   account   = false
  nodename = my_nas.test.local

Environment

  • AIX 7.1
  • AIX 7.2

Additional Context

I have add ligne 36 in lib/puppet/provider/filesystem/aix.rb the parametre nodename and it's ok:

  def create
    args = []

    attributes = [
      :ag_size,
      :large_files,
      :compress,
      :frag,
      :nbpi,
      :logname,
      :size,
      :initial_size,
      :encrypted,
      :isnapshot,
      :logsize,
      :maxext,
      :mountguard,
      :agblksize,
      :extended_attributes,
      :mount_options,
      :vix,
      :nodename,
    ]

Best regards,
Nicolas Lurvois

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant