Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos
Commits
f2b81420
Commit
f2b81420
authored
Apr 08, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working profile that does not use the drupal recipe
parent
974e7439
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
49 deletions
+26
-49
software/DrupalDataPublic/instance-custom.cfg.in
software/DrupalDataPublic/instance-custom.cfg.in
+0
-21
software/DrupalDataPublic/software.cfg
software/DrupalDataPublic/software.cfg
+26
-25
software/DrupalDataPublic/ssh_config
software/DrupalDataPublic/ssh_config
+0
-3
No files found.
software/DrupalDataPublic/instance-custom.cfg.in
View file @
f2b81420
...
@@ -5,26 +5,6 @@ recipe = slapos.cookbook:publish
...
@@ -5,26 +5,6 @@ recipe = slapos.cookbook:publish
drupal-admin-password = $${gen-passwd:passwd}
drupal-admin-password = $${gen-passwd:passwd}
[drupal-init]
recipe = cp.recipe.cmd
install_cmd =
mkdir -m 700 ~/.ssh
cp ${ssh-config:location}/ssh-config ~/.ssh/config
cp -ax ${datapublic:location} $${rootdirectory:srv}/www/profiles/datapublic
# ${apache-php:location}/bin/drush make ${datapublic:location}/datapublic.make $${rootdirectory:srv}/www
#[drupal-init]
#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}
#----------------
#----------------
#--
#--
#-- Generates a random password and stores it in the filesystem
#-- Generates a random password and stores it in the filesystem
...
@@ -34,4 +14,3 @@ recipe = slapos.cookbook:generate.password
...
@@ -34,4 +14,3 @@ recipe = slapos.cookbook:generate.password
storage-path = $${rootdirectory:srv}/drupal_passwd
storage-path = $${rootdirectory:srv}/drupal_passwd
bytes = 16
bytes = 16
software/DrupalDataPublic/software.cfg
View file @
f2b81420
...
@@ -5,33 +5,32 @@ extends =
...
@@ -5,33 +5,32 @@ extends =
../../component/git/buildout.cfg
../../component/git/buildout.cfg
parts +=
parts +=
datapublic
datapublic-patch
ssh-config
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
...
@@ -42,7 +41,7 @@ location = sites/default/settings.php
...
@@ -42,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
...
@@ -50,29 +49,31 @@ part-list = drupal-init publish-drupal-admin-password
...
@@ -50,29 +49,31 @@ 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 =
9c3ab8d4e6cd4274cb2281a3aa1c4dee
md5sum =
4ce7536e799b46359680a7d205255ff4
mode = 0644
mode = 0644
[datapublic]
[datapublic
-download
]
recipe = slapos.recipe.build:download-unpacked
recipe = slapos.recipe.build:download-unpacked
url = http://ftp.drupal.org/files/projects/datapublic-7.x-1.0-beta2.tar.gz
url = http://ftp.drupal.org/files/projects/datapublic-7.x-1.0-beta2.tar.gz
md5sum = fcd038ee4cc4409f21e3f99787b7ed0e
md5sum = fcd038ee4cc4409f21e3f99787b7ed0e
[datapublic-patch]
[application]
# replace the download recipe to preprare the make step
recipe = cp.recipe.cmd
recipe = cp.recipe.cmd
on_install = True
dependency = ${datapublic-download:recipe}
on_update = True
location = ${buildout:parts-directory}/${:_buildout_section_name_}
cmds =
update_cmd = ${:install_cmd}
sed -i "s|git@github.com:\(.*\)|https://github.com/\1|g" ${datapublic:location}/build-datapublic.make
install_cmd =
sed -i "s|git@github.com:\(.*\)|https://github.com/\1|g" ${datapublic:location}/datapublic.make
# update drupal itself for security reasons
sed -i "s|7\.12$|7\.22|g" ${datapublic-download:location}/build-datapublic.make
sed -i "s|7\.12$|7\.22|g" ${datapublic-download:location}/datapublic.make
# we won't need to use a github account to download.
sed -i "s|git@github.com:\(.*\)|https://github.com/\1|g" ${datapublic-download:location}/build-datapublic.make
sed -i "s|git@github.com:\(.*\)|https://github.com/\1|g" ${datapublic-download:location}/datapublic.make
rm -rf ${:location}
${apache-php:location}/bin/drush make ${datapublic-download:location}/datapublic.make ${:location}
[ssh-config]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/ssh_config
md5sum = 6532ddf50989961ad55dfa6a49383a1b
mode = 0644
[pear-modules]
[pear-modules]
...
@@ -80,7 +81,7 @@ recipe = cp.recipe.cmd
...
@@ -80,7 +81,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]
...
...
software/DrupalDataPublic/ssh_config
deleted
100644 → 0
View file @
974e7439
Host github.com
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment