Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.9.12
-
Fix Version/s: None
-
Component/s: Chef Shell
-
Labels:None
Description
Shef provides a transform command to bulk edit data objects. The long description of this command is:
nodes.transform do |node| if node.fqdn =~ /.*\\.preprod\\.example\\.com/ node.set[:environment] = "preprod" end end
but the Shef::ModelWrapper#transform method requires an argument of either the symbol :all or a search string.
So either the in-line docs need to be fixed or the method should be modified to have a default argument of :all or some combo of the two.
Activity
- All
- Comments
- History
- Activity
- Transitions Summary