diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-07-14 15:16:15 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-07-14 15:16:15 +0000 |
commit | 4b8ce6875266fdd6609a217dcf2924d7d4815cc2 (patch) | |
tree | 8d7a5edd116bf327df8f507f21eaad428b056998 /bin/gitano-setup.in | |
parent | d5a76a5caf51d12c811317ac6e376942b7633770 (diff) | |
parent | ef7cb90b7e3df1f953d9190f1193101ac4c2f9db (diff) | |
download | gitano-4b8ce6875266fdd6609a217dcf2924d7d4815cc2.tar.gz |
Merge branch 'baserock/pedroalvarez/trove-ansible3' into baserock/morphbaserock/morph
Updated to the latest version of gitano, which now allows
the user to change the skeleton path.
Diffstat (limited to 'bin/gitano-setup.in')
-rw-r--r-- | bin/gitano-setup.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/gitano-setup.in b/bin/gitano-setup.in index f31c8f0..038276c 100644 --- a/bin/gitano-setup.in +++ b/bin/gitano-setup.in @@ -164,6 +164,9 @@ ask_for("site.name", "Site name", "a random Gitano instance") ask_for("log.prefix", "Site log prefix", "gitano") ask_for("use.htpasswd", "Store passwords with htpasswd? (needed for http authentication)", "no") +ask_for("paths.skel", "Path to skeleton gitano-admin content", + gitano.config.share_path() .. "/skel/gitano-admin") + gitano.log.chat("Step 2: Gather required content") gitano.log.info("=> Prepare site config") @@ -176,7 +179,7 @@ completely_flat["site.conf"] = site_conf:serialise() -- Acquire the contents of the skeleton gitano-admin repository gitano.log.info("=> Acquire skeleton gitano-admin") -local skel_path = gitano.config.share_path() .. "/skel/gitano-admin" +local skel_path = get "paths.skel" local skel = assert(sio.opendir(skel_path)) local function acquire(dir, base, path) gitano.log.ddebug("Acquire skeleton in:", path) |