Commit 499d507bad2adde427708e197aeb298b76cb6929
Exists in
master
and in
89 other branches
Merge branch 'software_create_licenses' into 'master'
Software create licenses Add command line to create software licenses in noosfero recipe See merge request !19
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
... | ... | @@ -53,6 +53,11 @@ execute 'theme:enable' do |
53 | 53 | command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"' |
54 | 54 | end |
55 | 55 | |
56 | +execute 'software:create_licenses' do | |
57 | + cwd '/usr/lib/noosfero' | |
58 | + command 'sudo -u noosfero bundle exec rake software:create_licenses RAILS_ENV=production' | |
59 | +end | |
60 | + | |
56 | 61 | template '/etc/noosfero/thin.yml' do |
57 | 62 | owner 'root'; group 'root'; mode 0644 |
58 | 63 | notifies :restart, 'service[noosfero]' | ... | ... |