- From: Sean OMeara <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: Enabling/disabling yum repos
- Date: Tue, 21 Oct 2014 15:02:07 -0400
You just have the wrong attributes. =)
https://github.com/opscode-cookbooks/yum-repoforge/blob/master/test/fixtures/cookbooks/yum-repoforge-wrapper/recipes/default.rb#L3
https://github.com/opscode-cookbooks/yum-repoforge/blob/master/test/integration/includerecipe/bats/test_for_disabled.bats#L9
-s
On Tue, Oct 21, 2014 at 2:50 PM, eric
<
>
wrote:
>
Maybe the issue is that I'm trying to get the rpmforge-extras repo
>
enabled/disabled, not just rpmforge.
>
>
The name change from rpmforge to repoforge has complicated things a bit,
>
since
>
in some places we use one and in some the other.
>
>
Neither this:
>
>
node.default['yum']['repoforge-extras']['enabled'] = true
>
node.default['yum']['repoforge-extras']['managed'] = true
>
include_recipe "yum-repoforge"
>
>
nor this:
>
>
node.default['yum']['repoforge-extras']['enabled'] = true
>
node.default['yum']['repoforge-extras']['managed'] = true
>
include_recipe "yum-repoforge"
>
>
is working for me now.
Archive powered by MHonArc 2.6.16.