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 in Puppet by Adi
42 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 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 in Puppet by Devika
39 views
0 votes
1 answer

What is resource declaration in Puppet?

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

answered Mar 11 in Puppet by Bob
18 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 in Puppet by Sirajul
• 17,910 points
27 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

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

answered Jul 25 in Puppet by Sirajul
• 17,910 points
32 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
112 views
0 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 in Puppet by Kyraa
15 views
0 votes
1 answer

What are profiles in Puppet?

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

answered Feb 15 in Puppet by Sheela
19 views