Skip to content

Commit

Permalink
Group spec needs to respond to shell_out
Browse files Browse the repository at this point in the history
  • Loading branch information
jaym committed Feb 19, 2015
1 parent 44ecf5c commit 9caa133
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/functional/resource/group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@

require 'spec_helper'
require 'functional/resource/base'
require 'chef/mixin/shell_out'

# Chef::Resource::Group are turned off on Mac OS X 10.6 due to caching
# issues around Etc.getgrnam() not picking up the group membership
# changes that are done on the system. Etc.endgrent is not functioning
# correctly on certain 10.6 boxes.
describe Chef::Resource::Group, :requires_root_or_running_windows, :not_supported_on_mac_osx_106 do
include Chef::Mixin::ShellOut

def group_should_exist(group)
case ohai[:platform_family]
when "debian", "fedora", "rhel", "suse", "gentoo", "slackware", "arch"
Expand Down

0 comments on commit 9caa133

Please sign in to comment.