[chef] Enabling/disabling yum repos


Chronological Thread 
  • From: eric < >
  • To:
  • Subject: [chef] Enabling/disabling yum repos
  • Date: Tue, 21 Oct 2014 08:43:30 -0700 (PDT)

I'm trying to figure out how to enable and disable yum repos with the 3.x yum
and yum-* cookbooks.

I've tried this, but it doesn't appear to be working:

node.default['yum']['rpmforge']['enabled'] = false
node.default['yum']['rpmforge']['managed'] = true
include_recipe 'yum-repoforge'

Can anyone help with this?

Thanks.

Eric



Archive powered by MHonArc 2.6.16.

§