forked from ungleich-public/cdist
begin to redefine installation process
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
f8c5c03e77
commit
73ebe77022
2 changed files with 30 additions and 18 deletions
22
Makefile
22
Makefile
|
@ -24,7 +24,20 @@ MANSRC=doc/man/cdist-config-layout.text \
|
||||||
install:
|
install:
|
||||||
cp bin/* $(BINDIR)
|
cp bin/* $(BINDIR)
|
||||||
|
|
||||||
sync:
|
man: doc/man/.marker
|
||||||
|
|
||||||
|
doc/man/.marker: $(MANSRC)
|
||||||
|
for man in $(MANSRC); do $(A2X) $$man; done
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f doc/man/*.html doc/man/*.[1-9]
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Developer targets
|
||||||
|
#
|
||||||
|
|
||||||
|
test:
|
||||||
# ubuntu
|
# ubuntu
|
||||||
.rsync lyni@tablett:cdist
|
.rsync lyni@tablett:cdist
|
||||||
# redhat
|
# redhat
|
||||||
|
@ -40,11 +53,4 @@ web:
|
||||||
pub:
|
pub:
|
||||||
git push --mirror
|
git push --mirror
|
||||||
|
|
||||||
man: doc/man/.marker
|
|
||||||
|
|
||||||
doc/man/.marker: $(MANSRC)
|
|
||||||
for man in $(MANSRC); do $(A2X) $$man; done
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f doc/man/*.html doc/man/*.[1-9]
|
|
||||||
|
|
26
REAL_README
26
REAL_README
|
@ -67,21 +67,23 @@ but is not. Or: The reason why I began to write cdist.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Get cdist
|
Cdist stable always in master
|
||||||
|
|
||||||
|
* Create a new unpriviliged user (probably "cdist")
|
||||||
|
* Become that user, execute the following code:
|
||||||
|
|
||||||
|
git clone git://git.schottelius.org/cdist
|
||||||
|
cd cdist
|
||||||
|
export PATH=$PATH:$(pwd -P)/bin
|
||||||
|
|
||||||
|
That's it.
|
||||||
|
|
||||||
Operation on the server is run as "cdist" user.
|
Operation on the server is run as "cdist" user.
|
||||||
Operation on the client is run as "root" user.
|
Operation on the client is run as "root" user.
|
||||||
|
|
||||||
|
## Update
|
||||||
|
|
||||||
git clone git://git.schottelius.org/cdist
|
git pull && make install
|
||||||
|
|
||||||
## How to install cdist
|
|
||||||
|
|
||||||
make install
|
|
||||||
|
|
||||||
## How to use cdist
|
|
||||||
|
|
||||||
man cdist
|
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
@ -94,3 +96,7 @@ You can join the development ***IRC channel***
|
||||||
|
|
||||||
Bug reports, questions, patches, etc. should be send to the
|
Bug reports, questions, patches, etc. should be send to the
|
||||||
[cdist mailing list](http://l.schottelius.org/mailman/listinfo/cdist).
|
[cdist mailing list](http://l.schottelius.org/mailman/listinfo/cdist).
|
||||||
|
|
||||||
|
## Commercial Support
|
||||||
|
|
||||||
|
To be done.
|
||||||
|
|
Loading…
Reference in a new issue