• Why GoLang

    GoLang, often referred to as Go, is a statically typed, compiled programming language designed by Google. It has gained significant popularity among developers due to its simplicity, efficiency, and robustness. In this blog post, we will explore GoLang’s best features from both performance and development perspectives, backed by comprehensive code examples to illustrate these advantages.

    Read on →

  • Go Lang and interfaces and generics

    Hey everyone,

    Today, I want to dive into Go language and talk about interfaces, with a specific focus on generics. Generics have been one of the most highly anticipated features in Go, and they are finally here with the release of Go 1.18. Let’s explore how interfaces and generics work together in Go and how they can make our code more flexible and reusable.

    Read on →

  • Quick introduction to Augeas in Puppet

    Recently I came across an interesting problem. I had to install kernel from branch 3.10 on CentOS6 and there was a need to update grub.conf - change default kernel plus add boot option. Both mentioned operation had to be done in Puppet 3.7 (Augeas are of course also available in the higher version of Puppet). Sounds easy right?

    Read on →

  • How to pass variable to Jinja template in Salt

    Yesterday I faced quite interesting problem. In my SLS definition I was iterating over some hash of hashes and wanted to pass to Jinja template hash, which was present in current iteration.

    Read on →

  • Add new key to APT AKA tell APT to trust given key

    One of my desktop box I recently got this message when I wanted to update it via apt :

    Fetched 1448 B in 8s (180 B/s)
    Reading package lists... Done
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
    GPG error: http://xxxxxxx ./ Release: The following signatures couldn't be verified because
    the public key is not available: NO_PUBKEY 0000000000
    

    Read on →