Skip to content

fix augeas module so shlex doesn't strip quotes - #34643

Merged
cachedout merged 1 commit into
saltstack:developfrom
nevins-b:shlex-quotes
Jul 14, 2016
Merged

cachedout merged 1 commit into
saltstack:developfrom
nevins-b:shlex-quotes

Conversation

@nevins-b

@nevins-b nevins-b commented Jul 13, 2016 •

Copy link
Copy Markdown

What does this PR do?

This change make it so shlex for the augeas module does not use posix and there for does not strip quotes for arguments

What issues does this PR fix or reference?

#34640

Previous Behavior

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'}

New Behavior

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'}

Tests written?

No

Please review Salt's Contributing Guide for best practices.

@nevins-b nevins-b changed the title fix aegues module so shlex doesn't strip quotes fix augeas module so shlex doesn't strip quotes Jul 13, 2016
@cachedout
cachedout merged commit cc1d849 into saltstack:develop Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants