Funnily enough I was asking a similar thing on IRC the other day but
didn't get much luck. We're implementing Hiera across modules that
require significant amounts of variables. We have a lot of environments
(>20) and we often get problems where someone introduces a new variable,
adds it to a template and tests it in dev but dont add a default, or add
it to each environment, therefore catalog compilation fails in non-dev
environments.
Ideally I'd like to be able to catch this with rspec-puppet but can't
see an easy way to say "class bar should have variable foo and it
shouldn't be undefined", or something when sourcing variables from other
classes or hiera.
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--You received this message because you are subscribed to the Google Groups "Puppet Users" group.To post to this group, send email to puppet...@googlegroups.com.To unsubscribe from this group, send email to puppet-users...@googlegroups.com.For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.