summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-20 10:43:56 -0700
committerGitHub <noreply@github.com>2018-08-20 10:43:56 -0700
commita67a82745ac1a72df21d1b6145374c3c19ef64a3 (patch)
treeb17b39c2b2793dce3fd48e2d28e7a619517d72bf
parent6abd196f3482c7ecc8b587124a6cb7238a7fd2dc (diff)
parentb672bafee80e0a3f029ae3b02193b75edc04b0cf (diff)
downloadchef-a67a82745ac1a72df21d1b6145374c3c19ef64a3.tar.gz
Merge pull request #7545 from chef/release_notes
Start work on the 14.4 release notes
-rw-r--r--RELEASE_NOTES.md43
-rw-r--r--lib/chef/resource/cron_access.rb4
2 files changed, 45 insertions, 2 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 68a31e9882..a1622e9121 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -26,6 +26,49 @@ $ knife config list-profiles
*prod myuser ~/.chef/user.pem https://example.com/organizations/prod
```
+## New Resources
+
+### Cron_d
+
+Use the cron_d resource to manage cron definitions in /etc/cron.d. This is similar to the `cron` resource, but it does not use the monolithic /etc/crontab. file."
+
+#### Actions
+
+- `create` - Add a cron definition file to /etc/cron.d.
+- `create_if_missing` - Add a cron definition file to /etc/cron.d, but do not update an existing file.
+- `delete` - Remove a cron definition file from /etc/cron.d if it exists.
+
+### Cron_access
+
+Use the cron_access resource to manage the /etc/cron.allow and /etc/cron.deny files. This resource previously shipped in the `cron` community cookbook and has fully backwards compatibility with the previous `cron_manage` definition in that cookbook.
+
+#### Actions
+
+- `allow` - Add the user to the cron.allow file.
+- `deny` - Add the user to the cron.deny file.
+
+## Resource improvements
+
+### windows_package
+
+The windows_package resource now supports setting the `sensitive` property to avoid showing errors if a package install fails.
+
+### sysctl
+
+The sysctl resource will now update the on-disk systctl.d file even if the current sysctl value matches the desired value.
+
+### windows_task
+
+The windows_task resource now supports setting the task priority of the scheduled task with a new `priority` property.
+
+### ifconfig
+
+The ifconfig resource now supports setting the interface's VLAN via a new `vlan` property on RHEL platform_family and setting the interface's gateway via a new `gateway` property on RHEL/Debian platform_family.
+
+### route
+
+The route resource has been improved to support additional RHEL platform_family systems as well as Amazon Linux.
+
# Chef Client Release Notes 14.3:
## New Preview Resources Concept
diff --git a/lib/chef/resource/cron_access.rb b/lib/chef/resource/cron_access.rb
index dbcc0709b7..b6b822ba40 100644
--- a/lib/chef/resource/cron_access.rb
+++ b/lib/chef/resource/cron_access.rb
@@ -35,7 +35,7 @@ class Chef
name_property: true
action :allow do
- description "Add the user to the cron.deny file."
+ description "Add the user to the cron.allow file."
with_run_context :root do
edit_resource(:template, "/etc/cron.allow") do |new_resource|
@@ -51,7 +51,7 @@ class Chef
end
action :deny do
- description "Add the user to the cron.allow file."
+ description "Add the user to the cron.deny file."
with_run_context :root do
edit_resource(:template, "/etc/cron.deny") do |new_resource|