Displaying 1 result from an estimated 1 matches for "sys_serv".
Did you mean:
sys_nerr
2012 Aug 22
6
Duplicate definition : Merging arrays
...new array by combining two other arrays. I get the
following error while running :
Duplicate definition: Print[test0] is already defined in file
/etc/puppet/manifests/test.pp at line 47; cannot redefine at
/etc/puppet/manifests/test.pp:47
My code is similar to this :
<snip>
.....
.....
$sys_server = [ ginger , test0 ]
$usr_server = [ test0, test1, test2 ]
$server = split(inline_template("<%= (sys_server+usr_server).join('','')
%>"),'','')
.....
.....
</snip>
This way clearly not working. Is there a tweak somewhere to remove t...