This is a how-to guide on using: https://github.com/camptocamp/puppet-ghostbuster First get this working so that you can access this gui dashboard: https://puppet.com/docs/puppetdb/5.1/maintain_and_tune.html#monitor-the-performance-dashboard Install rvm: $ gpg –keyserver hkp://keys.gnupg.net –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB $ \curl -sSL https://get.rvm.io | bash -s stable –ruby Check rvm install is successful: schowdhury@Shers-MacBook-Pro:~$ rvm –version rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, […]
Here’s the command I ran: brew install bash-completion brew cask install docker brew install kubectl brew cask install minikube Then go to the gui launcher and start up docker, and follow the prompts. Then open a terminal and you should fine the following cli tools installed. $ docker version Docker version 17.09.0-ce, build afdb6d4 $ […]
First install the following formulas: brew install bash-completion brew cask install docker Next via the gui launcher, find the docker icon and launch it, then follow the prompts. Then restart your bash terminal. Now run the following command to create a few symbolic links: ln -s /Applications/Docker.app/Contents/Resources/etc/docker.bash-completion /usr/local/etc/bash_completion.d/docker ln -s /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion /usr/local/etc/bash_completion.d/docker-machine ln -s /Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion […]
Here we’re going to build a simple docker container that is running apache web server and then access it from your laptop’s web browser. We will be building our container using the official ubuntu docker image. First off, pull down the ubuntu image, by running: $ docker pull ubuntu Using default tag: latest latest: Pulling […]
This course covers everything you need to know in order to pass the Red Hat Certified Systems Administrator (RHCSA) exam for RHEL 7. Becoming RHCSA certified proves that you have developed a strong proficiency in RHEL. RHEL is short for “RedHat Enterprise Linux” and as the name suggests, it’s a Linux based Operating System. RHEL […]
We are now going to walk through a number of firewalld setups that’s often seen in the real world.
Hashicorp Vault is commonly used to store private ssh keys, e.g. ssh keys for a privileged user of an aws ec2 instances.
My colleague Kiran Patel, has showed me this really cool command: superdiffcommand=’systemctl list-units –type=service | grep running’ && sdiff -w 200
External facts is a great way to attach (arbitrary) metadata to a machine during the the launch of a new machine. E.g. when building a Centos 7 aws ec2 instance, you can generate the external facts via userdata. Puppet can use these external facts in the way as any other fact. You can create external […]