Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically generate the new_resource attributes
Issue #99 came up because an attribute for the `yum_globalconfig` was left out - the cachedir. This commit updates the recipe to dynamically walk the `node['yum']['main']` attributes and send each one with its value to the new resource. This assures that all attributes defined are passed into the configuration. This *can* lead to an error if a user adds an attribute incorrectly. That seems unlikely, though. I hope.
- Loading branch information
jtimberman
committed
Oct 15, 2014
1 parent
7a04e5f
commit 866af86
Showing
1 changed file
with
6 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters