Re: [Puppet Users] is it possible to inherit parameters in hieradata

2018-06-11 Thread jcbollinger
On Saturday, June 9, 2018 at 10:23:34 AM UTC-5, Robert wrote: > > Yes. > > https://puppet.com/docs/puppet/5.0/hiera_merging.html#hash > > So you could use a "logrotate::rules::defaults" hash and only specify the > differences, then use hash (or maybe deep) merge strategy. > Well no, not like t

Re: [Puppet Users] is it possible to inherit parameters in hieradata

2018-06-09 Thread Robert
Yes. https://puppet.com/docs/puppet/5.0/hiera_merging.html#hash So you could use a "logrotate::rules::defaults" hash and only specify the differences, then use hash (or maybe deep) merge strategy. Best, Rp On Fri, Jun 8, 2018 at 11:55 PM Priyo Phan wrote: > I am configuring logrotate and was

[Puppet Users] is it possible to inherit parameters in hieradata

2018-06-08 Thread Priyo Phan
I am configuring logrotate and was wondering if i can inherit parameters , my common.yaml is given below :- classes: - logrotate logrotate::hieramerge: true logrotate::rules: syslog: path: - '/var/log/messages' compress: true compresscmd: '/usr/bin/gzip' uncompresscmd: