Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support hacks #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gmanfunky
Copy link

I really wanted to use knife-block on windows. So i came up with some kinda ugly hacks to make it work by redefining some File class method to shell out to the mklink cmd.exe function.

I also changed def get_config_file to just return any found config file and moved the Dirname logic to the callee to match the function name and similar knife function. I also provided a default config directory for cases when knife.rb does not exist.

I did not test this on OSX after my changes. please check on OSX before publishing.

Mind bumping the version and publishing a new gem?

@proffalken
Copy link

Hi,

I am no longer using Knife Block at work and I do not have time to maintain it in my spare time owing to my personal life.

If you wish to submit a patch, please do so and I will get around to merging it when I can.

Sorry for any inconvenience.

Matt

@solarce
Copy link
Contributor

solarce commented Mar 16, 2015

@gmanfunky would you be interested in trying to rebase this and see if things still work?

@benvaljean benvaljean mentioned this pull request Dec 16, 2016
@ghost
Copy link

ghost commented Sep 23, 2017

Who owns the published gem, at present? I would like to see Windows support in the officially published gem. Is there more we can do to assist in making knife block windows compatible? It would ease the burden of workstation deployment and maintenance in restricted equipment environments.

@benvaljean
Copy link
Collaborator

benvaljean commented Sep 24, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants