Setup pre-commit
* resolved issues with data/template.yaml * resolved issues with enc.py
This commit is contained in:
+15
-9
@@ -1,4 +1,19 @@
|
||||
---
|
||||
# In this example, parameter1 and parameter2 are parameters for
|
||||
# the role::puppet::puppetmaster class, while global_parameter1
|
||||
# and global_parameter2 are global variables that will be available
|
||||
# in your Puppet manifests as $::global_parameter1 and $::global_parameter2.
|
||||
#
|
||||
# The parameters key sets top-level variables which are accessible in all
|
||||
# classes. The parameters under the classes key are parameters specific to
|
||||
# those classes.
|
||||
#
|
||||
# You can adapt this template to set any class parameters or global
|
||||
# variables you need.
|
||||
#
|
||||
# Please note that for Puppet 5 or later, you can access the global
|
||||
# variables without the leading :: like so: $global_parameter1. However,
|
||||
# the leading :: is needed for compatibility with Puppet 4.
|
||||
classes:
|
||||
role::puppet::puppetmaster:
|
||||
parameter1: value1
|
||||
@@ -7,12 +22,3 @@ parameters:
|
||||
global_parameter1: value3
|
||||
global_parameter2: value4
|
||||
environment: production
|
||||
|
||||
|
||||
# In this example, parameter1 and parameter2 are parameters for the role::puppet::puppetmaster class, while global_parameter1 and global_parameter2 are global variables that will be available in your Puppet manifests as $::global_parameter1 and $::global_parameter2.
|
||||
#
|
||||
# The parameters key sets top-level variables which are accessible in all classes. The parameters under the classes key are parameters specific to those classes.
|
||||
#
|
||||
# You can adapt this template to set any class parameters or global variables you need.
|
||||
#
|
||||
# Please note that for Puppet 5 or later, you can access the global variables without the leading :: like so: $global_parameter1. However, the leading :: is needed for compatibility with Puppet 4.
|
||||
|
||||
Reference in New Issue
Block a user