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

2018-06-11 Thread Priyo Phan
Thanks for all the tips , works fine with logrotate::conf declaration . On Monday, June 11, 2018 at 6:41:36 AM UTC-7, jcbollinger wrote: > > On Friday, June 8, 2018 at 4:55:09 PM UTC-5, Priyo Phan wrote: >> >> I am configuring logrotate and was wondering if i can inherit p

Re: [Puppet Users] Duplicate declaration error

2018-06-08 Thread Priyo Phan
I think it is due to the Apache class being called inside your defined type, it is being called more than once when you try to create more than 1 vhost. On Fri, Jun 8, 2018, 15:40 Clemens Bergmann wrote: > Hi There, > > I have a "can not redeclare" error that I do not understand. > > I try to wr

[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: