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 <priyop...@gmail.com> wrote: > 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: '/usr/bin/gunzip' > application: > path: > - '/var/log/application' > compress: true > compresscmd: '/usr/bin/gzip' > uncompresscmd: '/usr/bin/gunzip' > > > Every time I have to put compress* and uncompress , is there a way whre i > can inherit those from a parent . > > > -- > 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 puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/7fa51816-e9c3-4a2b-9ad9-54be3f8c3efb%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/7fa51816-e9c3-4a2b-9ad9-54be3f8c3efb%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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtxG%2BemLFGCQ6KJVqhkt7ps_LMUbm-T3%2BspsYmHVghKiMQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.