Working with Puppet Apply and Manifests


by DevOpsSchool.com

Rajesh Kumar

(Senior DevOps Manager & Principal Architect)


Rajesh Kumar β€” an award-winning academician and consultant trainer, with 15+ years’ experience in diverse skill management, who has more than a decade of experience in training large and diverse groups across multiple industry sectors.

Agenda


The Basics

  • Introduction To Configuration Management
  • About The Author
  • Why Puppet?
  • How To Access Your Working Files

The Puppet Infrastructure

  • Puppet Agents
  • Puppet Masters
  • MCollective And Systems Orchestration

About DevOpsSchool.com


DevOpsSchool is a global online professional training provider. We are offering some of the most updated and industry-designed certification training programs in the domains of DevOps, Cloud, Containers and more technologies.

Our blended learning approach combines online classes, instructor-led live virtual classrooms, and project work. We help professionals make the right career decisions, provide extensive hands-on projects and offer industry-recognized certifications. We also assist corporate clients to upskill their employees and keep them in sync with the changing technology and digital landscape.

Pre-requisites


Recommended Experience

  • Basic understanding of linux/unix system concepts
  • Familiarity with Command Line Interface (CLI)
  • Familiarity with a Text Editor
  • Experience with managing systems

Recommended Equipment

  • Virtualization Platform
  • Several Servers with Networking Equipment

Objectives


After the completion of DevOps course at DevOpsSchool,
you will be able to:

  • Understand the need for DevOps and the problems it resolves
  • Learn about the common Infrastructure Servers, Scalability and Availability
  • Implement Automated Installations and Deployments
  • Understand Performance and basic Security for Infrastructure
  • Implement Virtualization Concepts
  • Understand the need and concepts of Monitoring and Logging
  • Understand the Continuous Integration and Deployment (CI/CD)

Code with Content



   sudo pupet resource service puppet
   service { 'puppet':
		ensure => 'stopped',
		enable => false,
	}
   sudo puppet parser validate puppet-service.pp 
   sudo puppet apply puppet-service.pp
					

We currently do want to use the Puppet agent. This can run as a daemon service so we should check that it is both stopped and disabled.

The notify resource type can be used to send a message to the agent log or screen if being used interactively. This makes a great and simple first manifest.

Code Only



   function linkify( selector ) {
      if( supports3DTransforms ) {

        var nodes = document.querySelectorAll( selector );

        for( var i = 0, len = nodes.length; i < len; i++ ) {
          var node = nodes[i];

          if( !node.className ) ) {
            node.className += ' roll';
          }
        };
      }
    }

    sudo puppet parser validate helloworld.pp
    sudo puppet apply -e "notify { 'Hello World': }"
					

Table with Content


Firstname Lastname Email Contact No. Address
John Doe john@example.com 12345879 Delhi
Mary Moe mary@example.com 12345879 Mumbai
July Dooley july@example.com 12345879 Kolkata

IDEs or integrated Design Environments can help with styling. We use the text editor VIM in this course. Even this through can help with styling. It is easiest to install the required elements using a Puppet Module.

Although this manifest is very simple we should get in the habit of validating code as we create it. Helping to keep our code robust and healthy.

Table Only


Firstname Lastname Email Contact No. Address
John Doe john@example.com 12345879 Delhi
Mary Moe mary@example.com 12345879 Mumbai
July Dooley july@example.com 12345879 Kolkata
July Dooley july@example.com 12345879 Kolkata
Mary Moe mary@example.com 12345879 Mumbai

Image with Content


www.DevOpsSchool.com

IDEs or integrated Design Environments can help with styling. We use the text editor VIM in this course. Even this through can help with styling. It is easiest to install the required elements.

Image Only


www.DevOpsSchool.com

Video with Content


Puppet is an open source configuration management tool used to automate infrastructure, distribution, and security. Puppet system helps administrators in full centralized control.

Video Only


Ordered List


  1. Lifetime access to learning materials.
  2. Lifetime technical support.
  3. 15 years + experienced trainer.
  4. Quiz for each tool.
  5. Real time scenario based projects with standard evaluation.

Unordered List


  • Lifetime access to learning materials.
  • Lifetime technical support.
  • 15 years + experienced trainer.
  • Quiz for each tool.
  • Real time scenario based projects with standard evaluation.

Quotes


“Technology is dominated by two types of people: those who understand what they do not manage, and those who manage what they do not understand.”
“Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.”

Link between a slide


Link between slides internally, Click Here.

Embed PDF Slide


Embed Slide Share


Reference


Here are some links to our websites we suggest you check out!! Feel free to contact us to suggest additional links that would benefit the courses.

Appendix


Appendix A: Welcome........................1

Appendix B: Author Introduction...........2

Appendix C: Agenda of the Course...........3

Appendix D: About DevOps School...............4

Appendix E: Course Pre-requisites...............5

Appendix F: Course Objectives....................6

DevOpsSchool Community Networks


These platforms provide you the opportunity to connect with peers and industry DevOps leaders, where you can share, discuss or get information on latest topics or happenings in DevOps culture and grow your DevOps professionals network.

DevOps
Build & Release
DevOps
Build & Release
DevOpsSchool
DevOps Group
BestDevOps.com
      

Any Questions?


Thank You!


DevOpsSchool β€” Lets Learn, Share & Practice DevOps

www.devopsschool.com

Connect with us on
contact@devopsschool.com | +91 700 483 5930
     

Next up:


Puppet Course

Working with Puppet Resources