X-Received: by 2002:a37:1f92:: with SMTP id n18-v6mr17164312qkh.16.1536064230968; Tue, 04 Sep 2018 05:30:30 -0700 (PDT) X-Received: by 2002:a0d:de01:: with SMTP id h1-v6mr331093ywe.3.1536064230489; Tue, 04 Sep 2018 05:30:30 -0700 (PDT) Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!z10-v6no2577613qtb.0!news-out.google.com!i36-v6ni1450qti.0!nntp.google.com!z10-v6no2577609qtb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.cfengine.help Date: Tue, 4 Sep 2018 05:30:30 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=62.210.129.246; posting-account=4mmw3QoAAABZ1SqiyuDwRHyCyLEWA54D NNTP-Posting-Host: 62.210.129.246 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7804404e-32ef-48fd-a1cf-d95aae6979cb@googlegroups.com> Subject: Using lib/vcs.cfs git_checkout From: "Benny L." Injection-Date: Tue, 04 Sep 2018 12:30:30 +0000 Content-Type: text/plain; charset="UTF-8" Lines: 11 Xref: csiph.com gnu.cfengine.help:2 Hello, I'm having Problems with my policy to run. I want to checkout an existing repo from github to a lokal location. When running running the policy, i get an error that git_checkout is undefined. I was fideling around for around half a day trying to get vcs.cf included. But this led me to duplicated body control error. I also couldn't body file control Statements in my policy to work. Has anybody an idear what has to be done to use the function git_checkout from lib/vcs.cf. I'm running on latest stable release cfengine 3.12. Thanks for your help! Daebenji