Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin shibboleth version #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @coupa-ops/ce-2nd-level-reviewers
4 changes: 3 additions & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email "chef-admins@wharton.upenn.edu"
license "Apache 2.0"
description "Installs/Configures Shibboleth Service Provider"
version "0.2.1"
version "0.2.2"
recipe "shibboleth-sp", "Installs and enables base Shibboleth Service Provider."
recipe "shibboleth-sp::apache", "Base recipe and Apache handling."
recipe "shibboleth-sp::iis", "Base recipe and IIS handling."
Expand All @@ -17,3 +17,5 @@
%w{ centos redhat ubuntu windows }.each do |os|
supports os
end

depends "yum", "~> 2.0"
10 changes: 8 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
action :add
end

package "shibboleth"
package "shibboleth" do
version node['shibboleth-sp']['version']
action :install
end
when 'redhat'
unless node['shibboleth-sp']['redhat']['use_rhn']
include_recipe "yum"
Expand All @@ -62,7 +65,10 @@
end
end

package "shibboleth"
package "shibboleth" do
version node['shibboleth-sp']['version']
action :install
end
when 'ubuntu'
include_recipe "apache2"

Expand Down