I have code that pulls in profiles.

    if (defined("profile::${separator}::${profile}")) {
      include "profile::${separator}::${profile}"
    }

$separator will be something like 'app' or 'role'
$profile will be something like 'blah' or 'blah_app'

The profile classes looks like

class profile::app::blah (
) {
  notify { 'I am blah': }
}

or 

class profile::app::blah_app (
) {
  notify { 'I am blah_app': }
}


The problem is that if I have a profile with an underscore (blah_app) the 
profile is not found otherwise the code works as intended.  As far as I 
understand _ is a permissible for class names.

I'm using latest 3.7.3

Any help would be 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/521b6542-9707-4cb7-a42b-f3769d659027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to