Skip to content

Instantly share code, notes, and snippets.

@peripau
peripau / tf_test_02082018
Created February 8, 2018 10:30
Testing Terraform
peri@pau-xps-mint ~/Terraform/Packet-Deploy $ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
Feb 8 02:00:45 hn1 kernel: [354215.900346] EXT4-fs (ploop21443p1): loaded balloon from 12 (4096 blocks)
Feb 8 02:00:46 hn1 kernel: [354216.371370] ploop21443: p1
Feb 8 02:00:46 hn1 kernel: [354216.407861] ploop21443: p1
Feb 8 02:00:46 hn1 kernel: [354216.449340] EXT4-fs (ploop21443p1): mounted filesystem with ordered data mode. Opts:
Feb 8 02:00:46 hn1 kernel: [354216.457748] PFCache: relink 182:343089 to "/vz/pfcache" +0 -0 =0 peers
Feb 8 02:00:46 hn1 kernel: [354216.464738] EXT4-fs (ploop21443p1): loaded balloon from 12 (4096 blocks)
Feb 8 02:00:46 hn1 kernel: [354216.739975] ploop21443: p1
Feb 8 02:00:47 hn1 kernel: [354217.076244] ploop21443: p1
Feb 8 02:00:47 hn1 kernel: [354217.763875] EXT4-fs (ploop21443p1): mounted filesystem with ordered data mode. Opts:
Feb 8 02:00:47 hn1 kernel: [354217.807072] PFCache: relink 182:343089 to "/vz/pfcache" +0 -0 =0 peers
@peripau
peripau / kafka-zookeeper
Last active January 26, 2019 22:48
Zookeeper and Kafka cloud-init script
#cloud-config
coreos:
etcd2:
discovery: https://discovery.etcd.io/8085f8fcb83c12f27593b23069533e98
advertise-client-urls: http://$private_ipv4:2379
initial-advertise-peer-urls: http://$private_ipv4:2380
listen-client-urls: http://0.0.0.0:2379
listen-peer-urls: http://$private_ipv4:2380