Hello, 

i try to get working the puppet bacula plugin written by puppetlabs without 
success. I dont know where is the problem because im newbie in puppet.

root@puppetmaster:/etc/puppet/environments/production/manifests# puppet 
module install puppetlabs-bacula
Notice: Preparing to install into 
/etc/puppet/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/etc/puppet/environments/production/modules
└─┬ puppetlabs-bacula (v0.0.2)
  ├── puppetlabs-mysql (v3.6.0)
  ├── puppetlabs-sqlite (v0.0.1)
  └── puppetlabs-stdlib (v4.8.0)
root@puppetmaster:/etc/puppet/environments/production/manifests#

After i just tried to use bacula class in puppet i got this error:

root@puppetmaster:/etc/puppet/environments/production/manifests# puppet 
apply puppetmaster.lab.local.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Error: custom functions must be called with a single array that contains 
the arguments. For example, function_example([1]) instead of 
function_example(1) at 
/etc/puppet/environments/production/modules/bacula/manifests/director.pp:72 
on node puppetmaster.lab.local
Error: custom functions must be called with a single array that contains 
the arguments. For example, function_example([1]) instead of 
function_example(1) at 
/etc/puppet/environments/production/modules/bacula/manifests/director.pp:72 
on node puppetmaster.lab.local
root@puppetmaster:/etc/puppet/environments/production/manifests#

My puppetmaster manifest looks like this:

root@puppetmaster:/etc/puppet/environments/production/manifests# cat 
puppetmaster.lab.local.pp
node 'puppetmaster.lab.local' {

        class { 'bacula':
                is_storage        => true,
                is_director       => true,
                is_client         => true,
                manage_console    => true,
                director_password => 'XYZXYZXYZ',
                console_password  => 'XYZXYZXYZ',
                director_server   => 'bacula.domain.com',
                mail_to           => '[email protected]',
                storage_server    => 'bacula.domain.com',
        }

}
root@puppetmaster:/etc/puppet/environments/production/manifests#

Can somebody gives me an advice?

Im using puppet version:

root@puppetmaster:/etc/puppet/environments/production/manifests# dpkg -l 
|grep puppet
ii  puppet-common                        3.7.2-4                          
all          configuration management system
ii  puppetlabs-release-pc1               0.9.3.3.g91e66b9-1jessie         
all          Release packages for the Puppet Labs PC1 repository
ii  puppetmaster                         3.7.2-4                          
all          configuration management system, master service
ii  puppetmaster-common                  3.7.2-4                          
all          configuration management system, master common files
root@puppetmaster:/etc/puppet/environments/production/manifests#



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/939d0f57-f76c-484f-8d5e-f70b545ddcd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to