I saw another post on how to do this but it does not seem to work for me.  
Please correct my syntax below.

$ cat /tmp/test.txt
DOG

bundle common g
{
        vars:

                "temp"  string  =>      readfile( "/tmp/test.txt" );
                "pet"           string  =>      canonify( "$(temp)" );
}

bundle agent animal
{
        reports:
                DOG::
                        "I have a pet dog.";
}

Regards,
j
        
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to