Chef/Correctness/OctalModeAsString
The Cookstyle cops department: Chef/Correctness
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | No | All Versions |
Don’t represent file modes as Strings containing octal values.
Examples
incorrect
file '/etc/some_file' do
mode '0o755'
end
correct
file '/etc/some_file' do
mode '0755'
end
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 6.21.0 | String |
Include | Array |