Skip to content

Commit

Permalink
Use root_groupt to simplify test recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored and chris-rock committed Aug 23, 2016
1 parent 045a034 commit 87c1ae1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/integration/cookbooks/test/recipes/prep_files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
# Helper recipe to create create a few files in the operating
# systems, which the runner will test against.

gid = 'root'
gid = 'wheel' if node['platform_family'] == 'freebsd'
gid = 'system' if node['platform_family'] == 'aix'
gid = node['platform_family'] == 'aix' ? 'system' : node['root_group']

file '/tmp/file' do
mode '0765'
Expand Down

0 comments on commit 87c1ae1

Please sign in to comment.