gentoo / puppet-portage

[ORIGIN] Puppet module providing various Gentoo portage features
GNU General Public License v2.0
49 stars 30 forks source link

hiera support #118

Closed joseaguev closed 10 years ago

joseaguev commented 10 years ago

Hi,

Any chance you can add hiera support for at least the stuff in the params.pp manifest? For example,

$eselect_ensure = hiera('eselect_ensure', absent)

adrienthebo commented 10 years ago

This can be done automatically using Puppet 3 and the data bindings, is this behavior specifically for compatibility with Puppet 2.7?

joseaguev commented 10 years ago

Yes.

adrienthebo commented 10 years ago

@tampakrap @vikraman what do you guys think about supporting Puppet 2.7?

adrienthebo commented 10 years ago

@tampakrap Puppet 2.7.23 is in the portage tree but 2.7 is officially EOL and some community members have taken up maintenance for 2.7. @vikraman is neutral; what do you say?

tampakrap commented 10 years ago

no, sorry. I'm against supporting puppet 2.7 (same opinion for ruby 1.8, but irrelevant to this thread)

adrienthebo commented 10 years ago

If you need this functionality you can wrap the portage classes and definitions with another module that adds the hiera lookups; this should achieve what you need. In the mean time Puppet 2.7.x is EOL and has been for some time; since there's a workaround for this issue and this isn't a version of Puppet we want to support I'm going to close this. If you have any additional questions please feel free to comment and we can continue the conversation from there.