Skip to content

Commit

Permalink
rundeck package bump and ldap settings for supplemental group fix to
Browse files Browse the repository at this point in the history
  • Loading branch information
David Andrew authored and David Andrew committed Oct 29, 2014
1 parent 56a9b10 commit 734e548
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
14 changes: 6 additions & 8 deletions Berksfile.lock
Expand Up @@ -9,24 +9,22 @@ GRAPH
iptables (>= 0.0.0)
logrotate (>= 0.0.0)
pacman (>= 0.0.0)
apt (2.5.3)
build-essential (2.0.6)
apt (2.6.0)
build-essential (2.1.2)
iptables (0.14.0)
java (1.28.0)
logrotate (1.6.0)
logrotate (1.7.0)
pacman (1.1.1)
rundeck (2.0.5)
apache2 (>= 0.0.0)
java (>= 0.0.0)
runit (>= 0.0.0)
selinux (>= 0.0.0)
sudo (>= 0.0.0)
runit (1.5.10)
build-essential (>= 0.0.0)
yum (~> 3.0)
yum-epel (>= 0.0.0)
selinux (0.8.0)
sudo (2.7.0)
yum (3.3.1)
yum-epel (0.5.1)
sudo (2.7.1)
yum (3.4.0)
yum-epel (0.5.2)
yum (~> 3.0)
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -6,7 +6,7 @@
* remove the tie of rundeck username and group
* chef-client v10 treats `platform?` as attribute instead of method in attributes file
* Add supplemental groups to jaas-activedirectory (https://github.com/rundeck/rundeck/issues/590). This affects default['rundeck']['default_role']
* bump default rundeck version to 2.2.1-1
* bump default rundeck version to 2.3.0-1
* configurable server url attributes added
* fixed home dir creation
* berkshelf and cookbook test updates
Expand Down
5 changes: 3 additions & 2 deletions attributes/default.rb
Expand Up @@ -2,10 +2,10 @@
default['rundeck']['configdir'] = "/etc/rundeck"
default['rundeck']['basedir'] = "/var/lib/rundeck"
default['rundeck']['datadir'] = "/var/rundeck"
default['rundeck']['deb']['package'] = "rundeck-2.2.1-1-GA.deb"
default['rundeck']['deb']['package'] = "rundeck-2.3.0-1-GA.deb"
default['rundeck']['deb']['options'] = false #--force-confdef --force-confold
default['rundeck']['url'] = "http://download.rundeck.org/deb/#{node['rundeck']['deb']['package']}"
default['rundeck']['checksum'] = "816b96bf4545bd831c87d5ef1953770a0e705192d4c96bc4907f483c4558f269"
default['rundeck']['checksum'] = "d2b33e7b4f738ddbd46ef6b5c799008d08c7f52e"
default['rundeck']['port'] = 4440
default['rundeck']['jaas'] = "internal"
default['rundeck']['default_role'] = "user"
Expand Down Expand Up @@ -95,3 +95,4 @@
default['rundeck']['ldap']['roleprefix'] = "rundeck-"
default['rundeck']['ldap']['cachedurationmillis'] = "300000"
default['rundeck']['ldap']['reportstatistics'] = "true"
default['rundeck']['ldap']['supplementalroles'] = node['rundeck']['default_role']
4 changes: 3 additions & 1 deletion templates/default/jaas-activedirectory.conf.erb
Expand Up @@ -22,8 +22,10 @@ activedirectory {
roleObjectClass="<%=@ldap[:roleobjectclass]%>"
rolePrefix="<%=@ldap[:roleprefix]%>"
cacheDurationMillis="<%=@ldap[:cachedurationmillis]%>"
<% if @ldap[:supplementalroles] -%>
supplementalRoles="<%=@ldap[:supplementalroles]%>"
<% end -%>
reportStatistics="<%=@ldap[:reportstatistics]%>";

org.eclipse.jetty.plus.jaas.spi.PropertyFileLoginModule required
debug="true"
file="<%=@configdir%>/realm.properties";
Expand Down

0 comments on commit 734e548

Please sign in to comment.