Post a copy of the yum.pp (baseconfig::yum), ntp.pp (baseconfig::ntp) and wget.pp (baseconfig::wget) files.
Or do you have all 3 classes in the same manifest - init.pp? -------------------------- Warron French On Thu, Feb 8, 2018 at 2:57 PM, <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/puppet-users/3e90d520-4604-4225-ab20-0b9770794c7d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJdJdQnGOPnzG1XKmbSAjOwpoU%3D%3D49OUu1V0DM0D29%3DBu0x5%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
