Ask Your Question
0

Using hiera without a puppet master?

asked 2014-02-11 12:24:24 -0500

Red Cricket gravatar image

updated 2014-02-11 12:26:54 -0500

Hi,

Due to corporate bureaucratic inertia I have a circumstance where I cannot use a puppet master for this paritcular task. Also I have some classes that make use of hiera, so when I do the puppet apply ... I get these errors:

    [root@smp-mig-dev-007 rcricket]# puppet apply --modulepath=/users/rcricket/RED-puppet/puppet/modules -e "include red"
    Error: Could not find data item red_yum_repo_file in any Hiera data file and no default supplied at /users/rcricket/RED-puppet/puppet/modules/red/manifests/profile/base.pp:4 on node smp-mig-dev-007.exmaple.com
    Error: Could not find data item red_yum_repo_file in any Hiera data ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-11 13:02:51 -0500

Ancillas gravatar image

Hiera is being called, but it can't find your hiera yaml files. You just need to put your Hiera data on that node.

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: 2014-02-11 12:24:24 -0500

Seen: 117 times

Last updated: Feb 11 '14