On 26 February 2010 17:13, <andreas.b...@sf.tv> wrote: > Thanks for your suggestion, > > but infact it does not change anything here renaming the modules itself - I > just renamed the module to more usual name without the colon > but as before it works but still throws the syntax error. > > I finally just got rid of the syntax error by writing the variable $(host) > like ${host} - using curly braces it works without throwing errors > > Using curly braces for the variable I can write it using a colon, with or > without quotes - It always works without errors. > > Always using curly braces is probably a best practice anyway, then variables are handled the same way in bash, perl and cfengine - three environments I as a sysadmin use daily. Writing $(somevarname) always makes me expect something to execute, this is the bash equivalent to sh backtics.
- Erlend
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine