diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-02-27 11:33:06 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2013-02-27 13:26:53 +0000 |
commit | 5322eb0e046bd2a2aea803942a79760b9b06156e (patch) | |
tree | 582ad5c91d4c626a174057ac12bd507d88fb091e /bins/trove-early-setup | |
parent | 1805cfc0714868ac43ae1bda2b53fd511d19535e (diff) | |
download | trove-setup-5322eb0e046bd2a2aea803942a79760b9b06156e.tar.gz |
trove-early-setup: ensure .dotfiles are created
dotfiles are created to prove the configuration step has been done
Diffstat (limited to 'bins/trove-early-setup')
-rwxr-xr-x | bins/trove-early-setup | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 1644cfe..1b34f75 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -46,6 +46,7 @@ $(eval $(foreach USER,$(USERS),$(call make_user_rules,$(USER)))) /home/git/.git-setup: $(ALL_USER_TARGETS) su -c 'git config --global user.name "Trove Git Controller"' - git su -c 'git config --global user.email "git@trove"' - git + touch $@ /home/git/.gitano-setup: /home/git/.git-setup su -c 'gitano-setup /etc/gitano-setup.clod' - git @@ -56,6 +57,7 @@ $(eval $(foreach USER,$(USERS),$(call make_user_rules,$(USER)))) cp /home/lorry/.ssh/id_rsa.pub /tmp/lorry.pub su -c 'ssh git@localhost as lorry sshkey add trove < /tmp/lorry.pub' - git rm /tmp/lorry.pub + touch $@ .PHONY: gitano-configured gitano-configured: /home/git/.gitano-setup @@ -100,6 +102,7 @@ cache-configured: /home/cache/.cache-setup su -c "cd /tmp/mason-config; (echo '['; echo ']') > ci1/hosts.json.txt" - git su -c "cd /tmp/mason-config; git add ci1; git commit -m 'Set initial Mason config'; git push origin master" - git su -c "rm -fr /tmp/mason-config" - git + touch $@ .PHONY: mason-configured mason-configured: /home/git/.mason-setup |