RE: [Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Bart-Jan Vrielink
Hello, Looks like the concat module may do the job? $my_template = '/my/config.file' concat { $my_template: } concat::fragment { 'standard contents':   target => $my_template,   content => template('my.epp'), } And then in the Amavis profile class: concat::fragment { 'extra

Re: [Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Helmut Schneider
Christopher Wood wrote: > Top post, I'm not skilled enough to read this hence not sure where I'd > interject. You may be better off using simpler constructs so that > people with a wider variety of skill levels in your organization can > contribute. > > What problems are you encountering where

Re: [Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Christopher Wood
Top post, I'm not skilled enough to read this hence not sure where I'd interject. You may be better off using simpler constructs so that people with a wider variety of skill levels in your organization can contribute. What problems are you encountering where describing state is not sufficient to

[Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Helmut Schneider
Hi, I hope I can descripe the challenge. /etc/puppetlabs/code/environments/production/manifests/nodes.pp: node default { include common } /etc/puppetlabs/code/modules/common/manifests/init.pp: class common inherits config { include $classes [...]