Validate chef-client packages downloaded into the chef-workstation cache #51
Labels
Aspect: Integration
Works correctly with other projects or systems.
Triage: Confirmed
Indicates and issue has been confirmed as described.
Triage: Feature Request
Indicates an issue requesting new functionality.
Type: Design Proposal
Community survey of a proposal.
Type: Enhancement
Adds new functionality.
Description
Invalid chef-client packages (e.g. because of an interrupted download) should not be transferred to target nodes for installation when no client exists.
Chef Apply Version
0.2.2
Platform Version
Linux/Ubuntu 18.04-LTS
Target Platform Version
Windows Server 2016
Replication Case
rm -rf ~/chef-workstation/cache
chef-run winrm://mymachine --user user --password password user stuart action=create
Client Output
During a chef-run on a clean machine, the download got interrupted for some reason:
I re-ran the command but got an error at install time:
On closer inspection of the cache, the file size was not correct. (why don’t we show the file size on the download site?). I moved the file to .msi.backup and retried the chef-run command:
Requested Enhancement
The text was updated successfully, but these errors were encountered: