Skip to content

Commit

Permalink
add new security suite provisioning script
Browse files Browse the repository at this point in the history
  • Loading branch information
gkallenberg committed Jul 17, 2023
1 parent accc7ae commit bcf5938
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .ebextensions/00_nypl_provisioning.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/07_nypl_provsion.sh":
mode: "000755"
owner: ec2-user
group: ec2-user
content: |
#!/usr/bin/env bash
. /opt/elasticbeanstalk/support/envvars
file=/var/tmp/provisioned
if [[ -a $file ]]; then
echo "installed"
else
curl https://nypl-provisioning.s3.amazonaws.com/provision-yumbased-linux_eb.sh | bash
fi
encoding: plain

0 comments on commit bcf5938

Please sign in to comment.