Ask Your Question

"puppet resource package" provider ?

asked 2016-10-05 16:20:11 -0600

darediavel gravatar image

Hi All,

When I execute "puppet resource package " , puppet assumes yum as the default provider. How do you override it with other provider , say pip or gem? at the cli

Regards, Gowtham

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-10-06 03:21:11 -0600

lupin gravatar image

you pass the provider parameter, puppet resource package <pkg_name> provider=pip ensure=present

edit flag offensive delete link more

answered 2016-10-06 12:54:44 -0600

darediavel gravatar image

Hi Lupin, I didn't come thr more clear in the question.

I have able to execute e.g. puppet resource package pyxattr provider=pip package { 'pyxattr': ensure => '0.5.1', }

But I would like to list all the packages installed on a node with provider

"puppet resource package" list all the pkg installed via yum.

how to list all the pkg installed via pip or gem?

edit flag offensive delete link more

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: 2016-10-05 16:20:11 -0600

Seen: 162 times

Last updated: Oct 06 '16