Package install_options

87 views
Skip to first unread message

Alexander Dacre

unread,
Sep 18, 2015, 1:55:01 PM9/18/15
to Puppet Users
Hi,

I'm having some difficulty with specifying a nogpgcheck option when installing custom RPM packages via Puppet. The problem is that the install_options do not get picked up by the agent.

I've tried the following syntax:

package { blah:
  ensure => latest,
  install_options => [ '--nogpgcheck'],
}

package { blah:
  ensure => latest,
  install_options => '--nogpgcheck',
}

But the client just doesn't pick it up and the run fails due to the package not being signed.

Any suggestions?

Thanks,
A

Garrett Honeycutt

unread,
Sep 18, 2015, 4:28:08 PM9/18/15
to puppet...@googlegroups.com
Hi,

Suggest signing the packages ;>

But in efforts to help with your Puppet configuration, it seems that the
provider might not understand the install option. What messages do you
get when running with --debug? What type of system is this? Which
package system are you using?

Best regards,
-g

--
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile: +1.206.414.8658

Alexander Dacre

unread,
Sep 19, 2015, 7:15:21 AM9/19/15
to Puppet Users

Found the issue. The node in question was running an older (2.7) Puppet agent.

Reply all
Reply to author
Forward
0 new messages