Jira (PUP-4779) Stdlib range function misbehave under edge conditions

2015-06-23 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4779 
 
 
 
  Stdlib range function misbehave under edge conditions  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.8.0 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Modules 
 
 
 

Created:
 

 2015/06/23 5:19 AM 
 
 
 

Environment:
 
 
[root@kvm-1 ~]# puppet --version 3.8.1 [root@kvm-1 ~]# rpm -qa | grep puppet-3 puppet-3.8.1-1.el7.noarch [root@kvm-1 ~]# cd /etc/puppet/environments/production/modules/stdlib/ [root@kvm-1 stdlib]# git status 
 

HEAD detached at 73474b0 nothing to commit, working directory clean
 
 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 
The problem is related to the number of digits. This two examples can be used to reproduce the problem: 
First element has 1 digit second element has 2 digits: 
   

Jira (PUP-4779) Stdlib range function misbehave under edge conditions

2015-06-23 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4779 
 
 
 
  Stdlib range function misbehave under edge conditions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 Theproblemisrelatedtothenumberofdigits.Thistwoexamplescanbeusedtoreproducetheproblem:Firstelementhas1digitsecondelementhas2digits:{code:none}[root@kvm-1~]#cattest.pprange(core-9,core-15).each|$id|{notify{ID:${id}:}}[root@kvm-1~]#puppetapplytest.ppNotice:Compiledcatalogforkvm-1.cell-1. ofi dc-1 . xnood demo . com lan inenvironmentproductionin0.76secondsNotice:Finishedcatalogrunin0.12seconds{code}Firstelementhas2digitssecondelementhas3digits:{code:none}[root@kvm-1~]#cattest.pprange(core-99,core-110).each|$id|{notify{ID:${id}:}}[root@kvm-1~]#puppetapplytest.ppNotice:Compiledcatalogforkvm-1.cell-1. ofi dc-1 . xnood demo . com lan inenvironmentproductionin0.73secondsNotice:Finishedcatalogrunin0.08seconds{code}Underthisconditionsnothingisprinted. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-4779) Stdlib range function misbehave under edge conditions

2015-06-23 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-4779 
 
 
 
  Stdlib range function misbehave under edge conditions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 Theproblemisrelatedtothenumberofdigits.Thistwoexamplescanbeusedtoreproducetheproblem:Firstelement intheseries(9) has1digitsecondelement intheseries(10) has2digits:{code:none}[root@kvm-1~]#cattest.pprange(core-9,core-15).each|$id|{notify{ID:${id}:}}[root@kvm-1~]#puppetapplytest.ppNotice:Compiledcatalogforkvm-1.cell-1.dc-1.demo.laninenvironmentproductionin0.76secondsNotice:Finishedcatalogrunin0.12seconds{code}Firstelement intheseries(99) has2digitssecondelement intheseries(100) has3digits:{code:none}[root@kvm-1~]#cattest.pprange(core-99,core-110).each|$id|{notify{ID:${id}:}}[root@kvm-1~]#puppetapplytest.ppNotice:Compiledcatalogforkvm-1.cell-1.dc-1.demo.laninenvironmentproductionin0.73secondsNotice:Finishedcatalogrunin0.08seconds{code}Underthisconditionsnothingisprinted. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2689) A node can't always collect its own exported resources

2015-04-07 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta commented on  PUP-2689 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: A node can't always collect its own exported resources  
 
 
 
 
 
 
 
 
 
 
Ouch Charlie! Charlie bit my finger! This is hurting me too. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3866 
 
 
 
  File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 WhenIapplythismanifest...{code:none} [root@kvm02~]#cattest.pp exec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthis_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet`Process22667attached%timesecondsusecs/callcallserrorssyscall--100.000.2945072148649read--100.000.294507148649total{code}AndwhenIapplythisothermanifest...{code:none} [root@kvm02~]#cattest.pp exec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,checksum='mtime',source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthisother_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet`Process22931attached%timesecondsusecs/callcallserrorssyscall--100.000.145334275746read--100.000.14533475746total{code}SoevenifIset_'replace=false'_thechecksumseemstobecomputed.Setting_'checksum=none'_isnotallowedwhen_'source'_ispresent. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 

Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3866 
 
 
 
  File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 WhenIapplythismanifest...{code:none}[root@kvm02~]#cattest.ppexec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthis_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet` |teedefault_checksum.log Process22667attached%timesecondsusecs/callcallserrorssyscall--100.000.2945072148649read--100.000.294507148649total{code}AndwhenIapplythisothermanifest...{code:none}[root@kvm02~]#cattest.ppexec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,checksum='mtime',source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthisother_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet`Process22931attached%timesecondsusecs/callcallserrorssyscall--100.000.145334275746read--100.000.14533475746total{code}SoevenifIset_'replace=false'_thechecksumseemstobecomputed.Setting_'checksum=none'_isnotallowedwhen_'source'_ispresent. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 

Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3866 
 
 
 
  File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 3.7.3 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 

