Re: [Puppet Users] Automatic parameter lookup including metaparameters

2018-08-13 Thread Michael Watters
The error I was getting was due to duplicate declarations of the autofs class as follows. ``` 29) dart::abstract::aos_master_node on fedora-26-x86_64 should contain Logrotate::Rule[httpd] with path => "/var/log/httpd/*log", missingok => true, ifempty => false, sharedscripts => true,

Re: [Puppet Users] Automatic parameter lookup including metaparameters

2018-08-09 Thread Ben Ford
Hi Michael. Can you share the code you tried and the errors you ran into? On Thu, Aug 9, 2018 at 11:30 AM Michael Watters wrote: > Hello, > > Is it possible to define metaparameters for a resource in Hiera? For > example, I have a class that is currently declared within another class as >

[Puppet Users] Automatic parameter lookup including metaparameters

2018-08-09 Thread Michael Watters
Hello, Is it possible to define metaparameters for a resource in Hiera? For example, I have a class that is currently declared within another class as follows. if !defined(Class['autofs']) { class { 'autofs': require => [ Class['authconfig'],