Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
typo3_site
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Kevin Ditscheid
typo3_site
Commits
16bb49e8
Commit
16bb49e8
authored
9 years ago
by
Stefan Galinski
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Fix group permissions for OSX
parent
be5c317b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
metadata.rb
+1
-1
1 addition, 1 deletion
metadata.rb
recipes/default.rb
+9
-9
9 additions, 9 deletions
recipes/default.rb
with
10 additions
and
10 deletions
metadata.rb
+
1
−
1
View file @
16bb49e8
...
...
@@ -3,7 +3,7 @@ maintainer 'sgalinski Internet Services'
maintainer_email
'stefan@sgalinski.de'
license
'Apache 2.0'
description
'Site'
long_description
'Sets up a website'
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
version
'1.0.0'
recipe
'typo3_site::default'
,
'Main recipe'
...
...
This diff is collapsed.
Click to expand it.
recipes/default.rb
+
9
−
9
View file @
16bb49e8
...
...
@@ -119,19 +119,19 @@ end
template
'/etc/apache2/ssl/sslKey.key'
do
source
'sslKey.key'
owner
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
end
template
'/etc/apache2/ssl/sslKey.crt'
do
source
'sslKey.crt'
owner
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
end
# create vHost directory
directory
"
#{
node
[
'typo3_site'
][
'webroot'
]
}
/
#{
node
[
'typo3_site'
][
'hostname'
]
}
"
do
owner
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
mode
'0755'
action
:create
end
...
...
@@ -161,7 +161,7 @@ end
file
'/home/vagrant/ssh_wrapper.sh'
do
owner
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
mode
'0755'
content
"#!/bin/sh
\n
exec /usr/bin/ssh -o
\"
StrictHostKeyChecking=no
\"
\"
$@
\"
"
end
...
...
@@ -177,7 +177,7 @@ if node['typo3_site']['repository'] != ''
revision
'master'
timeout
100000
user
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
action
:checkout
ssh_wrapper
'/home/vagrant/ssh_wrapper.sh'
end
...
...
@@ -191,7 +191,7 @@ bash 'Setup TYPO3' do
cwd
'/home/vagrant/'
user
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
timeout
3000000
only_if
{
node
[
'typo3_site'
][
'download_typo3'
]
}
...
...
@@ -236,7 +236,7 @@ node['typo3_site']['sync_directories'].each do |sync_data|
bash
'Synchronize '
+
sync_data
[
'local'
]
do
user
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
timeout
3000000
only_if
{
sync_data
[
'sync'
]
or
not
::
File
.
exists?
(
"
#{
node
[
'typo3_site'
][
'webroot'
]
}
/
#{
node
[
'typo3_site'
][
'hostname'
]
}
/
#{
sync_data
[
'local'
]
}
"
)
...
...
@@ -349,7 +349,7 @@ node['typo3_site']['sync_databases'].each do |database_data|
# download the sql data
bash
'Download Dump for '
+
database_data
[
'database_name'
]
do
user
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
timeout
3000000
code
<<-
EOF
rsync --delete -auvz --progress -e "ssh -p
#{
database_data
[
'dump_port'
]
}
-o StrictHostKeyChecking=no" \
...
...
@@ -417,7 +417,7 @@ if node['typo3_site']['solr']['init']
execute
'solr-updateConnections'
do
command
"php
#{
node
[
'typo3_site'
][
'webroot'
]
}
/
#{
node
[
'typo3_site'
][
'hostname'
]
}
/typo3/cli_dispatch.phpsh solr updateConnections || true"
user
'vagrant'
group
'vagrant'
group
data_bag
[
'groupId'
]
action
:run
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment