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

use ensure_resources to handle multiple physical_volume in a volume_grou... #38

Merged
merged 2 commits into from
Jan 24, 2014

Conversation

kjetilho
Copy link
Contributor

...p

(dependency in Modulefile is only stdlib 2.x, although 4.1 is required
for this new behaviour.)

…roup

(dependency in Modulefile is only stdlib 2.x, although 4.1 is required
for this new behaviour.)
@@ -3,3 +3,4 @@ version '0.1.2'
license 'GPLv2'
summary 'Puppet types and providers to manage LVM'
project_page 'https://github.com/puppetlabs/puppetlabs-lvm'
dependency 'puppetlabs/stdlib', '>= 2.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

If you require stdlib 4.1 as the comment here[1] then should read be

dependency 'puppetlabs/stdlib', '4.1.x'

[1] - https://github.com/kjetilho/puppetlabs-lvm/blob/7b2138820f4688b3414b8b3492fadd7b77d8ff64/manifests/volume.pp#L104

@kjetilho
Copy link
Contributor Author

thanks for looking at my patch. I was in two minds about this since I didn't want to make puppetlabs-lvm unavailable to those running older Puppet versions (like ourselves... I just copied the newer ensure_resources.rb into our stdlib 2.x branch), for a feature they don't necessarily need.

@apenney
Copy link

apenney commented Sep 13, 2013

I'm torn on this, I feel like there's -always- a way to restructure things to avoid ensure_resources or defined in the first place. Let me think on this and take a look at the code, see if I can think of an alternative.

@apenney
Copy link

apenney commented Jan 24, 2014

Who am I kidding, I sure didn't make anything better here.

apenney pushed a commit that referenced this pull request Jan 24, 2014
use ensure_resources to handle multiple physical_volume in a volume_grou...
@apenney apenney merged commit e00dcc3 into puppetlabs:master Jan 24, 2014
cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Oct 23, 2017
use ensure_resources to handle multiple physical_volume in a volume_grou...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants