Details
-
Bug
-
Status: Accepted
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Night's Watch
-
Needs Assessment
Description
With the patch introduced by PUP-9307, `puppet apply` will ignore trailing slashes in mount resource titles and fstab entries. For example:
$ cat /etc/fstab
|
/root/vim.iso /root/foo/ iso9660 ro 0 0 |
|
$ puppet apply -e "mount{'/root/foo': ensure => mounted}" |
Notice: Compiled catalog for pe-201814-master.puppetdebug.vlan in environment production in 0.06 seconds |
Notice: Applied catalog in 0.24 seconds |
|
$ puppet apply -e "mount{'/root/foo/': ensure => mounted}" |
Notice: Compiled catalog for pe-201814-master.puppetdebug.vlan in environment production in 0.05 seconds |
Notice: Applied catalog in 0.30 seconds |
However, `puppet resource mount` does not:
$ puppet resource mount /root/foo
|
mount { '/root/foo': |
ensure => 'mounted', |
device => '/root/vim.iso', |
dump => '0', |
fstype => 'iso9660', |
options => 'ro', |
pass => '1', |
target => '/etc/fstab', |
}
|
|
$ puppet resource mount /root/foo/
|
mount { '/root/foo/': |
ensure => 'absent', |
}
|
|
Investigate the difference in behavior and determine if a fix is possible/needed.
Attachments
Issue Links
- mentioned in
-
Page Loading...