[Bug 1144612] [NEW] puppet double mounts CIFS mounts

Louis Bouchard louis.bouchard at canonical.com
Mon Mar 4 15:39:36 UTC 2013


Public bug reported:

Create a file with the following contents, making sure that the samba
location is available and is mountable by guests and that the mountpoint
also exists and is a directory:

# cat /etc/puppet/manifests/tst.pp
package{'samba-client': }

mount{'home directory mount':
 name => '/mnt/target',
 atboot => 'true',
 device => '//localhost/test',
 ensure => 'mounted',
 fstype => 'cifs',
 require => [Package['samba-client']]
}

4.2- Apply the puppet config:

# puppet apply /etc/puppet/manifests/tst.pp

4.3- Verify that the mounted FS shows twice:

root at ubuntu:~# mount -t cifs
//localhost/test on /mnt/target type cifs (rw)
//localhost/test on /mnt/target type cifs (rw)

** Affects: puppet (Ubuntu)
     Importance: Undecided
     Assignee: Louis Bouchard (louis-bouchard)
         Status: Confirmed

** Changed in: puppet (Ubuntu)
       Status: New => Confirmed

** Changed in: puppet (Ubuntu)
     Assignee: (unassigned) => Louis Bouchard (louis-bouchard)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1144612

Title:
  puppet double mounts CIFS mounts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1144612/+subscriptions



More information about the Ubuntu-server-bugs mailing list