[rudder-users] Git shared-file

Francois Armand francois.armand at normation.com
Wed Jul 22 09:34:11 CEST 2015


On 21/07/2015 20:44, Maxime Longuet wrote:
> For history my shared files and simply update shared-file i've think about make git repository on :
>
> /var/rudder/configuration-repository/shared-files
>
> But in this directory i'm already on the git of rudder...
>
> How can I do ? Suggestion are welcome :)
>
>
>
> Maxime
>


Hello Maxime,

If don't need/want the Rudder git repos in
/var/rudder/configuration-repository to knows about the versionning of
your shared file, you can simply create a new git repo in
/var/rudder/configuration-repository/shared-files

% cd /var/rudder/configuration-repository/shared-files
% git init
% git add .
% git commit -m "Initial commit for versionning shared file"

And done. The git repos in /var/rudder/configuration-repository will
ignore /var/rudder/configuration-repository/shared-files/.git files, and
for it, the content of /var/rudder/configuration-repository/shared-files
is what is currently on the fs.

You can now do you git commit and branches and whatever you want when
you are into /var/rudder/configuration-repository/shared-files . But be
aware that nothing will be commited automatically by rudder in that
repos. Depending on what you want to achieve, it may not be what you want.

Hope it helps,


-- 
Nouveau site web Normation
------------------------------------------------------------------------
*François ARMAND*
/Co-founder & CTO/
Normation <http://www.normation.com>
------------------------------------------------------------------------
*87 rue de Turbigo, 75003 Paris, France*
Telephone: 	+33 (0)1 83 62 99 23
Mobile: 	+33 (0)6 63 37 60 55
------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20150722/0c2c96e7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-newsite.gif
Type: image/gif
Size: 24554 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20150722/0c2c96e7/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.gif
Type: image/gif
Size: 1036 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20150722/0c2c96e7/attachment-0003.gif>


More information about the rudder-users mailing list