Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chef Cookbooks
webgrind
Commits
e2841281
Commit
e2841281
authored
Dec 07, 2017
by
Stefan Galinski
🎮
Browse files
[TASK] Create an own certificate for webgrind
parent
51d07bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/webgrind.rb
View file @
e2841281
...
@@ -47,10 +47,17 @@ end
...
@@ -47,10 +47,17 @@ end
### Setup Configuration ###
### Setup Configuration ###
###########################
###########################
# create ssl certificate (requires that typo3_site (or a kind of) was executed before this script)
bash
'Create Certificate'
do
cwd
'/etc/apache2/ssl/'
code
<<-
EOF
./create_certificate_for_domain.sh
#{
node
[
'webgrind'
][
'hostname'
]
}
EOF
action
:run
end
template
node
[
'webgrind'
][
'install_path'
]
+
'/webgrind.config.php.erb'
do
template
node
[
'webgrind'
][
'install_path'
]
+
'/webgrind.config.php.erb'
do
source
'webgrind.config.php.erb'
source
'webgrind.config.php.erb'
owner
'root'
group
'root'
mode
'0644'
mode
'0644'
variables
(
variables
(
:params
=>
node
[
'webgrind'
]
:params
=>
node
[
'webgrind'
]
...
...
Write
Preview
Supports
Markdown
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