Re: [Puppet Users] hiera_hash string key variable

2017-06-26 Thread Henrik Lindberg
On 26/06/17 18:33, João Matos wrote: Hi i wanted to had the value to hiera_hash string key from a variable something like: $variable= specific $newvariable = hiera_hash('data::hiera::$variable') is this possible what's the correct syntax? I think you want to interpolate a value into the st

[Puppet Users] hiera_hash string key variable

2017-06-26 Thread João Matos
Hi i wanted to had the value to hiera_hash string key from a variable something like: $variable= specific $newvariable = hiera_hash('data::hiera::$variable') is this possible what's the correct syntax? Thanks -- You received this message because you are subscribed to the Google Groups "Pu

[Puppet Users] cron deleting not managed entries in some rare case

2017-06-26 Thread ikkaro
Hi, Puppet it's deleting not managed lines in some cases. Best explained in this example: This is an example manifest: cron { 'logrotate': command => '/usr/sbin/test1', user=> 'zabbix', hour=> ['2-4'], minute => '*/10', } cron { 'prueba2': command => '/usr/sbin/test2', use

[Puppet Users] cron deleting not managed entries in some rare case

2017-06-26 Thread ikkaro
Hi, Puppet it's deleting not managed lines in some cases. Best explained in this example: This is an example manifest: cron { 'logrotate': command => '/usr/sbin/test1', user=> 'zabbix', hour=> ['2-4'], minute => '*/10', } cron { 'prueba2': command => '/usr/sbin/test2', use

[Puppet Users] cron deleting not managed lines in rare circumstacies

2017-06-26 Thread ikkaro
Hi, Puppet it's deleting not managed lines in some cases. Best explained in this example: This is an example manifest: { cron { 'logrotate': command => '/usr/sbin/test1', user=> 'zabbix', hour=> ['2-4'], minute => '*/10', } cron { 'prueba2': command => '/usr/sbin/test2', us

[Puppet Users] Variable scope on sub-defined ressource type

2017-06-26 Thread Prunk Dump
Hello puppet Team ! I have trouble upgrading some code from puppet-3.7 to puppet-4.8. I have a class, a defined type, and a sub-defined type like this : define mainclass::myress::sub { # access to : # $mainclassvar # $myressvar } define mainclass::myress($arga = $title, $argb) {