summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES.md
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2014-08-04 11:45:40 -0700
committerPhil Dibowitz <phil@ipom.com>2014-08-04 15:38:31 -0700
commitfa33c10522b7ad8719e275e6f0be981c7ada348e (patch)
treea4faa39dbc4715d4d0799a39fd8c56850aed69f7 /RELEASE_NOTES.md
parent1dc4da1720c8bdbd8f44429c6d7861d484dcd631 (diff)
downloadchef-fa33c10522b7ad8719e275e6f0be981c7ada348e.tar.gz
Fix OSX Group provider to be properly idempotent
Currently the OSX Group provider use the 'Etc' module to determine what exists, and the 'dscl' command to change things. Etc will look to /etc/group by default and fallback to 'dscl', which causes idempotency incorrectness. This change the Group provider to simply look at 'dscl' always.
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r--RELEASE_NOTES.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b1da138bd8..2ef7cee692 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -82,3 +82,10 @@ it has been removed. See: https://github.com/opscode/chef/commit/12c9bed3a5a7ab8
`Chef::Cookbook::FileVendor` was previously configured by passing a
block to the `on_create` method; it is now configured by calling either
`fetch_from_remote` or `fetch_from_disk`. See: https://github.com/opscode/chef/commit/3b2b4de8e7f0d55524f2a0ccaf3e1aa9f2d371eb
+
+## 'group' provider on OSX properly uses 'dscl' to determine existing groups
+
+On OSX, the 'group' provider would use 'etc' to determine existing groups,
+but 'dscl' to add groups, causing broken idempotency if something existed
+in /etc/group. The provider now uses 'dscl' for both idempotenty checks and
+modifications.