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
18 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
29 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
8 views
0 votes
1 answer

What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent?

Hey @Pallavi,  etckeeper-commit-post: In this configuration file you can ...READ MORE

answered Feb 15 in Puppet by Simran
50 views
0 votes
1 answer

What are classes in Puppet?

Classes in Puppet are introduced using the ...READ MORE

answered Mar 8 in Puppet by Haider
12 views
+13 votes
2 answers
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
9 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
11 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.