From adafe84ebc44bcfe363b40f683f6d9882a2d1c91 Mon Sep 17 00:00:00 2001 From: Andrey Chertkov Date: Sat, 7 Jul 2018 19:06:40 -0400 Subject: [PATCH] added repository handling instructions --- aws-terraform/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/aws-terraform/README.md b/aws-terraform/README.md index 4efda12..8d0d3a4 100644 --- a/aws-terraform/README.md +++ b/aws-terraform/README.md @@ -23,7 +23,16 @@ Init mode will guide the administrator through an interactive process which gene ## OP-SCIM Bridge -The 1Password SCIM Bridge is distributed as the Debian package and can be installed during the deployment process using the following repo configuration: `deb https://apt.agilebits.com/op-scim/ stable op-scim`. [Repo GPG key](https://apt.agilebits.com/gpg.key) can be downloaded from the same repo. +The 1Password SCIM Bridge is distributed as a Debian package and can be installed automatically during the deployment process. You can add repository manually using the following commands: +Add [Repository GPG key](https://apt.agilebits.com/gpg.key) first: +``` +curl -sS https://apt.agilebits.com/gpg.key | sudo apt-key add - +``` +Add Repository: +``` +echo "deb https://apt.agilebits.com/op-scim/ stable op-scim" > /etc/apt/sources.list.d/op-scim.list +``` + Package upgrade script is included in the instance [User Data](https://github.com/1Password/scim-examples/blob/81f66e808941a9215af3fb27b3f4351c9c8b17ff/aws-terraform/terraform/module_scim_app/data/user_data/02-environment.yml#L13) and instance cron job runs that script hourly to automatically install newer version when it is available. Automatic updates can be disabled by removing the cron job: ``` sudo rm /etc/cron.d/50_op-scim