What is class inheritance in Puppet

0 votes
I have recently started learning Puppet and had a few doubts - What is class Inheritance in Puppet and why is it used?
Mar 5, 2019 in Puppet by Adi
1,590 views

1 answer to this question.

0 votes

What is class Inheritance?

Node groups inherent properties of its ancestor node groups. These properties include classes, class variables, rules, and class parameter values. These values remain the same unless they are explicitly assigned a different value. In such a case the child node overrides the previous values. This is called class Inheritance.

How does Puppet use class Inheritance?

Class Inheritance is used when we try to build a service from the existing modules. We can make the child node/service to inherit the modules and make only the required changes as Puppet inheritance allows you to override the inherited values. 

answered Mar 5, 2019 by Yogesh

Related Questions In Puppet

0 votes
1 answer

Is nested class supported in Puppet?

Puppet supports the concept of nesting of ...READ MORE

answered Mar 8, 2019 in Puppet by Devika
1,811 views
0 votes
1 answer

What is resource declaration in Puppet?

Puppet code is composed primarily of resource declarations. ...READ MORE

answered Mar 11, 2019 in Puppet by Bob
516 views
0 votes
1 answer

What is PSON in puppet and how is it different from JSON?

PSON is a variant of JSON which ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
1,997 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

Hiera is probably a built-in key-value configuration data ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
4,549 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,523 views
+2 votes
1 answer
0 votes
1 answer

Is using Puppet class Inheritance even useful?

Building a service from reusable Puppet modules ...READ MORE

answered Mar 5, 2019 in Puppet by Kyraa
338 views
0 votes
1 answer

What are profiles in Puppet?

Wrapper classes that use multiple component modules ...READ MORE

answered Feb 15, 2019 in Puppet by Sheela
427 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP