-
Notifications
You must be signed in to change notification settings - Fork 11
ensure=absent seems broken #2
Comments
see #4 the in the code notice is not called correct. notice has to be called |
@docwhat Can you provide verbose debugging output for this? You can email it to me if needed. |
Our issue seems similar to this one... We use this module to mount 4 nfs exports. For the So I looked and saw that you had new versions, so I applied the new mounts 0.3.0 -> 0.3.1 That original error went away, but now I've got other issues. Below ###BEGIN LOGS### Debug: Exec/bin/umount '/Volumes/orange': Executing Debug: Executing '/bin/mount -l | /bin/grep '/Volumes/orange'' Notice: /Volumes/orange wasn't removed after being unmounted. Please Notice: /Stage[main]/Mpsvfx::Nfs_mounts/Mounts[nfs_orange]/Notify[/Volumes/orange Debug: /Stage[main]/Mpsvfx::Nfs_mounts/Mounts[nfs_orange]/Notify[/Volumes/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Debug: Augeasfstab entry for tps-na-01.mpsvfx.org:/vol/orange/orange Error: /Stage[main]/Mpsvfx::Nfs_mounts/Mounts[nfs_orange]/Fstab[fstab ###END LOGS### |
Same issue on: Receive a warning and an error when trying to remove a fstab entry Warning: Scope(Fstab::Augeas[RemoveEphemeral]): Could not look up qualified variable 'fstab::variables::fstab_file'; class fstab::variables has not been evaluated Error: /Stage[main]/Main/Fstab[RemoveEphemeral]/Fstab::Augeas[RemoveEphemeral]/Augeas[RemoveEphemeral]: Could not evaluate: Error sending command 'match' with params nil/Unknown command |
I get the same error about "sending command 'match' with params nil/Unknown command" I can provide more info if you need. |
Using this code:
I got this error:
So I commented out the
notice("${dest} wasn't removed after...
line 75 and tried again and got:This second error may be in your fstab module, in which case I can file it against that if you want.
I tried using only the fstab module:
And I got:
The text was updated successfully, but these errors were encountered: