Remote git branches with groovy
Hadfull code snippet I'm using for getting git branches from remote repos inside Jenkins pipeline. It uses already defined Jenkins credential to access the repo. import groovy.json.JsonSlurper import hudson.FilePath import jenkins.model.Jenkins import hudson.model.* def credentials = com.cloudbees.plugins.
How to hear my voice in speakers with a mic under linux?
My little son got a real proffesional microphone on his birthday as he likes to sing but we realized that we have a big problem. There is no device to plug it into. Only thing capable to play some sound was a panasonic soundbar but it does not have any ports avaliable besides HDMI (ARC).
Issues adding new collaborators to eyaml encrypted files
In some puppet workflows, EYAML GPG Encryption is used to encrypt/decrypt secrets in yaml files (hiera data). There where two solutions to manage it hiera-gpg (already deprecated )hiera-eyaml - backend for Hiera that provides per-value asymmetric encryption of sensitive dataUsing hiera-eyaml day to
drop TLS on relay with postfix
In some cases people do SSL termination on Load Balancers for HTTPS connection to save CPU. I was wondering if that also possible for SMTP but I've quite quicky find out that its not that easy. General concept +----------------+ +----------------------> POSTFIX | | | relay | | | +-------------&
hiera EYAML and GPG problems
I'm commonly using hiera-eyaml-gpg inside hiera in puppet and came across quite interesting problem. ASSUMPTIONS Lets assume we have everyting ready to do the encryption around secrets in YAML: hiera-eyaml-gpg installed either gpgme or ruby_gpg gems installed ruby-dev package installed gpg agent working
Perfect ssh config
Recently I've installed latest openssh (7.5p1) to mess around with the config. As i'm having lots of hosts decided to use Include to make things more clear. Here is a basic file structure: ~/.ssh/ ├── config └── config.d ├── crp │ ├── prod │ ├── puppet │ ├── qa │ └── test └── priv