diff --git a/cookbooks/chef-workstation/recipes/pre-install.bash b/cookbooks/chef-workstation/recipes/pre-install.bash new file mode 100755 index 0000000..eb1a231 --- /dev/null +++ b/cookbooks/chef-workstation/recipes/pre-install.bash @@ -0,0 +1,13 @@ +#!/bin/bash -e + +function main() +{ + source "$(dirname "${BASH_SOURCE[0]}")/../../../libraries/util.bash" + + checkRequireMacSystem + checkRequireRootUser + + rm -f -r -v '/opt/chef-workstation' +} + +main "${@}" \ No newline at end of file diff --git a/roles/nam/roles/mac-cli-apps.bash b/roles/nam/roles/mac-cli-apps.bash index 337d92b..21d8cee 100755 --- a/roles/nam/roles/mac-cli-apps.bash +++ b/roles/nam/roles/mac-cli-apps.bash @@ -5,7 +5,7 @@ function main() # Packages local -r caskPackageNames=( - 'chef/chef/chefdk' + 'chef-workstation' ) local -r packageNames=(