Jira (FACT-3141) Add mountpoints as an array to partitions fact

9 views
Skip to first unread message

Saurabh Dikshit (Jira)

unread,
Aug 19, 2022, 11:23:02 AM8/19/22
to puppe...@googlegroups.com
Saurabh Dikshit created an issue
 
Facter / Improvement FACT-3141
Add mountpoints as an array to partitions fact
Issue Type: Improvement Improvement
Affects Versions: FACT 3.14.22
Assignee: Unassigned
Components: Facter 3
Created: 2022/08/19 8:22 AM
Priority: Normal Normal
Reporter: Saurabh Dikshit

Basic Info
Module Version:
Puppet Version: 2019.8.10
OS Name/Version: RHEL8 

Whenever bind-mount is used, facts partition always show the bind mount point for that partition.  Consulted with principal support engineer Jarret Lavallee  and the partition fact is showing the partitions from the local block devices. mount is a string and not an array since it is expected that it would only be mounted once. 

 

In this example, /afterbind is the bind-mount. 

[root@pe-server-fb051c-0 ~]facter -p partitions."/dev/mapper/vg0-testbind"
{
 filesystem => "xfs",
 mount => "/afterbind",
 size => "5.00 GiB",
 size_bytes => 5368709120,
 uuid => "07f7c023-3a90-4fec-a3de-db287dc55c19"
}
[root@pe-server-fb051c-0 ~]# findmnt | grep bind
├─/beforebind             /dev/mapper/vg0-testbind xfs    rw,relatime,seclabel,attr2,inode64,noquota
└─/afterbind             /dev/mapper/vg0-testbind xfs    rw,relatime,seclabel,attr2,inode64,noquota

[root@pe-server-fb051c-0 ~]# lsblk
NAME           MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda              8:0    0   50G  0 disk
├─sda1           8:1    0  200M  0 part /boot/efi
└─sda2           8:2    0 49.8G  0 part /
sdb              8:16   0   10G  0 disk
└─vg0-testbind 253:0    0    5G  0 lvm  /afterbind

 

Desired Behavior:

The enhancement could be add mountpoints as an array

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Alvin Rodis (Jira)

unread,
Aug 23, 2022, 4:12:02 PM8/23/22
to puppe...@googlegroups.com
Alvin Rodis updated an issue
Change By: Alvin Rodis
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 49319

Alvin Rodis (Jira)

unread,
Aug 23, 2022, 4:12:02 PM8/23/22
to puppe...@googlegroups.com
Alvin Rodis updated an issue
Change By: Alvin Rodis
Labels: jira_escalated

Jarret Lavallee (Jira)

unread,
Aug 23, 2022, 4:19:02 PM8/23/22
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages