You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/etc/fstab.d/foo_bar.fstab is specified as the target file to store mount table,
however once the target file is created puppet attempts looking for mounts in /etc/fstab
Expected Behavior
Expect that the mount command would include -T, --fstab to specify the fstab file it just created.
ala mount --fstab /etc/fstab.d/foo_bar.fstab /sftpjail/foo/bar
Notice: /Stage[main]/my_module::Config/my_module::Mount[/sftpjail/foo/bar/]/File[/etc/fstab.d/foo_bar.fstab]/ensure: created (corrective)
Notice: /Stage[main]/my_module::Config/my_module::Mount[/sftpjail/foo/bar/]/Mount[/sftpjail/foo/bar]/ensure: defined 'ensure' as 'mounted' (corrective)
Info: Computing checksum on file /etc/fstab.d/foo_bar.fstab
Error: /Stage[main]/my_module::Config/my_module::Mount[/sftpjail/foo/bar/]/Mount[/sftpjail/foo/bar]: Could not evaluate: Execution of '/usr/bin/mount /sftpjail/foo/bar' returned 1: mount: can't find /sftpjail/foo/bar in /etc/fstab
Info: my_module::Mount[/sftpjail/foo/bar/]: Unscheduling all events on my_module::Mount[/sftpjail/foo/bar/]
Environment
Version 1.0.4
Platform RHEL 7.9
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the Bug
/etc/fstab.d/foo_bar.fstab is specified as the target file to store mount table,
however once the target file is created puppet attempts looking for mounts in /etc/fstab
Expected Behavior
Expect that the mount command would include -T, --fstab to specify the fstab file it just created.
ala
mount --fstab /etc/fstab.d/foo_bar.fstab /sftpjail/foo/bar
Steps to Reproduce
Steps to reproduce the behavior:
Results:
Environment
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: