What are Puppet Manifests and Puppet Structure

What are Puppet Manifests and Puppet Structure

In this tutorial you will know all about Puppet manifests and the main Puppet structure.

What are Manifests ?

Manifests are files with extension *.pp which have instructions or resources to be checked, installed or modified, resources can be packages, services or files.

What are Resources ?

Resources can be packages, executable, services, files, users or any other instructions to be made as part of automation manifest script.

For example you can write a manifest which will install apache in one server and yet create users and change some permissions for some files.

What are Classes

Classes is a way of organizing, you can group some of the code in a class and save it in a module which can be called later in a manifest.

Manifests Simple Examples

 

Install a Package

package {'httpd':
ensure => present,
}

Continue reading

How to Install Puppet Enterprise Server And Nodes

How to Install Puppet Enterprise Server And Nodes

In this tutorial I will show you how to install the Puppet Automation tool master and nodes.

Overview

It's good practice to have a Puppet master server which will be controlling the agents and yet agents/nodes will be pulling all info and configurations from there.

Requirements

Time should be accurately set and synced on Puppet master therefor will install the Network TIme Protocol.

yum install -y ntp

You must open firewall to port 8140 as this is the port which will be used from nodes too.

Continue reading

DevOps: What is Continuous Delivery ?

DevOps Tutorial : What is Continuous Delivery ?

This is part of DevOps tutorials which will cover most of DevOps tools like Salt, Docker, Vagrant, Puppet and more.

DevOps

What is Continuous Delivery

Any application needs to have some development phases with new features, with continuous delivery you are simply automating the steps of that delivery. You can simply automate the process using some tools to build, test and deploy to your environment. Continue reading

Saltstack Installation and Quickstart

What is Saltstack and How to Install It

In this tutorial you will know what is Salt, how to install it and a Quick commands to get you started.

What is Salt ?

Short answer:
Salt is an infrastructure and package management tool, it will help you to automate packaging, infrastructure installation and package management.

Detailed:

Salt is a different approach to infrastructure management, founded on the idea that high-speed communication with large numbers of systems can open up new capabilities. This approach makes Salt a powerful multitasking system that can solve many specific problems in an infrastructure.

The backbone of Salt is the remote execution engine, which creates a high-speed, secure and bi-directional communication net for groups of systems. On top of this communication system, Salt provides an extremely fast, flexible, and easy-to-use configuration management system called Salt States.

Continue reading

Change Jenkins Port on Linux and Forward Jenkins to Port 80

Forward Jenkins to Port 80 from Jenkins 8080 port

Changing Jenkins Default Port

Jenkins Video Tutorial

Change Jenkins Port on Linux

In this tutorial i will be showing you how to change Jenkins 8080 to Jenkins 80 / 443 or any other port.

First you have to be sure that Apache HTTPD is installed and running and then open httpd.conf file and use below configuration. Continue reading

What is Jenkins, Install Jenkins and Fundamental Concepts

What is Jenkins, Install Jenkins and Jenkins Overview

Jenkins for Beginners

In this tutorial i will show you how to install Jenkins, configure it with Tomcat,  do Apache configuration to run it on port 80, secure Jenkins and add users.

What is Jenkins

Jenkins is one of the tools for continuous integration and deployment. You can use Jenkins for  repetitive tasks and even for scheduled jobs. Continue reading