Posts by Kamil Frączek (14)

[EN] Horse blinders in limbo

Even if it is nothing unusual, it looks like I am truly status seeker. And now, in my head I am looking for excuses of that  - the structure I live in, my feelings etc. etc. but I am not able to believe in it. Every time I think or write about it I have that thought which I memorized by heart when I was young that I can lie to everyone but not to myself. 

However I have too little power to change it so I live in this mediocre limbo. Too scared of imagined future where I would be rejected for not having enough status and where my reaction to this is regret instead of "fuck you".

There is really one solution: ... to be continued

Bliżej do?

Obrona Sokratesa: Wówczas ja tylko jeden z zasiadających w prytanejonie oparłem się temu; a choć
mówcy gotowali się mnie za to skarżyć i wyście także z wrzawą powstawali, wolałem
się jednak narazić na niebezpieczeństwo w obronie prawa i sprawiedliwości, niż z obawy
kajdan lub śmierci zgodzić się z wami na tak wielką niesłuszność.

vs

Bertrand Russell: Nigdy nie umierałbym za swoje przekonania, bo mogę się mylić.

salt-master-output-01

root@salt:/srv# tree . ├── formulas │   └── haproxy │   ├── init.sls │   ├── ip_addresses.sls │   └── templates │   └── ip_addresses.jinja ├── pillar │   ├── haproxy_apache2.sls │   ├── haproxy_nginx.sls │   ├── mine_network.sls │   └── top.sls └── salt └── top.sls 5 directories, 8 files root@salt:/srv# grep -v ^# /etc/salt/master | grep -v ^$ interface: 0.0.0.0 user: root auto_accept: True file_roots: base: - /srv/salt - /srv/formulas pillar_roots: base: - /srv/pillar mine_get: haproxy*: - network.* root@salt:/srv# salt-key -L Accepted Keys: apache2 haproxy2-nginx haproxy3-apache2 nginx1 nginx2 Denied Keys: Unaccepted Keys: Rejected Keys: root@salt:/srv# root@salt:/srv# find ./ -type f | xargs tail -n +1 ==> ./pillar/top.sls <== base: 'nginx* or apache*': - mine_network 'haproxy*nginx*': - haproxy_nginx 'haproxy*apache*': - haproxy_apache2 ==> ./pillar/mine_network.sls <== mine_functions: network.ip_addrs: [] ==> ./pillar/haproxy_apache2.sls <== app_server: apache2* ==> ./pillar/haproxy_nginx.sls <== app_server: nginx* ==> ./salt/top.sls <== base: 'haproxy*': - haproxy ==> ./formulas/haproxy/templates/ip_addresses.jinja <== # DO NOT CHANGE - GENERATED BY SALT {%- set app_server = pillar.get('app_server') %} {%- for server, addr in salt['mine.get'](app_server, 'network.ip_addrs').items() %} {{ addr[0] }} # {{ server }} {%- endfor %} ==> ./formulas/haproxy/ip_addresses.sls <== /tmp/ip_addresses: file.managed: - source: salt://haproxy/templates/ip_addresses.jinja - template: jinja - user: root - group: root - mode: 644 ==> ./formulas/haproxy/init.sls <== include: - .ip_addresses root@salt:/srv# salt 'haproxy*' cmd.run 'cat /tmp/ip_addresses' haproxy2-nginx: # DO NOT CHANGE - GENERATED BY SALT 192.168.122.182 # nginx1 192.168.122.183 # nginx2 haproxy3-apache2: # DO NOT CHANGE - GENERATED BY SALT 192.168.122.46 # apache2 root@salt:/srv#

1 2 3