summaryrefslogtreecommitdiff
path: root/README
blob: 9fd92b5841302b79ba2c276aab16743089088fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cfengine stdlib
===============

The cfengine stdlib repo on legend is a repo initialized from the master branch of the official github masterfiles. To update, run:

git clone https://github.com/cfengine/masterfiles/ cfengine_stdlib
cd cfengine_masterfiles/
git filter-branch --subdirectory-filter lib -- --all
git remote remove origin
git remote add legend gitolite3@10.1.0.254:cfengine_stdlib
git remote update
git push legend master

Then in your masterfiles repo:

git submodule update --init --recursive

cfengine modules
================

We have a second submodule for cfengine modules, also initialized from the master branch of the official github masterfiles. To update, run:

git clone https://github.com/cfengine/masterfiles/ cfengine_stdlib
cd cfengine_masterfiles/
git filter-branch --subdirectory-filter modules -- --all
git remote remove origin
git remote add legend gitolite3@10.1.0.254:cfengine_modules
git remote update
git push legend master

Then in your masterfiles repo:

git submodule update --init --recursive

Note
====
Submodules where initialized with :
git submodule add  gitolite3@10.1.0.254:cfengine_stdlib lib
git submodule add  gitolite3@10.1.0.254:cfengine_modules modules