Skip to content

Instantly share code, notes, and snippets.

@dcarley
Created February 12, 2016 14:18
Show Gist options
  • Save dcarley/2db86780eb99c2586f4b to your computer and use it in GitHub Desktop.
Save dcarley/2db86780eb99c2586f4b to your computer and use it in GitHub Desktop.
cat disagrees
➜ paas-cf git:(master) ✗ git di | cat
diff --git a/manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml b/manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml
index b79dc79..61a0c42 100644
--- a/manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml
+++ b/manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml
@@ -7,4 +7,5 @@ secrets:
bosh_redis_password: BOSH_REDIS_PASSWORD
bosh_blobstore_director_password: BOSH_BLOBSTORE_DIRECTOR_PASSWORD
bosh_hm_director_password: BOSH_HM_DIRECTOR_PASSWORD
- bosh_admin_password: BOSH_ADMIN_PASSWORD
+ bosh_admin_password: BOSH_ADMIN_PASSWORD1
+ bosh_admin_password: BOSH_ADMIN_PASSWORD2
➜ paas-cf git:(master) ✗ docker run --rm -ti -v $(pwd):/mnt -w /mnt alpine cat manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml
---
secrets:
bosh_postgres_password: BOSH_POSTGRES_PASSWORD
bosh_nats_password: BOSH_NATS_PASSWORD
bosh_agent_password: BOSH_AGENT_PASSWORD
bosh_registry_password: BOSH_REGISTRY_PASSWORD
bosh_redis_password: BOSH_REDIS_PASSWORD
bosh_blobstore_director_password: BOSH_BLOBSTORE_DIRECTOR_PASSWORD
bosh_hm_director_password: BOSH_HM_DIRECTOR_PASSWORD
bosh_admin_password: BOSH_ADMIN_PASSWORD
➜ paas-cf git:(master) ✗ docker run --rm -ti -v $(pwd):/mnt -w /mnt alpine dd if=manifests/bosh-manifest/spec/fixtures/bosh-secrets.yml
---
secrets:
bosh_postgres_password: BOSH_POSTGRES_PASSWORD
bosh_nats_password: BOSH_NATS_PASSWORD
bosh_agent_password: BOSH_AGENT_PASSWORD
bosh_registry_password: BOSH_REGISTRY_PASSWORD
bosh_redis_password: BOSH_REDIS_PASSWORD
bosh_blobstore_director_password: BOSH_BLOBSTORE_DIRECTOR_PASSWORD
bosh_hm_director_password: BOSH_HM_DIRECTOR_PASSWORD
bosh_admin_password: BOSH_ADMIN_PASSWORD1
bosh_admin_password: BOSH_ADMIN_PASSWORD2
0+1 records in
0+1 records out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment