Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-8304

Parameter name with whitespace failed on CIFS Mount

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mount_core
    • Labels:
      None
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2019-10-30
    • CS Priority:
      Needs Priority
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      This feature extends the mount type to accept whitespaces in mountpoint names and devices on Linux. This is accomplished by replacing the whitespace character with the ASCII code for space (\040) before writing to and when reading from /etc/fstab.
      Show
      This feature extends the mount type to accept whitespaces in mountpoint names and devices on Linux. This is accomplished by replacing the whitespace character with the ASCII code for space (\040) before writing to and when reading from /etc/fstab.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info

      Puppet Version: 2.8.1
      OS Name/Version: RedHat 7

       

      We are trying to run the below puppet resource but we are getting whitespace error, Please find the same 

       

       mount { "/SERVER/New York_share":    
         atboot  => true,    
         ensure  => mounted,    
         device  => "//MOUNTSERVER/New York_share",    
         fstype  => "cifs",    
         options => "credentials=/tmp/id,uid=oracle,gid=oinstall,iocharset=utf8,file_mode=0644,dir_mode=0775,_netdev,soft",  }
      

       

       Error : 

      Error: Failed to apply catalog: Parameter name failed on Mount[/SERVER/New York_share]: name must not contain whitespace: /SERVER/New York_share at /etc/puppetlabs/code/environments/master/site/profile/manifests/ob.pp:132

      Anybody could suggest us. Please respond.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gabriel.nagy Gabriel Nagy
              Reporter:
              sudhakaran_relx Sudhakaran Rajendran
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support