Issue #6738 has been updated by Mark LeBlanc.

I created an init.d script to manage ramdisks instead. Not using puppet to 
manage fstab for ramdisks anymore using execs which work fine.
Don't have any time at the moment to continue to investigate this issue.

----------------------------------------
Bug #6738: Mount resource in puppet duplicates ramdrive mounts for each puppet 
run
https://projects.puppetlabs.com/issues/6738

Author: Mark LeBlanc
Status: Investigating
Priority: Normal
Assignee: Ben Hughes
Category: 
Target version: 
Affected Puppet version: 2.6.4
Keywords: ramdisk mount resource multiple mounts
Branch: 


If ensure => mounted is used the ramdisk is mounted multiple times (once every 
puppet run), even though only one entry is in fstab.

**puppet code:
* $ramdisk_mount_point = "/ramdisk"
 $ramdisk_size = 128
 mount { "$ramdisk_mount_point":
      ensure   => mounted,
      device   => "none",
      fstype   => "tmpfs",
      options  => "${ramdisk_size}",
  }
*

**fstab entry that was created:
none /ramdisk tmpfs size=128m 0 0




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to