> On 24 mei 2016, at 15:22, Dimitrios Apostolou <[email protected]> wrote:
> 
> 
> On Mon, May 23, 2016 at 4:10 PM, Alexis Mousset 
> <[email protected]> wrote:
> reports:
> "$(test simple)";
> "$(test $(string1))";
> "$(test $(string2))";
> }
> 
> Which displayed:
> 
> R: $(test simple)
> R: $(test test1)
> R: $(test $(string2))
> 
> before, and only:
> 
> R: $(test simple)
> 
> in this build.
> 
> 
> What would you guys think as the best behaviour?
> 
> In my opinion completely skipping promises with unexpanded variables would 
> make sense, because it seems that convergence was not achieved.
> 
I agree. It could do more damage then good in my opinion. 

That said we have still this issue:
{{{
bundle agent main
{   
    vars:
        any::
            #"split1" slist => string_split("one:two:three", ":", "10");
            "test_string" string => "
ExecStartPre={ path=/bin/mkdir ; argv[]=/bin/mkdir /var/run/surfsara-slapd ; 
ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; 
status=0/0 }  
ExecStart={ path=/opt/ldap/current/lib/slapd ; 
argv[]=/opt/ldap/current/lib/slapd -h ${SLAPD_SERVICES} $SLAPD_OPTIONS ; 
ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; 
status=0/0 }  
";
            "test_list" slist => string_split("$(test)", "\n", "150");

    reports:
        any::
            "$(test_string)";
            "$(test_list)";
}
}}}

This will also fail. I have to fill in the issue.  some command will return 
text with variables. It was issue:
 * https://tracker.mender.io/browse/CFE-2086

But we solved that differently.


> Dimitris
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "dev-cfengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dev-cfengine/CALSpUb11BkoKYFRPN3rTo8nzVHRVUUvWYGLD13%3DVbD%2B1Qbd88Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

---
Bas van der Vlies
| Operations, Support & Development | SURFsara | Science Park 140 | 1098 XG  
Amsterdam
| T +31 (0) 20 800 1300  | [email protected] | www.surfsara.nl |

-- 
You received this message because you are subscribed to the Google Groups 
"dev-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dev-cfengine/DB868330-09CB-4AC0-9BC1-250FB121AAFB%40surfsara.nl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to