diff options
author | Serdar Sutay <serdar@opscode.com> | 2015-02-11 08:42:28 -0800 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2015-02-11 08:42:28 -0800 |
commit | 5a78c483d2a40b0de04609f7f6c829763fa9938b (patch) | |
tree | ecce6200d11e71c8680291821195a27d8e45e10a /RELEASE_NOTES.md | |
parent | 68bab0b362c47e5a75492e57094f72ecee1171ae (diff) | |
parent | 4cbc6274889ddedf105ec99200f53b50439df273 (diff) | |
download | chef-5a78c483d2a40b0de04609f7f6c829763fa9938b.tar.gz |
Merge pull request #2758 from chef/mcquin/control_group
Change audit DSL method controls to control_group.
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r-- | RELEASE_NOTES.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 9fc573fcd5..0bc20ad845 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -15,7 +15,7 @@ node. As such the syntax is very similar to a normal RSpec spec. ### Syntax ```ruby -controls "Database Audit" do +control_group "Database Audit" do control "postgres package" do it "should not be installed" do @@ -35,8 +35,8 @@ end Using the example above I will break down the components of an Audit: -* `controls` - This named block contains all the audits to be performed during the audit phase. During Chef convergence - the audits will be collected and ran in a separate phase at the end of the Chef run. Any `controls` block defined in +* `control_group` - This named block contains all the audits to be performed during the audit phase. During Chef convergence + the audits will be collected and ran in a separate phase at the end of the Chef run. Any `control_group` block defined in a recipe that is ran on the node will be performed. * `control` - This keyword describes a section of audits to perform. The name here should either be a string describing the system under test, or a [Serverspec resource](http://serverspec.org/resource_types.html). |