diff --git a/hiera.yaml b/hiera.yaml new file mode 100644 index 00000000..48cd7ff9 --- /dev/null +++ b/hiera.yaml @@ -0,0 +1,6 @@ +:hierarchy: + - common +:backends: + - yaml +:yaml: +:datadir: 'hieradata' diff --git a/hieradata/common.yaml b/hieradata/common.yaml new file mode 100644 index 00000000..6fa9a9b3 --- /dev/null +++ b/hieradata/common.yaml @@ -0,0 +1,2 @@ +--- +wildfly_pwd: 'wildfly' diff --git a/manifests/params.pp b/manifests/params.pp index 09d9e52a..207549f8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -55,7 +55,7 @@ $users_mgmt = { 'wildfly' => { - password => 'wildfly', + password => hiera('wildfly_pwd'), }, }