Error 400 on SERVER: Could not find data item wls_jdk_version in any Hiera data file and no default supplied at /etc/puppetlabs/puppet/environments/testing/modules/weblogic_esb/manifests/init.pp:11

46 views
Skip to first unread message

Supriya Uppalapati

unread,
Jun 25, 2014, 8:31:10 PM6/25/14
to puppet...@googlegroups.com

Hi,

I am having an issue could not find any data item

Here is my manifests:
class weblogic_esb {
2
3 include wls1036
4 include orautils
5
6 Class['wls1036'] -> Class['orautils']
7
8 class wls1036{
9 class { 'wls::urandomfix' :}
10
11 $jdkWls11gJDK = hiera('wls_jdk_version')
12 $wls11gVersion = hiera('wls_version')

cat dot-fap-spr-t01.local.yaml
---
#messageDefault: 'default'
#messageEnv: 'common'

hosts:
'dot-fap-spr-t01.local':
ip: "******"
host_aliases: - 'dot-fap-spr-t01'
#'soadb.example.com':
# ip: "10.10.10.5"
#host_aliases: - 'soadb'
'localhost':
ip: "127.0.0.1"
host_aliases: - 'localhost.localdomain'
- 'localhost4'
- 'localhost4.localdomain4'

wls_jdk_version: 'jdk1.7.0_25'
wls_user_config_dir: '/home/oracle'

jcbollinger

unread,
Jun 26, 2014, 1:26:06 PM6/26/14
to puppet...@googlegroups.com


On Wednesday, June 25, 2014 3:31:10 PM UTC-5, Supriya Uppalapati wrote:

It's very hard to follow your YAML because it has been viciously munged by your mailer.  Maybe the unmunged form is ok.

I'd be inclined to suspect the data hierarchy set out in your hiera.yaml, or the location of the data file.  In other words, I'd guess that either you haven't told hiera to look at that file, or you haven't put it where hiera can find it.  Along similar lines, it is possible that access controls don't permit hiera to read the file.  The master normally does not run as a privileged user.


John

Reply all
Reply to author
Forward
0 new messages