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


It is not liking something about how I am using the yum 
module(https://forge.puppet.com/puppet/yum) module. 


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.

-- 
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/3e90d520-4604-4225-ab20-0b9770794c7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to