I hereby claim:
- I am badgerops on github.
- I am badgerops (https://keybase.io/badgerops) on keybase.
- I have a public key ASBkrnjAhzwQ6hNWOkeNf6ygbZQbJSlfF3D2IKhneYg6Ego
To claim this, I am signing this object:
cloudflare-tf-troubleshooting % TF_LOG=DEBUG tf apply --var-file variables.tfvars | |
2024-10-28T08:30:51.932-0600 [INFO] Terraform version: 1.5.7 | |
2024-10-28T08:30:51.932-0600 [DEBUG] using github.com/hashicorp/go-tfe v1.26.0 | |
2024-10-28T08:30:51.932-0600 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2 | |
2024-10-28T08:30:51.932-0600 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0 | |
2024-10-28T08:30:51.932-0600 [DEBUG] using github.com/zclconf/go-cty v1.12.2 | |
2024-10-28T08:30:51.932-0600 [INFO] Go runtime version: go1.22.2 | |
2024-10-28T08:30:51.932-0600 [INFO] CLI args: []string{"terraform", "apply", "--var-file", "variables.tfvars"} | |
2024-10-28T08:30:51.932-0600 [DEBUG] Attempting to open CLI config file: /Users/badger/.terraformrc | |
2024-10-28T08:30:51.932-0600 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. |
#the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
postmap_relayhosts: | |
cmd.run: | |
- name: postmap /etc/postfix/relayhost_maps | |
- onchanges: | |
- file: /etc/postfix/relayhost_maps |
I hereby claim:
To claim this, I am signing this object:
input { | |
gelf { | |
strip_leading_underscore => true | |
remap => true | |
} | |
} | |
filter { | |
if [level] == 7 { | |
mutate { add_field => { "severity" => 'Debug' } } | |
} |
input { | |
gelf { | |
} | |
} | |
filter { | |
translate { | |
field => '%{level}' | |
dictionary => [ 7, 'Debug', | |
6, 'Info', |
filter { | |
translate { | |
dictionary => [ 7, "Debug", | |
6, "Info", | |
4, "Warn", | |
3, "Error", | |
2, "Critical" ] | |
field => level | |
} | |
} |
input { | |
gelf { | |
'gelf stuff here' | |
} | |
} | |
output { | |
elasticsearch { | |
host => old_elasticsearch_cluster | |
index => graylog2_index |
Copyright 2011 Mike Tigas. All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, are | |
permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this list of | |
conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, this list | |
of conditions and the following disclaimer in the documentation and/or other materials |
# idiomatic_python.py | |
some_list = ['fee', 'phi', 'fo', 'fhum'] | |
# do something for every item in iterable | |
for item in some_list: | |
print(item) | |
# need to reverse iterate? | |
for item in reversed(some_list): | |
print(item) |