Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin P. Fleming kpfleming

View GitHub Profile
@kpfleming
kpfleming / zrepl.yml.j2
Created July 24, 2022 12:43
Ansible/Jinja2 template for generatlng part of a configuration file for zrepl
View zrepl.yml.j2
{% if ansible_local.system.fact.zrepl_send_target is defined %}
{% set t = ansible_local.system.fact.zrepl_send_target %}
{% for e in zfs_filesystems|dict2items|selectattr('value.backup')|map(attribute='value.encrypted')|unique %}
- name: {{ t ~ ('-encrypted' if e else '-plain') }}
type: push
connect:
type: tcp
address: "{{ t ~ ':' ~ (sink_port_encrypted if e else sink_port_plain) }}"
send:
encrypted: {{ e|lower }}
View tlp-stat-ac.txt
--- TLP 1.5.0 --------------------------------------------
+++ Configured Settings:
/etc/tlp.d/99-km6g.conf L0001: TLP_ENABLE="1"
defaults.conf L0005: TLP_WARN_LEVEL="3"
defaults.conf L0006: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0008: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0010: MAX_LOST_WORK_SECS_ON_BAT="60"
View gist:4145629507e9e2ffab6488e8946e2395
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: 3 [3/1] question for 'stork22.km6g.us|A' from [2001:470:8afe:255::2]:54197
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] : no TA found for 'stork22.km6g.us' among 1
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] : no TA found for 'km6g.us' among 1
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] : no TA found for 'us' among 1
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] : got TA for '.'
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] QM stork22.km6g.us.|A child=(empty): doResolve
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] stork22.km6g.us: Wants DNSSEC processing, auth data in query for A
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] stork22.km6g.us: Recursion not requested for 'stork22.km6g.us|A', peeking at auth/forward zones
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] QM stork22.km6g.us.|A child=(empty): Step0 Not cached
Mar 28 06:40:00 edge21-a pdns-recursor[1168]: [3] QM stork22.km6g.us.|A child=(empty): Step0 qname is in a forw
View keybase.md

Keybase proof

I hereby claim:

  • I am kpfleming on github.
  • I am kpfleming (https://keybase.io/kpfleming) on keybase.
  • I have a public key whose fingerprint is 6143 1167 35E5 C998 0492 462C EC4D 86B8 24FD 3CBF

To claim this, I am signing this object: