From a460aa7fdeb56262cd26dbf51f7bec5fac2541dd Mon Sep 17 00:00:00 2001 From: jigen Date: Thu, 8 Jan 2015 00:00:43 +0100 Subject: [PATCH] first hiera test maybe correct --- hiera.yaml | 2 +- manifests/site.pp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hiera.yaml b/hiera.yaml index 89b5134..d53a22d 100644 --- a/hiera.yaml +++ b/hiera.yaml @@ -1,6 +1,6 @@ :hierarchy: - "ortiche/%{::hostname}" - - common + - ortiche/common :backends: - yaml :yaml: diff --git a/manifests/site.pp b/manifests/site.pp index 8fba65f..2576e8c 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1,5 +1,5 @@ - -notify{"The value is: ${::ortiche-admin}": } +$admin=hiera('ortiche-admin') +notify{"Variable is ${::admin}": } Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" , "/usr/local/bin/", "/usr/local/sbin/" ]