Issue occurs when the following has been defined
class { '::bacula::director': }
class { '::bacula::console': }
class { '::bacula::storage': }
class { '::bacula::client': }
mod 'lightoze/bacula', '0.0.4'
trusted is not a hash or array when accessing it with certname at modules/bacula/manifests/params.pp:45 on node
The snippet that is causing the issue:
$director_port = 9101
$director_password = sha1("${trusted['certname']}-dir-${::sshrsakey}")
$director_queryfile = '/etc/bacula/scripts/query.sql'
Where does trusted come from? sshrsakey is a fact and does not seem to cause the issue as facter returns a key.
Thise issue (https://ask.puppet.com/question/19949/creating-custom-facts-how-to-access-the-trusted-hash/) looks related.
How to solve this issue?
Issue occurs when the following has been defined
mod 'lightoze/bacula', '0.0.4'
The snippet that is causing the issue:
Where does
trustedcome from? sshrsakey is a fact and does not seem to cause the issue as facter returns a key.Thise issue (https://ask.puppet.com/question/19949/creating-custom-facts-how-to-access-the-trusted-hash/) looks related.
How to solve this issue?