search for: usr_server

Displaying 1 result from an estimated 1 matches for "usr_server".

Did you mean: use_server
2012 Aug 22
6
Duplicate definition : Merging arrays
...s. 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 the duplicates while joining the arrays ?...