Merge pull request #28 from theseal/only-update-db-when-needed
Only update the database when needed
This commit is contained in:
commit
64c12216bd
4
Makefile
4
Makefile
|
@ -6,7 +6,9 @@ cosmos:
|
||||||
upgrade:
|
upgrade:
|
||||||
fab upgrade
|
fab upgrade
|
||||||
|
|
||||||
db:
|
db: global/overlay/etc/puppet/cosmos-db.yaml
|
||||||
|
|
||||||
|
global/overlay/etc/puppet/cosmos-db.yaml: global/overlay/etc/puppet/cosmos-rules.yaml:
|
||||||
@python ./fabfile/db.py > global/overlay/etc/puppet/cosmos-db.yaml
|
@python ./fabfile/db.py > global/overlay/etc/puppet/cosmos-db.yaml
|
||||||
@git add global/overlay/etc/puppet/cosmos-db.yaml && git commit -m "update db" global/overlay/etc/puppet/cosmos-db.yaml
|
@git add global/overlay/etc/puppet/cosmos-db.yaml && git commit -m "update db" global/overlay/etc/puppet/cosmos-db.yaml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue