Hello all. I have been banging my head against this problem and I cannot
for the life of me determine what is wrong. We are running Puppet v3.2.2.
  Here's the situation:

We have a module called domex. The domex modules has an init.pp that
defines a domex class. Various things happen in that module, but the
important part is some variable definitions, so I'll whittle it down.

class domex {
   $nifi_dir =
   $storm_streaming_pkg_reqs = "infrastructure-deps-iep-storm-addon"

I've put notify statements in so I can verify the contents of the variables
are correct in the init.pp and they are.

Now, I have two subclasses, each defined in their own files.

class domex::nifi {
   include domex
   $nifi_dir = $domex::nifi_dir

A notify statement shows that $nifi_dir gets populated with the correct

class domex::storm {
   include domex
   $storm_pkg_reqs = $domex::storm_streaming_pkg_reqs

In this case, $storm_pkg_reqs ends up no value. The value of
$domex::storm_streaming_pkg_reqs also has no value.

Nothing else touches any of these variables in any other manifest. I do
not the reason $storm_pkg_reqs ends up being undefined. I know this setup
seems a bit convoluted, but it's not my choice, I'm having to take existing
puppet modules and tweak them for our environment, so wholesale structural
changes are out of the question (no matter how much I might like to make

Any and all help would be greatly appreciated!


You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
grouppuppet-users @
postedOct 23, '13 at 3:10p
activeOct 25, '13 at 1:17p

2 users in discussion

Bob Jones: 3 posts Jcbollinger: 2 posts



site design / logo © 2022 Grokbase