diff options
author | Claire McQuin <claire@getchef.com> | 2015-01-14 11:40:48 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2015-01-15 15:34:33 -0800 |
commit | 4cbc6274889ddedf105ec99200f53b50439df273 (patch) | |
tree | e42d111f7f20f45377f0dbbdeb4e5ef377c9c9f0 /RELEASE_NOTES.md | |
parent | d1a70027b68b1ba6d36eea3bc38d5441a61f22f8 (diff) | |
download | chef-4cbc6274889ddedf105ec99200f53b50439df273.tar.gz |
Update DSL method name to controls_group.mcquin/control_group
Update to use control_group.
Unify wording along control_group.
Unify wording along control_group.
Fix typo.
Enable audit mode.
Update to use control_group syntax.
Update for audit DSL changes.
Update for audit DSL change.
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 43c8f06d93..f457841a3e 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). |