Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test support for htpasswd state mod #27023

Merged
merged 1 commit into from Sep 14, 2015

Conversation

jfindlay
Copy link
Contributor

Partial backport of #21649 to 2015.5. Fixes #27021.

@jfindlay jfindlay added State-Module Minor Change Platform Relates to OS, containers, platform-based utilities like FS, system based apps labels Sep 10, 2015
if __opts__['test']:
ret['result'] = None
else:
ret['result'] = True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally trivial, but could be shortened to:

ret['result'] = bool(__opts__['test']) or None 

cachedout pushed a commit that referenced this pull request Sep 14, 2015
add test support for htpasswd state mod
@cachedout cachedout merged commit e05b1f3 into saltstack:2015.5 Sep 14, 2015
@jfindlay jfindlay deleted the htwebutilpass branch September 14, 2015 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Relates to OS, containers, platform-based utilities like FS, system based apps State-Module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants