Comments (7)
For this I think we need to make a fix similar to #1565 in https://github.com/opscode/chef/blob/master/lib/chef/application/solo.rb#L205.
Also maybe we should consider run_command
-> shell_out
conversion in Chef 12. Any concerns with that @danielsdeleo?
from chef.
converting to shell out is always good, provided we verify the behavior manually or with non-stubbed tests.
from chef.
Looking into this now.
from chef.
So, easy enough to fix the path problems, and flip this over to shell out. The real issue is the feature working at all on an un-modified Windows system. Even if you get this, you aren't going to wind up being able to untar without adding something to the machine that responds to 'tar zxvf'.
Would we rather add smarts to try tar and if it fails try 7-zip, and if that fails, die?
from chef.
We actually do ship a tar.exe
with Chef Client and Chef DK so I don't think we need the backup plan:
C:\Users\Administrator>dir c:\opscode\chefdk\bin\tar.exe
Volume in drive C has no label.
Volume Serial Number is 46B7-7CAF
Directory of c:\opscode\chefdk\bin
07/11/2014 11:29 PM 73,728 tar.exe
1 File(s) 73,728 bytes
0 Dir(s) 254,454,628,352 bytes free
from chef.
Dope. Patch incoming.
from chef.
#1751 is the PR for the future.
from chef.
Related Issues (20)
- Omnitruck artifact does not exist for Rocky Linux HOT 9
- Expose "--filter-waived-controls" option to chef client compliance phase
- Mount resource failing to execute after first run. HOT 1
- only_if / not_if command guard with lazy behavior
- Hostname resource does not set fqdn on MacOS/Darwin
- bundle exec knife fail with attempt to use deprecated `untaint` method HOT 1
- `openssl_x509_certificate` handles CN in a way that violates the x509 spec
- sleep is not a built-in Windows command. This depends on Win2K3 resource kit. Suggest timeout be used instead. HOT 3
- Chef fails with inspec 6.6 HOT 1
- Cannot build chef from source using `omnibus`
- Cannot build chef from source using `omnibus` HOT 1
- Sensitive properties of custom resources leaked via failed regex constraints
- windows_security_policy incorrectly reporting updates
- Net::HTTPServerException: 405 "Not Allowed" while saving node at the end of a chef-client run / node bootstrap HOT 2
- Lazy node attributes aren't "un-lazied" in some contexts
- Release schedule documentation is out of date
- [Chef 18] chef_client_config breaks with `rights` in the current code base HOT 2
- Start a service after enabling it HOT 3
- Cloud helper functions return incorrect results after nodes are moved between clouds (Azure -> AWS)
- 18.4.2 windows_service property "description": NoMethodError HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef.