Re: [Puppet Users] Re: puppet resource processed just once a day

2019-10-03 Thread Angel L. Mateo
Thank you very much. El 18/9/19 a las 15:07, jcbollinger escribió: On Wednesday, September 18, 2019 at 1:55:29 AM UTC-5, amateo wrote: Hi, I have a puppet resource I would like it to be processed just in one run every day, I don't need it to be processed in e

Re: [Puppet Users] Re: Hiera value not being passed

2019-10-03 Thread Henrik Lindberg
On 2019-10-02 23:21, Jagga Soorma wrote: Looks like I figured it out. I was passing the hiera variable incorrectly. Changed from passing in to class String $nodetype, to $nodetype=hiera('nodetype') Note that all functions starting with "hiera" are deprecated. Use the "lookup()" function in

[Puppet Users] puppetdb 6x not deactivating from catalogs table

2019-10-03 Thread Andy Hall
hey there we have just migrated hundreds of hosts from 3.x to 6.x and although lots of work we are almost home and dry but have an issue with puppetdb which I hope can be solved. we are running puppetdb-6.3.4 but when removing an old node as follows: puppet node deactivate the information is

Re: [Puppet Users] Re: Hiera value not being passed

2019-10-03 Thread Jagga Soorma
Thanks Henrik. However, changing my code to do the following still shows that warning: -- class foo ( $nodetype = lookup('nodetype') ){ ..blah.. } # puppet apply --hiera_config=/root/test/puppetlabs/code/environments/production/hiera.yaml --modulepath /root/test/puppetlabs/code/environments/p

Re: [Puppet Users] Re: Hiera value not being passed

2019-10-03 Thread Henrik Lindberg
On 2019-10-04 00:47, Jagga Soorma wrote: Thanks Henrik.  However, changing my code to do the following still shows that warning: -- class foo ( $nodetype = lookup('nodetype') ){ ..blah.. } You are missing that "automatic" in "automatic parameter lookup" means that it does this for you - no