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

Handle failures from gluster volume status foo #9

Merged
merged 2 commits into from
Jan 19, 2015
Merged

Conversation

skpy
Copy link
Contributor

@skpy skpy commented Jan 14, 2015

Gluster can, on occasion, not release some locks that cause various
gluster commands to fail. The custom fact in this module would choke
on these failures, which in turn would prevent Puppet from executing.

There are still improvements to be made to error catching, but these
changes should at least let Puppet runs keep going, even if Gluster does
have stale locks.

Gluster can, on occasion, not release some locks that cause various
`gluster` commands to fail.  The custom fact in this module would choke
on these failures, which in turn would prevent Puppet from executing.

There are still improvements to be made to error catching, but these
changes should at least let Puppet runs keep going, even if Gluster does
have stale locks.
@everestx
Copy link

Looks good, aside from the indenting you mentioned. I guess that's just using spaces vs. tabs.

The real change of this pull request remains at line 44-49,  where we
catch failures from the `gluster volume status` command for each
volume.

This commit simply tidies up the tabs and whitespace.
skpy added a commit that referenced this pull request Jan 19, 2015
Handle failures from `gluster volume status foo`.

Also using `set tabstop=2` and `set shiftwidth=2` in my .vimrc, so indentation has changed.
@skpy skpy merged commit a5fe866 into master Jan 19, 2015
@skpy skpy deleted the sdm-fact-improve branch January 19, 2015 13:48
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.

None yet

2 participants