Permalink
Browse files

Updated template seed to simply be done with template install.

  • Loading branch information...
1 parent ae3aa1c commit 95cc77b23b3c8149e899631f75bdf541950d823d @wayneeseguin wayneeseguin committed Apr 3, 2012
Showing with 8 additions and 9 deletions.
  1. +5 −6 mongodb/bin/configure
  2. +3 −3 mongodb/bin/setup/init
View
@@ -3,11 +3,10 @@
path create "${confd_path}/${extension}"
template install "mongodb/mongodb.conf" \
- to "${confd_path}/${extension}/${extension}.conf"
-
-template seed "${confd_path}/${extension}/${extension}.conf" \
- prefix_path "${sm_path}/pkg/active/bin" \
- data_path "${sm_db_path}" \
- log_path "${sm_log_path}" \
+ to "${confd_path}/${extension}/${extension}.conf" \
+ variables \
+ prefix_path "${sm_path}/pkg/active/bin" \
+ data_path "${sm_db_path}" \
+ log_path "${sm_log_path}" \
View
@@ -1,8 +1,8 @@
#!/bin/sh
-template install "mongodb/init.d" to "${init_scripts_path}/${extension}"
-
-template seed "${init_scripts_path}/${extension}" \
+template install "mongodb/init.d" \
+ to "${init_scripts_path}/${extension}" \
+ variables \
sm_path "$sm_path"
files chmod a+x "${init_scripts_path}/${extension}"

0 comments on commit 95cc77b

Please sign in to comment.