<commit_before>#
# Cookbook Name:: pantry
# Attributes:: mac_os_x
#
# Copyright (C) 2014, Chef Software, Inc. <<EMAIL>>
#

chef_gem 'plist'
ohai('system_profile') { plugin 'system_profile' }.run_action(:reload)

directory '/opt/homebrew-cask' do
  mode 00775
end

directory '/opt/homebrew-cask/Caskroom' do
  mode 00775
end

# Chef::Provider::User::Dscl uses this directory, but nothing actually creates it by default.
# https://github.com/opscode/chef/issues/1634
directory '/var/db/shadow/hash' do
  recursive true
end<commit_msg>ensure Library/Caches is sticky for cask<commit_after>#
# Cookbook Name:: pantry
# Attributes:: mac_os_x
#
# Copyright (C) 2014, Chef Software, Inc. <<EMAIL>>
#

chef_gem 'plist'
ohai('system_profile') { plugin 'system_profile' }.run_action(:reload)

directory '/opt/homebrew-cask' do
  mode 00775
end

directory '/opt/homebrew-cask/Caskroom' do
  mode 00775
end

directory '/Library/Caches' do
  mode 01777
end

# Chef::Provider::User::Dscl uses this directory, but nothing actually creates it by default.
# https://github.com/opscode/chef/issues/1634
directory '/var/db/shadow/hash' do
  recursive true
end
{'fraction_non_alphanumeric': 0.12894736842105264, 'fraction_numerical': 0.035964912280701755, 'mean_word_length': 4.942708333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1159748', 'n_tokens_mistral': 438, 'n_tokens_neox': 397, 'n_words': 108}