Hello Warren,

All three of these are the standard modules from the Puppet Forge.  I am 
using the Roles and Profiles pattern so I have a site.pp 

node /app/ {
  include role::hybrisapp
}

that references roles:

class role::hybrisapp {
  include profile::baseconfig
  include profile::hybris
}

I attached the yum, wget and ntp init.pp files from the modules

Thanks much, Leo


On Thursday, February 8, 2018 at 3:13:49 PM UTC-6, Warron French wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>.
>> 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/a8e75168-7768-4c27-b7cc-40967bb46f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: init.pp
Description: Binary data

Attachment: init.pp
Description: Binary data

Attachment: init.pp
Description: Binary data

Reply via email to