On 05/21/2012 02:51 PM, Ted Zlatanov wrote:
> Nick, see if you can duplicate the bug on your side and I'll open the
> ticket.  No rush, I have the fix above in place.

I tried to use it manually and none of the variables seem to expand. I 
have not tried with cfsketch yet.


looks like all the [] are missing in my clone update.

R: VCS is $(main.repovcs), origin $(main.repoorigin), branch 
$(main.repobranch), target path $(main.repopath)
R: Sorry, the requested VCS $(main.repovcs) is not handled yet.


bundle agent main {
vars:
     "repo[path]"     string => "/tmp/test2/test3/git_freshclone";
     "repo[origin]"   string => "git://github.com/nickanderson/copbl.git";
     "repo[branch]"   string => "master";
     "repo[bundle_home]" string => 
"/home/cmdln/.cfagent/inputs/sketches/vcs_freshclone";

# TODO: provide some way to selectivly contain the executing user

methods:
     "any" usebundle => vcs_freshclone("main.repo");
}
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to