chore: testing a simple data_hash hiera plugin
testing testing ....
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
# this is the base class, which will be used by all servers
|
||||
class profiles::base () {
|
||||
|
||||
# Test custom hiera plugin
|
||||
notify { 'custom_hiera_plugin_test':
|
||||
message => "Custom hiera plugin value: ${lookup('custom_hiera_plugin::var1')}",
|
||||
}
|
||||
|
||||
notify { 'custom_hiera_plugin_hostname':
|
||||
message => "Custom hiera plugin hostname: ${lookup('custom_hiera_plugin::hostname')}",
|
||||
}
|
||||
|
||||
# run a limited set of classes on the first run aimed at bootstrapping the new node
|
||||
if $facts['firstrun'] {
|
||||
include profiles::firstrun::init
|
||||
|
||||
Reference in New Issue
Block a user