Commit 7edc449d authored by Marco Mariani's avatar Marco Mariani

working profile that does not use the drupal recipe

parent 848ba39b
...@@ -2,17 +2,7 @@ ...@@ -2,17 +2,7 @@
[publish-drupal-admin-password] [publish-drupal-admin-password]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
drupal-admin-password = $${drupal-init-base:admin-password} drupal-admin-password = $${gen-passwd:passwd}
[drupal-init-base]
recipe = slapos.cookbook:drupal_init
drush-binary = ${apache-php:location}/bin/drush
php-binary = ${apache-php:location}/bin/php
settings-php = ${application-configuration:location}
htdocs = $${rootdirectory:srv}/www
admin-password = $${gen-passwd:passwd}
dependency = $${apache-php:recipe}
#---------------- #----------------
...@@ -24,9 +14,3 @@ recipe = slapos.cookbook:generate.password ...@@ -24,9 +14,3 @@ recipe = slapos.cookbook:generate.password
storage-path = $${rootdirectory:srv}/drupal_passwd storage-path = $${rootdirectory:srv}/drupal_passwd
bytes = 16 bytes = 16
[drupal-init]
recipe = cp.recipe.cmd
install_cmd =
$${drupal-init-base:drush-binary} make --prepare-install ${openpublic:location}/profiles/openpublic/build-openpublic.make DrupalOpenPublic
...@@ -5,31 +5,32 @@ extends = ...@@ -5,31 +5,32 @@ extends =
../../component/git/buildout.cfg ../../component/git/buildout.cfg
parts += parts +=
openpublic
pear-modules pear-modules
slapos.cookbook-repository slapos.cookbook-repository
slapos-cookbook slapos-cookbook
check-recipe check-recipe
instance instance
develop = develop =
${:parts-directory}/slapos.cookbook-repository ${:parts-directory}/slapos.cookbook-repository
[apache-php]
url = http://fr2.php.net/distributions/php-5.3.23.tar.gz
md5sum = 9cd92b0de2b51dcd372f46fa623984f4
[slapos.cookbook-repository] [slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git repository = http://git.erp5.org/repos/slapos.git
branch = drupal branch = drupal
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
[application]
recipe = slapos.recipe.build:download-unpacked
url = http://ftp.drupal.org/files/projects/drupal-7.22.tar.gz
md5sum = 068d7a77958fce6bb002659aa7ccaeb7
[application-template] [application-template]
recipe = slapos.recipe.download recipe = slapos.recipe.download
url = ${:_profile_base_location_}/settings.php.in url = ${:_profile_base_location_}/settings.php.in
md5sum = 393813c5660590dfde74f835afa3389a md5sum = 0406dfa6a733a541257ccf13c36366f7
download-only = True download-only = True
filename = template.in filename = template.in
mode = 0644 mode = 0644
...@@ -40,7 +41,7 @@ location = sites/default/settings.php ...@@ -40,7 +41,7 @@ location = sites/default/settings.php
[custom-application-deployment] [custom-application-deployment]
path = ${custom-application-deployment-template:output} path = ${custom-application-deployment-template:output}
part-list = drupal-init publish-drupal-admin-password part-list = publish-drupal-admin-password
...@@ -48,11 +49,11 @@ part-list = drupal-init publish-drupal-admin-password ...@@ -48,11 +49,11 @@ part-list = drupal-init publish-drupal-admin-password
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-custom.cfg.in url = ${:_profile_base_location_}/instance-custom.cfg.in
output = ${buildout:directory}/instance-custom.cfg output = ${buildout:directory}/instance-custom.cfg
md5sum = c7525d7136348ad4dbd6d6868099846d md5sum = 4ce7536e799b46359680a7d205255ff4
mode = 0644 mode = 0644
[openpublic] [application]
recipe = slapos.recipe.build:download-unpacked recipe = slapos.recipe.build:download-unpacked
url = http://ftp.drupal.org/files/projects/openpublic-7.x-1.0-beta16-core.tar.gz url = http://ftp.drupal.org/files/projects/openpublic-7.x-1.0-beta16-core.tar.gz
md5sum = fae69644c4183c40a66fc8f1d9a7f8f0 md5sum = fae69644c4183c40a66fc8f1d9a7f8f0
...@@ -63,7 +64,7 @@ recipe = cp.recipe.cmd ...@@ -63,7 +64,7 @@ recipe = cp.recipe.cmd
pear = ${apache-php:location}/bin/pear pear = ${apache-php:location}/bin/pear
install_cmd = install_cmd =
${:pear} channel-info pear.drush.org >/dev/null || ${:pear} channel-discover pear.drush.org ${:pear} channel-info pear.drush.org >/dev/null || ${:pear} channel-discover pear.drush.org
${:pear} info drush/drush >/dev/null || ${:pear} install drush/drush ${:pear} info drush/drush >/dev/null || ${:pear} install drush/drush-5.8.0
${:pear} info Console_Table >/dev/null || ${:pear} install Console_Table ${:pear} info Console_Table >/dev/null || ${:pear} install Console_Table
[check-recipe] [check-recipe]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment