Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Pass the Piwik authentication token to the Joinup UAT environment #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cloudformation/single-server.template
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
"GithubSSHKeys": {
"Type": "String",
"Description": "Comma separated list of Github user names for SSH public keys"
},
"PiwikAuthenticationToken": {
"Type": "String",
"Description": "The authentication token of the Piwik server"
}
},
"Mappings": {
Expand Down Expand Up @@ -290,6 +294,12 @@
"Ref": "env"
},
"' >> /usr/local/etc/subsite/subsite.tmp.ini",
"\n",
"echo 'piwik.token=",
{
"Ref": "PiwikAuthenticationToken"
},
"' >> /usr/local/etc/subsite/subsite.tmp.ini",
"\n",
"echo '",
{
Expand Down