Hello all,
Thanks for the help in advance.
I am trying to understand where in my puppet run this error is coming from and how to debug.
Background information if helpful:
- Moving this node from a Puppet Master infrastructure to master-less.
- Currently not using hiera
Command:
puppet apply /etc/puppetlabs/code/environments/production/manifests/site.pp --environment=production --environmentpath=/etc/puppetlabs/code/environments/ --debug --verbose
Output:
Debug: Facter: resolving Xen facts.
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: importing '/etc/puppetlabs/code/environments/production/site/role/manifests/hybrisapp.pp' in environment production
Debug: Automatically imported role::hybrisapp from role/hybrisapp into production
Debug: ModuleLoader: module 'role' has unknown dependencies - it will have all other modules visible
Debug: importing '/etc/puppetlabs/code/environments/production/site/profile/manifests/baseconfig.pp' in environment production
Debug: Automatically imported profile::baseconfig from profile/baseconfig into production
Debug: ModuleLoader: module 'profile' has unknown dependencies - it will have all other modules visible
Debug: importing '/etc/puppetlabs/code/environments/production/modules/yum/manifests/init.pp' in environment production
Error: Illegal expression. A Type-Name is unacceptable as function name in a Function Call at /etc/puppetlabs/code/environments/production/modules/yum/manifests/init.pp:151:20
Error: Illegal expression. A Type-Name is unacceptable as function name in a Function Call at /etc/puppetlabs/code/environments/production/modules/yum/manifests/init.pp:152:20
Error: Illegal expression. A Type-Name is unacceptable as function name in a Function Call at /etc/puppetlabs/code/environments/production/modules/yum/manifests/init.pp:160:7
Error: Found 3 errors. Giving up
This where it is being used:
class profile::baseconfig {
include yum
include ntp
include wget
}
Any help on next steps to debug would be appreciated.