chef / chef-apply

The ad-hoc execution tool for the Chef ecosystem.
https://www.chef.sh/
Apache License 2.0
14 stars 14 forks source link

Support macOS as target #42

Closed cheeseplus closed 3 years ago

cheeseplus commented 6 years ago

Description

Support targets of macOS

Current Situation

Replication Case

At present this breaks on:

  1. grabbing the installer
  2. creating remote_path (tmpdir)
  3. executing chef-client

Client Output

chef-run -i ~/.ssh/id_rsa --user "user" ssh://grimoire log boop
[✔] Packaging cookbook... done!
[✔] Generating local policyfile... exporting... done!
[✖] Applying log[boop] from resource to target.
└── [✖] [grimoire] ChefApply::TargetHost::UnsupportedTargetOS

CHEFTARG001

'mac_os_x' is not a supported target operating system at this time.

Acceptance Criteria

The following command will create a directory on a macOS host: chef-run SOMEUSER:SOME_PASSWORD@A_MAC_HOST directory /tmp/foo

tyler-ball commented 5 years ago

Triaging issues - we don't have a timeline for this but it is something we want to do

tas50 commented 3 years ago

Anyone taking this on should check out the previous PR. It won't rebase due to changes in the codebase, but the overall implementation is sound.

nikhil2611 commented 3 years ago

Fixed.