Commit 4fff03330994848130300901cb3bbd272216881a
1 parent
96839740
Exists in
r5_design
and in
1 other branch
colab: split database configuration into its own file
like the RPM package does
Showing
3 changed files
with
13 additions
and
6 deletions
Show diff stats
cookbooks/colab/recipes/default.rb
| @@ -27,6 +27,13 @@ template '/etc/colab/settings.yaml' do | @@ -27,6 +27,13 @@ template '/etc/colab/settings.yaml' do | ||
| 27 | notifies :restart, 'service[colab]' | 27 | notifies :restart, 'service[colab]' |
| 28 | end | 28 | end |
| 29 | 29 | ||
| 30 | +template '/etc/colab/settings.d/00-database.yaml' do | ||
| 31 | + owner 'root' | ||
| 32 | + group 'colab' | ||
| 33 | + mode 0640 | ||
| 34 | + notifies :restart, 'service[colab]' | ||
| 35 | +end | ||
| 36 | + | ||
| 30 | cookbook_file '/usr/lib/colab/lib/python2.7/site-packages/colab/static/img/logo.svg' do | 37 | cookbook_file '/usr/lib/colab/lib/python2.7/site-packages/colab/static/img/logo.svg' do |
| 31 | owner 'root' | 38 | owner 'root' |
| 32 | group 'root' | 39 | group 'root' |
cookbooks/colab/templates/settings.yaml.erb