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
{{ message }}
Repository navigation
utils.shlex_split removing quotes which are required for augeas #34640
When using aegus.change it appears that the utils.shlex_split function is stripping quotes from the command which make augeas fail.
Setup
shm-mount-options:
augeas.change:
- lens: Fstab.lns
- changes:
- ins opt after /files/etc/fstab/*[spec="tmpfs"]/opt[last()]
- set /files/etc/fstab/*[spec="tmpfs"]/opt[last()] nodev
- unless: 'grep -e "^tmpfs.*defaults,nodev" /etc/fstab'
Steps to Reproduce Issue
With some additional logging added the issue is apparent that the double quotes have been stripped from the path. {'path': '/files/etc/fstab/*[file=/tmp]/opt[last()]', 'before': False, 'label': 'opt'}
changed the title [-]utils.shlex_split removing quotes which are required for aegus[/-][+]utils.shlex_split removing quotes which are required for augeas[/+]on Jul 13, 2016
Activity
[-]utils.shlex_split removing quotes which are required for aegus[/-][+]utils.shlex_split removing quotes which are required for augeas[/+]