Components:
 

 Client 
 
 
 

Created:
 

 2015/01/21 12:42 PM 
 
 
 

Environment:
 
 
 
 
 
 
 
 
[root@kvm02 ~]# puppet --version 
 
 
 
 
3.7.3 
 
 
 
 
[root@kvm02 ~]# uname -a 
 
 
 
 
Linux kvm02.demo.lan 3.10.0-123.13.2.el7.x86_64 #1 SMP Thu Dec 18 14:09:13 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
 
 
 
 
 
 
 

Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta commented on  PUP-3866 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 
 
I think the checksum should not be computed when 'replace' is set to 'false' in file resources. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3866 
 
 
 
  File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 
 
 
 
 
 
 
 WhenIapplythismanifest fortheNthtime(notthefirst) ...{code:none}exec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthis_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet`Process22667attached%timesecondsusecs/callcallserrorssyscall--100.000.2945072148649read--100.000.294507148649total{code}AndwhenIapplythisothermanifest...{code:none}exec{'/usr/bin/ddif=/dev/urandomof=/tmp/big_file_01bs=1MBcount=100':creates='/tmp/big_file_01',}-file{['/tmp/big_file_02','/tmp/big_file_03','/tmp/big_file_04']:ensure=file,replace=false,checksum='mtime',source='/tmp/big_file_01',owner='root',group='root',mode='0644',}{code}...Igetthisother_'strace'_count:{code:none}[root@kvm02~]#strace-eread-c-p`pgreppuppet`Process22931attached%timesecondsusecs/callcallserrorssyscall--100.000.145334275746read--100.000.14533475746total{code}SoevenifIset_'replace=false'_thechecksumseemstobecomputed.Setting_'checksum=none'_isnotallowedwhen_'source'_ispresent. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
  

Jira (PUP-3866) File checksum should not be triggered when 'replace = false'

2015-01-21 Thread Marc Villacorta (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Marc Villacorta updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-3866 
 
 
 
  File checksum should not be triggered when 'replace = false'  
 
 
 
 
 
 
 
 
 

Change By:
 
 Marc Villacorta 
 
 
 

Environment:
 
 {code:none}[root@kvm02~]# puppet --version 3.7.3 [root@kvm02~]#uname-a Linuxkvm02.demo.lan3.10.0-123.13.2.el7.x86_64#1SMPThuDec1814:09:13UTC2014x86_64x86_64x86_64GNU/Linux {code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-704) Docker support for virtual and is_virtual broken by systemd slices

2014-09-11 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta created an issue


















 Facter /  FACT-704



  Docker support for virtual and is_virtual broken by systemd slices 










Issue Type:

  Bug




Affects Versions:


 2.2.0




Assignee:

 Eric Sorenson




Created:


 11/Sep/14 1:01 AM




Environment:





$ docker --version
Docker version 1.2.0, build fa7b24f

$ docker run -it --rm h0tbird/base rpm -qa | grep systemd
systemd-208-11.el7_0.2.x86_64
systemd-libs-208-11.el7_0.2.x86_64

$ docker run -it --rm h0tbird/base facter -version
2.2.0







Priority:

  Normal




Reporter:

 Marc Villacorta










Adrien Thebo said:

It definitely looks like the introduction of systemd slices changed the structure of the cgroup entries in /proc/1/cgroup

And this is the new structure:



$ docker run -it --rm h0tbird/base cat /proc/1/cgroup 
8:blkio:/system.slice/docker-2c34fb3b1aeb2451badbbaef5e45146435790af27917ab183a191425dca14639.scope
7:net_cls:/
6:freezer:/system.slice/docker-2c34fb3b1aeb2451badbbaef5e45146435790af27917ab183a191425dca14639.scope

Jira (PUP-2797) Populate el7 dependencies directory with missing packages

2014-06-17 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta created an issue


















 Puppet /  PUP-2797



  Populate el7 dependencies directory with missing packages 










Issue Type:

  Task




Assignee:


 Unassigned




Created:


 17/Jun/14 2:33 PM




Priority:

  Normal




Reporter:

 Marc Villacorta










Looks like there are some missing packages in:



http://yum.puppetlabs.com/el/7/dependencies/x86_64/



For instance, to enable deeper merge behavior in 'hiera', I need the 'rubygem-deep-merge' package. Based on the 'el6' listing here:



http://yum.puppetlabs.com/el/6/dependencies/x86_64/



... I assume some packages slipped off.












   

 Add Comment











Jira (PUP-2797) Populate el7 dependencies directory with missing packages

2014-06-17 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta updated an issue


















 Puppet /  PUP-2797



  Populate el7 dependencies directory with missing packages 










Change By:

 Marc Villacorta









 Looksliketherearesomemissingpackagesin:{code:none}http://yum.puppetlabs.com/el/7/dependencies/x86_64/{code}Forinstance,toenabledeepermergebehaviorin_'hiera'_,Ineedthe_'rubygem-deep-merge'_package.  Basedonthe equivalent _'el6'_ listing directory here : ... {code:none}http://yum.puppetlabs.com/el/6/dependencies/x86_64/{code}...Iassumesomepackagesslippedoff.












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (HI-151) hiera_array() fails when used in class parameters

2014-01-24 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta commented on an issue


















  Re: hiera_array() fails when used in class parameters 










After rethinking the issue I realized that this is consistent with the resolution order and the current implementation of data bindings in puppet 3.
Sometimes, I would like to change the default behavior of data bindings from hiera() to hiera_array() or hiera_hash(). I need the freedom to arrange the data however best suits my needs and not the way puppet expects it to be.
This jira can be closed.












   

 Add Comment

























 Hiera /  HI-151



  hiera_array() fails when used in class parameters 







 Given this hiera config:  {code:none}  bash-4.1# cat /etc/puppet/hiera.yaml  ---   :backends:  - yaml   :hierarchy:  - one  - two   :yaml:  :datadir: '/etc/puppet/hieradata'   :merge_behavior: deeper   ...  {code}   and this values:  {code:none}  bash-4.1# cat /etc/puppet/hieradata/{one,two}.yaml  ---   foo::message: one   ...  --...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To 

Jira (HI-151) hiera_array() fails when used in class parameters

2014-01-24 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta updated an issue


















 Hiera /  HI-151



  hiera_array() fails when used in class parameters 










Change By:

 Marc Villacorta




Issue Type:

 Bug NewFeature












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (HI-151) hiera_array() fails when used in class parameters

2014-01-24 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta assigned an issue to Marc Villacorta


















 Hiera /  HI-151



  hiera_array() fails when used in class parameters 










Change By:

 Marc Villacorta




Assignee:

 EricSorenson MarcVillacorta












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (HI-151) hiera_array() fails when used in class parameters

2014-01-23 Thread Marc Villacorta (JIRA)
Title: Message Title










 

 Marc Villacorta created an issue


















 Hiera /  HI-151



  hiera_array() fails when used in class parameters 










Issue Type:

  Bug




Affects Versions:


 1.3.0




Assignee:

 Eric Sorenson




Created:


 23/Jan/14 9:48 AM




Environment:





bash-4.1# puppet --version
3.4.2






bash-4.1# hiera --version
1.3.0







Priority:

  Normal




Reporter:

 Marc Villacorta










Given this hiera config:



bash-4.1# cat /etc/puppet/hiera.yaml 
---

:backends:
- yaml

:hierarchy:
- one
- two

:yaml:
:datadir: '/etc/puppet/hieradata'

:merge_behavior: deeper

...



and this values:



bash-4.1# cat /etc/puppet/hieradata/{one,two}.yaml
---

foo::message: