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

Creating volume without replication #88

Closed
kashif74 opened this issue Nov 22, 2016 · 0 comments
Closed

Creating volume without replication #88

kashif74 opened this issue Nov 22, 2016 · 0 comments

Comments

@kashif74
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: puppet-3.8.7-1
  • Ruby: ruby-2.0.0
  • Distribution: RHEL 7
  • Module version: Latest

How to reproduce (e.g Puppet code you use)

What are you seeing

If I don't provide replica option, puppet does not create volume

What behaviour did you expect instead

I changed volume.pp and then it worked
if $replica {
if ! is_integer( $replica ) {
fail("Replica value ${replica} is not an integer")
} else {
$_replica = "replica ${replica}"
}
} else { # This else part was added
$_replica = ''
}

Output log

Any additional information you'd like to impart

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