Hi Guys,
I'm trying to migrate my puppet master from Puppet 3.4.3 to 3.8.4
I'm having a lot of issues, and the last one is hiera, on the previous 
version its works fine.

in the old server I have these:

common.yaml:

---
adminusers : - "DOMAIN1\user1"
             - "DOMAIN2\user1"
             - "DOMAIN1\user2"
             - "DOMAIN1\user3"
             - "DOMAIN1\user4"
atlassianadmusers : - "DOMAIN1\user1"
                    - "DOMAIN2\user1"
localgroup : Administrators
noadminusers: - "none"
perlmodules: - "none"


and when I execute hiera I got these:

[root@oldserver production]# hiera -c /etc/puppet/hiera.yaml -a adminusers 
--debug environment=development
DEBUG: Tue Dec 22 08:29:49 -0500 2015: Hiera YAML backend starting
DEBUG: Tue Dec 22 08:29:49 -0500 2015: Looking up adminusers in YAML backend
DEBUG: Tue Dec 22 08:29:49 -0500 2015: Looking for data source common
DEBUG: Tue Dec 22 08:29:49 -0500 2015: Found adminusers in common
["DOMAIN1\\user1", "DOMAIN2\\user1", "DOMAIN1\\user2", "DOMAIN1\\user3", 
"DOMAIN1\\user4"]


but in the new server I have the same common.yaml file, but I got these:

[root@newserver hieradata]# hiera -c /etc/puppet/hiera.yaml -a perlmodules 
--debug environment=development
DEBUG: 2015-12-22 08:31:53 -0500: Hiera YAML backend starting
DEBUG: 2015-12-22 08:31:53 -0500: Looking up perlmodules in YAML backend
DEBUG: 2015-12-22 08:31:53 -0500: Looking for data source common
DEBUG: 2015-12-22 08:31:53 -0500: Cannot find datafile 
/etc/puppetlabs/code/environments/development/hieradata/common.yaml, 
skipping
nil

The old server is CentOS 6.4, with puppet server 3.4.3-1 hiera 1.1.2-1

the new cerver is CentOS 7, with puppet server 3.8.4-1 hiera 3.0.1-1

Could you tell me what I'm doing wrong? please, or tell me what I'm missing 
here?

Thank you in advance,

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2aad4b80-58e1-4036-8ec0-2d09957cef43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to