Skip to content

Instantly share code, notes, and snippets.

View dbogen's full-sized avatar

David Bogen dbogen

View GitHub Profile
@dbogen
dbogen / gist:b4bfee37266473724f2b
Created October 9, 2014 21:15
Reports but no events?
curl -G 'http://localhost:8080/v3/reports' --data-encode 'query=["=","certname","blackburn.example.com"]' | head -n20
[ {
"hash" : "51aa87a600df705040617d3b84cb65dfdf57fb84",
"puppet-version" : "3.6.2",
"receive-time" : "2014-10-09T20:56:26.051Z",
"report-format" : 4,
"start-time" : "2014-10-09T20:56:02.796Z",
"end-time" : "2014-10-09T20:56:19.447Z",
"transaction-uuid" : "ba161586-30ce-4ba5-b639-fa5f72d38eea",
"configuration-version" : "1412888044",
@dbogen
dbogen / tf-0.8.7.out
Created April 17, 2017 20:58
Debug output for Terraform showing change of user-data hash from 0.8.7 to 0.9.3
2017/04/17 15:51:12 [INFO] Terraform version: 0.8.7 c1df88ac4633b61b83802bbb10c343c20d3035b5
2017/04/17 15:51:12 [INFO] CLI args: []string{"/home/someuser/git-repos/terraform-bvpc/terraform-0.8.7", "plan"}
2017/04/17 15:51:12 [DEBUG] Detected home directory from env var: /home/someuser
2017/04/17 15:51:12 [DEBUG] Detected home directory from env var: /home/someuser
2017/04/17 15:51:12 [DEBUG] Attempting to open CLI config file: /home/someuser/.terraformrc
2017/04/17 15:51:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/17 15:51:12 [DEBUG] Detected home directory from env var: /home/someuser
2017/04/17 15:51:12 [TRACE] Preserving existing state lineage "05e13ca6-44ea-4501-ae23-177cf032d830"
2017/04/17 15:51:12 [TRACE] Preserving existing state lineage "05e13ca6-44ea-4501-ae23-177cf032d830"
2017/04/17 15:51:12 [TRACE] Graph after step *terraform.ConfigTransformerOld:
@dbogen
dbogen / gist:799b4253bc459098122058066d930b9c
Created April 12, 2019 17:01
tf random_integer returns string?
2019/04/12 11:57:59 [INFO] Terraform version: 0.11.13
2019/04/12 11:57:59 [INFO] Go runtime version: go1.11.5
2019/04/12 11:57:59 [INFO] CLI args: []string{"/terraform", "apply", "-no-color"}
2019/04/12 11:57:59 [DEBUG] Attempting to open CLI config file: /.terraformrc
2019/04/12 11:57:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/04/12 11:57:59 [INFO] CLI command args: []string{"apply", "-no-color"}
2019/04/12 11:57:59 [INFO] command: empty terraform config, returning nil
2019/04/12 11:57:59 [DEBUG] command: no data state file found for backend config
2019/04/12 11:57:59 [DEBUG] New state was assigned lineage "bf7a7772-19c8-a04a-c09e-5547f855e47e"
2019/04/12 11:57:59 [INFO] command: backend initialized: <nil>