Commit fb9fc3fc4edeb4818dcc43999636fbc46d78a855

Authored by Antonio Terceiro
1 parent bf4e46ee

fix plugin enablement

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
cookbooks/noosfero/recipes/default.rb
@@ -43,7 +43,9 @@ execute 'plugins:enable' do @@ -43,7 +43,9 @@ execute 'plugins:enable' do
43 end 43 end
44 44
45 execute 'plugins:activate' do 45 execute 'plugins:activate' do
46 - command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins" 46 + command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins"
  47 + cwd '/usr/lib/noosfero'
  48 + user 'noosfero'
47 end 49 end
48 50
49 execute 'theme:enable' do 51 execute 'theme:enable' do