Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Updating to use new shells available to windows-guest-branch of test-kitchen #305

Merged
merged 2 commits into from
Mar 26, 2015

Conversation

tyler-ball
Copy link
Contributor

EDIT This is ready for merge now that TK 1.4 is in master. TK 1.4 and this will be used in the latest omnibus build of chef-dk.

\cc @danielsdeleo

@danielsdeleo
Copy link
Contributor

Not really, I just add something like:

🚧 Work In Progress 🚧

  • todo number one
  • todo number two

@danielsdeleo
Copy link
Contributor

Alternatively, you could feature flag it in some way so that you can just ship it any time, if you think the code is otherwise ready to merge.

File.join(provisioner[:chef_omnibus_root], %w[bin chef-client])
provisioner.
remote_path_join(%W[#{provisioner[:chef_omnibus_root]} bin chef-client]).
tap { |path| path.concat(".bat") if provisioner.windows_os? }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this is something TK should give us for "free" (though it's fine to merge the PR and consider this note something that could be improved later if it's not).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean figuring out pathing? The #remote_path_join and #windows_os? are all ready doing most of the heavy lifting. I'll take anything that gets us better/cleaner code!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fnichol I'm just thinking I could tell TK "use the default for an omnibus install" and then this provisioner wouldn't need to worry about stuff like Windows vs. not.

@danielsdeleo
Copy link
Contributor

All my PR comments seem like things that are just rough edges in the latest TK. 👍 on this patch.

@fnichol
Copy link
Contributor

fnichol commented Mar 26, 2015

Yep, on visual inspection that LGME! 👍

tyler-ball added a commit that referenced this pull request Mar 26, 2015
Updating to use new shells available to windows-guest-branch of test-kitchen
@tyler-ball tyler-ball merged commit 1146369 into master Mar 26, 2015
@tyler-ball tyler-ball deleted the tball/windows-policyfile branch March 26, 2015 19:30
ksubrama pushed a commit that referenced this pull request Jan 11, 2016
Update mixlib-shellout to recover from the yanked 1.6.0 version.
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

4 participants