Hiera is a Puppet subsystem for fetching fetching facts. Lookup The puppet lookup command The puppet lookup command is the command line interface for Puppet’s lookup function.This function let’s you do Hiera lookups from the command line. You must run... Read more
Module Structure Within the project root directory we place modules in path ./modules/<name> and the structure of module directory is as follows: data -> Contains data files specifying parameter defaults examples -> contains examples showing how to declare the module’s... Read more
AMI images Cost explorer AWS CLI Query Language (–query) It is either similar or the same as https://jmespath.org/specification.html Metrics Read more
Common query operators Read more
Implicit reference types Slices, maps and channels are reference types that do not require the extra indirection of an allocation with new. Things ain’t what they seem like Will output: 1 = one2 = two Read more
I’m learning golang and I have reached chapter covering contexts. I initially understood the idea behind contexts but to further widen my understanding I’m gonna cover custom implementation here. Context is an interface Golang context is an interface with following... Read more
Placing job task on certain node Think to note here is that after applying the job the tasks may not be shut-down on previous selector because target node may not exists and to prevent the outage it will stay the... Read more
Logging into Elastic Container Registry Read more
Node Variables Variable Description Example Value ${node.unique.id} 36 character unique client identifier 9afa5da1-8f39-25a2-48dc-ba31fd7c0023 ${node.region} Client’s region global ${node.datacenter} Client’s datacenter dc1 ${node.unique.name} Client’s name nomad-client-10-1-2-4 ${node.class} Client’s class linux-64bit ${attr.<property>} Property given by property on the client ${attr.cpu.arch} => amd64... Read more
Arithmetic operations For loop And/Or in template Array of IP addresses in group Template Filters https://tedboy.github.io/jinja2/templ14.html Read more