[Puppet Users] Checking if a directory is a mount point

2018-11-06 Thread pbisbal via Puppet Users
I want to check to see of a directory is a mount point for a separate partition. For example, I'd like to check to see if /tmp is a separate partition or is just part of the root partition on a Linux system. What is the best way to do this. I thought I could use the in operator to see if '/tmp'

Re: [Puppet Users] Checking if a directory is a mount point

2018-11-06 Thread 'Dan White' via Puppet Users
Try $fact[‘mountpoints’] > On Nov 6, 2018, at 6:06 PM, pbisbal via Puppet Users > wrote: > > I want to check to see of a directory is a mount point for a separate > partition. For example, I'd like to check to see if /tmp is a separate > partition or is just part of the root partition on a L

Re: [Puppet Users] Checking if a directory is a mount point

2018-11-06 Thread 'Prentice Bisbal' via Puppet Users
$fact['mountpoints'] did it. Thanks. -- Prentice On 11/6/18 6:54 PM, 'Dan White' via Puppet Users wrote: Try $fact[‘mountpoints’] On Nov 6, 2018, at 6:06 PM, pbisbal via Puppet Users mailto:puppet-users@googlegroups.com>> wrote: I want to check to see of a directory is a mount point for