Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Goggins committed Aug 17, 2011
1 parent a1c52fd commit cbecc72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
role :web, "shib-local-vm1.asr.umn.edu" # Your HTTP server, Apache/etc
role :app, "shib-local-vm1.asr.umn.edu" # This may be the same as your `Web` server

after 'deploy', 'restart_shibd'
before 'deploy', 'copy_shib_files'
task :copy_shib_files do
run "cp shibboleths_lil_helper/generated/default/shib-local-vm1.asr.umn.edu/shibboleth2.xml /etc/shibboleth/"
run "cp shibboleths_lil_helper/generated/default/shib-local-vm1.asr.umn.edu/attribute-map.xml /etc/shibboleth/"
run "cp shibboleths_lil_helper/generated/default/shib-local-vm1.asr.umn.edu/idp_metadata.xml /etc/shibboleth/"
end

after 'deploy', 'restart_shibd'
task :restart_shibd do
run "service shibd restart"
end
Expand Down

0 comments on commit cbecc72

Please sign in to comment.