[Puppet Users] Convert hiera_hash code to hiera_array?

2016-06-28 Thread potlipin
Hi all, I'm trying to install a cron module in our Puppet 2.6 infrastructure, to be used with Hiera. Thing is pushing the new code to the nodes is failing cause of them not being able to process the hiera_hash function, which is missing. err: Could not retrieve catalog from remote server: Erro

[Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `merge' for "mysqlbackup_monthly":String at /root/puppet/modules/cron/manifests/init.pp:40

2016-06-02 Thread potlipin
Hi guys, I'm testing a new Puppet cron module to be used with Hiera (https://github.com/roman-mueller/rmueller-cron). I'm trying to create a new cron job on a test node by passing data with hiera_hash and create resources. init.pp class cron ( $manage_package = false, $package_ensure = 'i