On 7 December 2013 02:29, Rafael Tomelin <rafael.tomelin@gmail.com> wrote:
> Hi,
>
> Which option do I use to force installation of dependencies of a package?
>
What operating system are you using? The ability for dependencies to be
installed automatically depends on the underlying provider on your OS.
For example, on Red Hat type flavours of Linux, ''yum'' will be
used, which
will install dependencies automatically.
> Made as follows, but appears me an error:
>
> CONF
> package {"bacula-common":
> Ensure => installed,
> force => true,
> }
>
>
> ERROR
> puppet agent - test
> Info: Retrieving plugin
> Info: Loading facts in / var / lib / puppet / lib / facter /
> facter_dot_d.rb
> Info: Loading facts in / var / lib / puppet / lib / facter / pe_version.rb
> Info: Loading facts in / var / lib / puppet / lib / facter / root_home.rb
> Info: Loading facts in / var / lib / puppet / lib / facter /
> puppet_vardir.rb
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Invalid parameter force at / etc / puppet / modules / bacula-server /
> manifests / init.pp: 10 on node srvbkp.teclinux.com
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
> As shown at
http://docs.puppetlabs.com/references/3.stable/type.html#package-attributes''force''
isn''t a valid parameter for the ''package'' type.
Regards,
Matt.
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CAKUTv3LVMCPAbybxQY0do8_NtoPEkT03j95fHemn2Jznfre0DA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.