Well, I did a downgrade to 3.7.2 and this issue no longer appears. It
appears there is a regression on 3.7.3. I'll submit a bug.
On Tuesday, December 30, 2014 10:35:01 AM UTC-7, Matthew Kennedy wrote:
>
> 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/5dceabc2-f01c-4f9a-b6ac-2bf45101d664%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.