-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding forked formula for aws-session-manager-plugin
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
=begin | ||
This formula was copied from https://github.com/dkanejs/homebrew-aws-session-manager-plugin. | ||
The change I've made is to REMOVE THE DEPENDENCY ON THE FORMULA awscli, so that you can install | ||
the plugin using Homebrew even if you don't use the Homebrew version of AWS CLI* | ||
*: Obviously, you still need the AWS CLI. But with this formula you don't have to use to Homebrew-managed version! | ||
=end | ||
|
||
class AwsSessionManagerPlugin < Formula | ||
desc 'Official Amazon AWS session manager plugin' | ||
homepage 'https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html' | ||
|
||
version '1.1.26.0' | ||
url 'https://s3.amazonaws.com/session-manager-downloads/plugin/1.1.26.0/mac/sessionmanager-bundle.zip' | ||
sha256 '13297500b74f649d7855f6b444fc292f95ee6a886895b3d5111d2fd5a74b04c7' | ||
|
||
def install | ||
bin.install 'bin/session-manager-plugin' | ||
prefix.install 'seelog.xml.template' | ||
doc.install %w[LICENSE VERSION] | ||
end | ||
|
||
def caveats; <<~EOS | ||
This formula is a fork of https://github.com/dkanejs/homebrew-aws-session-manager-plugin | ||
It was created to remove the dependency of Homebrew formula 'awscli', so that you can | ||
install awscli via pip, for example... | ||
EOS | ||
end | ||
|
||
test do | ||
system 'session-manager-plugin' | ||
end | ||
end | ||
|