Issue #23302 has been reported by cristian falcas.

----------------------------------------
Bug #23302: pupept fails with uppercase hostname and class with parameters
https://projects.puppetlabs.com/issues/23302

* Author: cristian falcas
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: facter
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
We encountered a strange error in a very specific case:
- machine has hostname uppercase
- it runs a class with parameters

Error from puppet run:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Puppet::Parser::AST::Resource failed with error NoMethodError: undefined method 
`include?' for false:FalseClass at 
/etc/puppet/environments/production/modules/role/manifests/role_foreman.pp:2 on 
node v-opt-ppt-01.hostname.net
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run




########### role_foreman class:
class role::role_foreman inherits role {
  class { 'profile::profile_domain': }
}


And profile_domain class:

class profile::profile_domain ( $sudoers = {} ) {
    notify { 'Can\'t apply class sssd': }
}


It works with this class (no parameters) or with hostname with lowercase:
class profile::profile_domain ( ) {
    notify { 'Can\'t apply class sssd': }
}

The only related bug that we could find was 1168.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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

Reply via email to