Commit f88e113b18c49c22258b29894a20c94f9c8327c5
1 parent
ad506c07
Exists in
master
and in
89 other branches
Update upload max size in Noosfero.
Signed-off-by: Thiago Ribeiro <thiagitosouza@hotmail.com>
Showing
2 changed files
with
23 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,17 @@ |
1 | +development: | |
2 | + #mail_enabled: true | |
3 | + #webmail_url: "http://localhost.localdomain/" | |
4 | + #addthis_enabled: true | |
5 | + #addthis_pub: your-user-name | |
6 | + #addthis_logo: http://localhost:3000/images/logo-200x50.png | |
7 | + #addthis_options: favorites, email, digg, delicious, technorati, slashdot, twitter, more | |
8 | + #gravatar: mm | |
9 | + #googlemaps_initial_zoom: 4 | |
10 | + #exception_recipients: [admin@example.com] | |
11 | + #max_upload_size: 5MB | |
12 | + #hours_until_user_activation_check: 72 | |
13 | + | |
14 | +test: | |
15 | + | |
16 | +production: | |
17 | + max_upload_size: 150MB | ... | ... |
cookbooks/noosfero/recipes/default.rb
... | ... | @@ -67,6 +67,12 @@ template '/etc/nginx/conf.d/noosfero.conf' do |
67 | 67 | notifies :restart, 'service[nginx]' |
68 | 68 | end |
69 | 69 | |
70 | +cookbook_file '/user/lib/noosfero/config/noosfero.yml' do | |
71 | + owner 'root'; group 'root'; mode 0644 | |
72 | + source 'noosfero.yml' | |
73 | + action :create_if_missing | |
74 | + notifies :restart, 'service[noosfero]' | |
75 | +end | |
70 | 76 | ############################################### |
71 | 77 | # SELinux: permission to access static files noosfero |
72 | 78 | ################################################ | ... | ... |