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

A stopped volume aborts a Puppet run #1

Closed
skpy opened this issue Sep 2, 2014 · 0 comments
Closed

A stopped volume aborts a Puppet run #1

skpy opened this issue Sep 2, 2014 · 0 comments

Comments

@skpy
Copy link
Contributor

skpy commented Sep 2, 2014

If a Gluster volume is stopped, a Puppet run will fail:

# puppet agent -t
Info: Retrieving plugin
Volume uploads is not started
Error: Could not retrieve local facts: undefined method `scan' for nil:NilClass
Error: Failed to apply catalog: Could not retrieve local facts: undefined method `scan' for nil:NilClass

This appears to be the offending line:
https://github.com/covermymeds/puppet-gluster/blob/master/lib/facter/gluster.rb#L44

We should check if the volume is started, rather than assuming it is.

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

No branches or pull requests

1 participant