Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
typo3_site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Chef Cookbooks
typo3_site
Commits
7d5f0ccb
Commit
7d5f0ccb
authored
6 years ago
by
Kevin Ditscheid
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Add the rootCA for internal curl calls to the HTTPS site
parent
a44cc480
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
[TASK] Add the rootCA for internal curl calls to the HTTPS site
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/default.rb
+13
-1
13 additions, 1 deletion
recipes/default.rb
with
13 additions
and
1 deletion
recipes/default.rb
+
13
−
1
View file @
7d5f0ccb
...
...
@@ -190,6 +190,18 @@ if node['platform_version'] == '16.04'
pattern
'.*max_input_vars =.*'
line
'max_input_vars = 1500'
end
replace_or_add
'Set curl ca certificate'
do
path
'/etc/php/'
+
node
[
'ubuntu_base'
][
'php_version'
]
+
'/apache2/php.ini'
pattern
'.*curl.cainfo =.*'
line
'curl.cainfo = /etc/apache2/ssl/rootCA.pem'
end
replace_or_add
'Set curl ca certificate - CLI'
do
path
'/etc/php/'
+
node
[
'ubuntu_base'
][
'php_version'
]
+
'/cli/php.ini'
pattern
'.*curl.cainfo =.*'
line
'curl.cainfo = /etc/apache2/ssl/rootCA.pem'
end
else
replace_or_add
'Increase time limit'
do
path
'/etc/php5/apache2/php.ini'
...
...
@@ -634,4 +646,4 @@ if node['typo3_site']['solr']['init']
group
data_bag
[
'groupId'
]
action
:run
end
end
\ No newline at end of file
end
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