Skip to content

Commit

Permalink
fix rpm showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Jan 19, 2018
1 parent bf1e579 commit 69e1e87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions showcase-rpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ Resources:
packages:
rpm:
aws-ec2-ssh: !Sub 'https://s3-eu-west-1.amazonaws.com/widdix-aws-ec2-ssh-releases-eu-west-1/aws-ec2-ssh-${Version}-1.el7.centos.noarch.rpm'
commands:
a_enable:
command: "sed -i 's/DONOTSYNC=1/DONOTSYNC=0/g' /etc/aws-ec2-ssh.conf && /usr/bin/import_users.sh"
test: "grep -q 'DONOTSYNC=1' /etc/aws-ec2-ssh.conf"
Properties:
ImageId: !FindInMap [!FindInMap [OSMap, !Ref OS, RegionMap], !Ref 'AWS::Region', AMI]
IamInstanceProfile: !Ref InstanceProfile
Expand Down

0 comments on commit 69e1e87

Please sign in to comment.