puppet-archive icon indicating copy to clipboard operation
puppet-archive copied to clipboard

Ability to install AWS CLI on windows

Open TraGicCode opened this issue 7 years ago • 3 comments

We should add the ability to install the AWS CLI on windows so it works on both windows and non-windows machines.

TraGicCode avatar Oct 30 '17 11:10 TraGicCode

@alexjfisher @nanliu I was wanting to add windows support to this module for installing AWS CLI. Unfortunately things start to get messy and i have a couple of options i want to talk about.

1.) The Bundle + Python method I could have the archive class install python and then utilize the awscli-bundle like happens on linux nodes.

This seems really heavy to have python installed on all windows nodes that need the awscli installed.

2.) Download the MSI and install it using a package resource I could do this and it's simpler but creates to code paths which fork in how linux and windows does it.

3.) Soft Dependencies Maybe we should kill off this class's content and have 7Zip + installation of the AWS CLI be the responsibility of the client ( soft dependency ). This does make it harder to use the module of course.

What are your thoughts on this?

TraGicCode avatar Oct 31 '17 23:10 TraGicCode

Soft Dependencies

Do this.

juniorsysadmin avatar Nov 01 '17 01:11 juniorsysadmin

@juniorsysadmin Thanks, Before i make any changes hopefully we can get some feedback from others. I think if this does happen we should provide examples of the same use cases in the readme.

TraGicCode avatar Nov 01 '17 02:11 TraGicCode