Ask Your Question
0

hiera hirarchy cant get parameters

asked 2013-11-13 15:34:28 -0600

shyp gravatar image

updated 2013-11-13 18:49:58 -0600

GregLarkin gravatar image

Hello ,

I have the following configuration :

hiera.yaml

---
:logger: console
:hierarchy:
    - %{environment}
    - %{clientname}
    - common
:backends: - yaml
:yaml:
   :datadir: /etc/puppet/environments/hiera

content of : /etc/puppet/environments/hiera

 development.yaml
 qa.yaml
 joker.yaml
 hiera.yaml

on my system I got facter which got values for :

envirements = qa
clientname  = joker

but it looks like client can not get values from parameters which found in joker.yaml

any idea why ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-14 02:56:19 -0600

shyp gravatar image

Problem solved by restarting puppet . any changes in hiera.yaml need to have puppet reload

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-11-13 15:34:28 -0600

Seen: 34 times

Last updated: Nov 14 '13