Displaying 1 result from an estimated 1 matches for "sub_test".
Did you mean:
smb_test
2012 Mar 19
4
[Arrray] grep -v
...9;', ''ccc'']
So I tried to use ruby to do it: normally the ''-'' operation should be
enough (http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-2D)
Here is the code:
puppet apply -e ''
$my_array=[ "test", "tt" ]
$sub_test = [ "tt" ]
$result= inline_template("<% my_array-sub_test %>")
notice("$my_array")
notice("$my_array - $sub_test")
notice("$result")
''
notice: Scope(Class[main]): testtt
notice: Scope(Class[main]): test...