Ask Your Question

Install RPM built with FPM and dependencies

asked 2018-02-19 13:58:44 -0600

grahamking gravatar image

updated 2018-02-20 10:04:37 -0600

DarylW gravatar image


Hopefully someone can help as I am new to Puppet.

We are running version 3.6.2 (Puppet Enterprise 3.3.2) and I am looking to install an RPM that I created using FPM which requires a number of dependencies.

Would someone be able to advise how I would accomplish this as with it being an RPM that I have created the dependencies won't automatically be resolved.

I have created the below but it doesn't seem to work and I get no error output.

  package { 'Oracle_Client':
      ensure => '',
      require => [Package['compat-libcap1-1.10-7.el7'], Package['elfutils-libelf-devel-0.168-8.el7'], Package['gcc-4.8.5-16.el7'], Package['gcc-c++-4.8.5-16.el7'], Package['glibc-devel-2.17-196.el7'], Package['glibc-headers-2.17-196.el7'], Package['libaio-devel-0.3.109-13.el7'], Package['libstdc++-4.8.5-16.el7'], Package['libstdc++-devel-4.8.5-16.el7'], Package['numactl-devel-2.0.9-6.el7_2'], Package['sysstat-10.1.5-12.el7'], Package['libXi-1.7.9-1.el7'], Package['libXtst-1.2.3-1.el7']],


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-20 03:27:44 -0600

Gibbsoft gravatar image


Have you tried specifying the dependencies with --depend when you build the rpm with FPM? After that, I should think the puppet package resource would pull them in automatically.

edit flag offensive delete link more


Thanks, that'd maybe a better solution. I will give it a try.

grahamking gravatar imagegrahamking ( 2018-02-20 03:55:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-02-19 13:58:44 -0600

Seen: 112 times

Last updated: Feb 20