infrataster-plugin-ldap 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.rspec +2 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +51 -0
- data/Rakefile +36 -0
- data/infrataster-plugin-ldap.gemspec +23 -0
- data/lib/infrataster-plugin-ldap.rb +4 -0
- data/lib/infrataster/contexts/ldap_context.rb +63 -0
- data/lib/infrataster/helpers/ldap_resource_helper.rb +12 -0
- data/lib/infrataster/resources/ldap_resource.rb +19 -0
- data/spec/.vagrant/machines/default/virtualbox/action_provision +1 -0
- data/spec/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/spec/.vagrant/machines/default/virtualbox/id +1 -0
- data/spec/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/spec/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/spec/Vagrantfile +20 -0
- data/spec/cookbooks/apt/CHANGELOG.md +208 -0
- data/spec/cookbooks/apt/README.md +252 -0
- data/spec/cookbooks/apt/attributes/default.rb +46 -0
- data/spec/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/spec/cookbooks/apt/libraries/helpers.rb +49 -0
- data/spec/cookbooks/apt/libraries/matchers.rb +17 -0
- data/spec/cookbooks/apt/libraries/network.rb +31 -0
- data/spec/cookbooks/apt/metadata.json +54 -0
- data/spec/cookbooks/apt/metadata.rb +34 -0
- data/spec/cookbooks/apt/providers/preference.rb +63 -0
- data/spec/cookbooks/apt/providers/repository.rb +203 -0
- data/spec/cookbooks/apt/recipes/cacher-client.rb +81 -0
- data/spec/cookbooks/apt/recipes/cacher-ng.rb +43 -0
- data/spec/cookbooks/apt/recipes/default.rb +98 -0
- data/spec/cookbooks/apt/recipes/unattended-upgrades.rb +43 -0
- data/spec/cookbooks/apt/resources/preference.rb +32 -0
- data/spec/cookbooks/apt/resources/repository.rb +43 -0
- data/spec/cookbooks/apt/templates/debian-6.0/acng.conf.erb +173 -0
- data/spec/cookbooks/apt/templates/default/01proxy.erb +5 -0
- data/spec/cookbooks/apt/templates/default/20auto-upgrades.erb +2 -0
- data/spec/cookbooks/apt/templates/default/50unattended-upgrades.erb +62 -0
- data/spec/cookbooks/apt/templates/default/acng.conf.erb +275 -0
- data/spec/cookbooks/apt/templates/default/unattended-upgrades.seed.erb +1 -0
- data/spec/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +269 -0
- data/spec/cookbooks/openldap/CHANGELOG.md +68 -0
- data/spec/cookbooks/openldap/README.md +185 -0
- data/spec/cookbooks/openldap/attributes/default.rb +76 -0
- data/spec/cookbooks/openldap/files/default/common-account +7 -0
- data/spec/cookbooks/openldap/files/default/common-auth +9 -0
- data/spec/cookbooks/openldap/files/default/common-password +7 -0
- data/spec/cookbooks/openldap/files/default/common-session +9 -0
- data/spec/cookbooks/openldap/files/default/nsswitch.conf +21 -0
- data/spec/cookbooks/openldap/files/default/slapd.seed +21 -0
- data/spec/cookbooks/openldap/files/default/test/auth_test.rb +7 -0
- data/spec/cookbooks/openldap/files/default/test/server_test.rb +24 -0
- data/spec/cookbooks/openldap/metadata.json +124 -0
- data/spec/cookbooks/openldap/metadata.rb +102 -0
- data/spec/cookbooks/openldap/recipes/auth.rb +71 -0
- data/spec/cookbooks/openldap/recipes/client.rb +28 -0
- data/spec/cookbooks/openldap/recipes/default.rb +18 -0
- data/spec/cookbooks/openldap/recipes/master.rb +23 -0
- data/spec/cookbooks/openldap/recipes/server.rb +124 -0
- data/spec/cookbooks/openldap/recipes/slave.rb +32 -0
- data/spec/cookbooks/openldap/templates/default/default_slapd.erb +47 -0
- data/spec/cookbooks/openldap/templates/default/ldap-ldap.conf.erb +16 -0
- data/spec/cookbooks/openldap/templates/default/ldap.conf.erb +31 -0
- data/spec/cookbooks/openldap/templates/default/libnss-ldap.conf.erb +28 -0
- data/spec/cookbooks/openldap/templates/default/login_access.conf.erb +16 -0
- data/spec/cookbooks/openldap/templates/default/slapd.conf.erb +132 -0
- data/spec/ldap_spec.rb +10 -0
- data/spec/spec_helper.rb +17 -0
- metadata +253 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Cookbook Name:: openldap
|
|
3
|
+
# Recipe:: slave
|
|
4
|
+
#
|
|
5
|
+
# Copyright 2012, Opscode, Inc.
|
|
6
|
+
#
|
|
7
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
# you may not use this file except in compliance with the License.
|
|
9
|
+
# You may obtain a copy of the License at
|
|
10
|
+
#
|
|
11
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
#
|
|
13
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
# See the License for the specific language governing permissions and
|
|
17
|
+
# limitations under the License.
|
|
18
|
+
#
|
|
19
|
+
|
|
20
|
+
node.default['openldap']['slapd_type'] = 'slave'
|
|
21
|
+
|
|
22
|
+
if Chef::Config[:solo]
|
|
23
|
+
Chef::Log.warn("To use #{cookbook_name}::#{recipe_name} with solo, set attributes node['openldap']['slapd_replpw'] and node['openldap']['slapd_master'].")
|
|
24
|
+
else
|
|
25
|
+
::Chef::Recipe.send(:include, Opscode::OpenSSL::Password)
|
|
26
|
+
node.default['openldap']['slapd_replpw'] = secure_password
|
|
27
|
+
node.default['openldap']['slapd_master'] = search(:nodes, 'openldap_slapd_type:master').map {|n| n['openldap']['server']}.first
|
|
28
|
+
node.save
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
include_recipe "openldap::server"
|
|
32
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Location of the slapd configuration to use. If using the cn=config
|
|
2
|
+
# backend to store configuration in LDIF, set this variable to the
|
|
3
|
+
# directory containing the cn=config data; otherwise set it to the location
|
|
4
|
+
# of your slapd.conf file. If empty, use the compiled-in default
|
|
5
|
+
# (/etc/ldap/slapd.d).
|
|
6
|
+
SLAPD_CONF=/etc/ldap/slapd.conf
|
|
7
|
+
|
|
8
|
+
# System account to run the slapd server under. If empty the server
|
|
9
|
+
# will run as root.
|
|
10
|
+
SLAPD_USER="openldap"
|
|
11
|
+
|
|
12
|
+
# System group to run the slapd server under. If empty the server will
|
|
13
|
+
# run in the primary group of its user.
|
|
14
|
+
SLAPD_GROUP="openldap"
|
|
15
|
+
|
|
16
|
+
# Path to the pid file of the slapd server. If not set the init.d script
|
|
17
|
+
# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.d by
|
|
18
|
+
# default)
|
|
19
|
+
SLAPD_PIDFILE=
|
|
20
|
+
|
|
21
|
+
# slapd normally serves ldap only on all TCP-ports 389. slapd can also
|
|
22
|
+
# service requests on TCP-port 636 (ldaps) and requests via unix
|
|
23
|
+
# sockets.
|
|
24
|
+
# Example usage:
|
|
25
|
+
# SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///"
|
|
26
|
+
SLAPD_SERVICES="ldap:/// ldapi:///"
|
|
27
|
+
|
|
28
|
+
# If SLAPD_NO_START is set, the init script will not start or restart
|
|
29
|
+
# slapd (but stop will still work). Uncomment this if you are
|
|
30
|
+
# starting slapd via some other means or if you don't want slapd normally
|
|
31
|
+
# started at boot.
|
|
32
|
+
#SLAPD_NO_START=1
|
|
33
|
+
|
|
34
|
+
# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
|
|
35
|
+
# the init script will not start or restart slapd (but stop will still
|
|
36
|
+
# work). Use this for temporarily disabling startup of slapd (when doing
|
|
37
|
+
# maintenance, for example, or through a configuration management system)
|
|
38
|
+
# when you don't want to edit a configuration file.
|
|
39
|
+
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
|
|
40
|
+
|
|
41
|
+
# For Kerberos authentication (via SASL), slapd by default uses the system
|
|
42
|
+
# keytab file (/etc/krb5.keytab). To use a different keytab file,
|
|
43
|
+
# uncomment this line and change the path.
|
|
44
|
+
#export KRB5_KTNAME=/etc/krb5.keytab
|
|
45
|
+
|
|
46
|
+
# Additional options to pass to slapd
|
|
47
|
+
SLAPD_OPTIONS=""
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#
|
|
2
|
+
# LDAP Defaults
|
|
3
|
+
#
|
|
4
|
+
# Generated by Chef for <%= node['hostname'] %>
|
|
5
|
+
#
|
|
6
|
+
|
|
7
|
+
# See ldap.conf(5) for details
|
|
8
|
+
# This file should be world readable but not world writable.
|
|
9
|
+
|
|
10
|
+
BASE <%= node['openldap']['basedn'] %>
|
|
11
|
+
TLS_REQCERT never
|
|
12
|
+
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
|
|
13
|
+
|
|
14
|
+
#SIZELIMIT 12
|
|
15
|
+
#TIMELIMIT 15
|
|
16
|
+
#DEREF never
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#
|
|
2
|
+
# <%= node['openldap']['dir'] %>.conf generated for <%= node['hostname'] %>
|
|
3
|
+
#
|
|
4
|
+
# Managed by Chef
|
|
5
|
+
#
|
|
6
|
+
|
|
7
|
+
host <%= node['openldap']['server'] %>
|
|
8
|
+
port 389
|
|
9
|
+
bind_policy soft
|
|
10
|
+
|
|
11
|
+
ldap_version 3
|
|
12
|
+
|
|
13
|
+
# Where to find data
|
|
14
|
+
base <%= node['openldap']['basedn'] %>
|
|
15
|
+
scope sub
|
|
16
|
+
nss_base_passwd ou=<%= node['openldap']['passwd_ou'] %>,<%= node['openldap']['basedn'] %>
|
|
17
|
+
nss_base_shadow ou=<%= node['openldap']['shadow_ou'] %>,<%= node['openldap']['basedn'] %>
|
|
18
|
+
nss_base_group ou=<%= node['openldap']['group_ou'] %>,<%= node['openldap']['basedn'] %>
|
|
19
|
+
nss_base_automount ou=<%= node['openldap']['automount_ou'] %>,<%= node['openldap']['basedn'] %>
|
|
20
|
+
|
|
21
|
+
<% if node['openldap']['tls_enabled'] -%>
|
|
22
|
+
# TLS Options
|
|
23
|
+
ssl start_tls
|
|
24
|
+
<% if node['openldap']['tls_checkpeer'] -%>
|
|
25
|
+
tls_checkpeer yes
|
|
26
|
+
<% else -%>
|
|
27
|
+
tls_checkpeer no
|
|
28
|
+
<% end -%>
|
|
29
|
+
<% end -%>
|
|
30
|
+
|
|
31
|
+
pam_password <%= node['openldap']['pam_password'] %>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#
|
|
2
|
+
# libnss-ldap.conf generated for <%= node['hostname'] %>
|
|
3
|
+
#
|
|
4
|
+
# Managed by Chef
|
|
5
|
+
#
|
|
6
|
+
# $Id:$
|
|
7
|
+
|
|
8
|
+
host <%= node['openldap']['server'] %>
|
|
9
|
+
port 389
|
|
10
|
+
#bind_policy soft
|
|
11
|
+
nss_reconnect_tries 2
|
|
12
|
+
ldap_version 3
|
|
13
|
+
|
|
14
|
+
# Where to find data
|
|
15
|
+
base <%= node['openldap']['basedn'] %>
|
|
16
|
+
scope sub
|
|
17
|
+
nss_base_passwd ou=people,<%= node['openldap']['basedn'] %>
|
|
18
|
+
nss_base_shadow ou=people,<%= node['openldap']['basedn'] %>
|
|
19
|
+
nss_base_group ou=group,<%= node['openldap']['basedn'] %>
|
|
20
|
+
|
|
21
|
+
# TLS Options
|
|
22
|
+
ssl start_tls
|
|
23
|
+
|
|
24
|
+
<% if node['openldap']['tls_checkpeer'] -%>
|
|
25
|
+
tls_checkpeer yes
|
|
26
|
+
<% else -%>
|
|
27
|
+
tls_checkpeer no
|
|
28
|
+
<% end -%>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#
|
|
2
|
+
# /etc/security/login_access.conf
|
|
3
|
+
#
|
|
4
|
+
# Prepared for <%= node['fqdn'] %> by Chef
|
|
5
|
+
#
|
|
6
|
+
<% logingroup = node['hostname'] -%>
|
|
7
|
+
<% logingroup = node['hostname'].sub(/^(.+?)\d+(.+)$/, '\1-\2-login') -%>
|
|
8
|
+
<% rootgroup = node['hostname'].sub(/^(.+?)\d+(.+)$/, '\1-\2-root') -%>
|
|
9
|
+
|
|
10
|
+
+:root:ALL
|
|
11
|
+
+:admin:ALL
|
|
12
|
+
+:<%= logingroup %>:ALL
|
|
13
|
+
+:<%= rootgroup %>:ALL
|
|
14
|
+
|
|
15
|
+
# Everyone else cannot login
|
|
16
|
+
-:ALL:ALL
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
#####
|
|
2
|
+
#
|
|
3
|
+
# This is a slapd.conf file. See slapd.conf(5) for more info.
|
|
4
|
+
#
|
|
5
|
+
# Generated by Chef for <%= node['fqdn'] %>
|
|
6
|
+
#
|
|
7
|
+
# $Id:$
|
|
8
|
+
####
|
|
9
|
+
|
|
10
|
+
# TLS configuration
|
|
11
|
+
<% if node['openldap']['tls_enabled'] -%>
|
|
12
|
+
TLSCertificateFile <%= node['openldap']['ssl_cert'] %>
|
|
13
|
+
TLSCertificateKeyFile <%= node['openldap']['ssl_key'] %>
|
|
14
|
+
<% if node['openldap']['cafile'] -%>
|
|
15
|
+
TLSCACertificateFile <%= node['openldap']['cafile'] %>
|
|
16
|
+
<% end -%>
|
|
17
|
+
<% end -%>
|
|
18
|
+
|
|
19
|
+
# Schema and objectClass definitions
|
|
20
|
+
include <%= node['openldap']['dir'] %>/schema/core.schema
|
|
21
|
+
include <%= node['openldap']['dir'] %>/schema/cosine.schema
|
|
22
|
+
include <%= node['openldap']['dir'] %>/schema/nis.schema
|
|
23
|
+
include <%= node['openldap']['dir'] %>/schema/inetorgperson.schema
|
|
24
|
+
|
|
25
|
+
# Where the pid file is put. The init.d script
|
|
26
|
+
# will not stop the server if you change this.
|
|
27
|
+
pidfile <%= node['openldap']['run_dir'] %>/slapd.pid
|
|
28
|
+
|
|
29
|
+
# List of arguments that were passed to the server
|
|
30
|
+
argsfile <%= node['openldap']['run_dir'] %>/slapd.args
|
|
31
|
+
|
|
32
|
+
# Read slapd.conf(5) for possible values
|
|
33
|
+
loglevel 0
|
|
34
|
+
|
|
35
|
+
<% unless node['platform'] == "centos" -%>
|
|
36
|
+
# Where the dynamically loaded modules are stored
|
|
37
|
+
modulepath <%= node['openldap']['module_dir'] %>
|
|
38
|
+
moduleload back_hdb
|
|
39
|
+
<% if node['openldap']['slapd_type'] == "master" -%>
|
|
40
|
+
moduleload syncprov
|
|
41
|
+
<% end -%>
|
|
42
|
+
<% end -%>
|
|
43
|
+
|
|
44
|
+
# The maximum number of entries that is returned for a search operation
|
|
45
|
+
sizelimit 500
|
|
46
|
+
|
|
47
|
+
# The tool-threads parameter sets the actual amount of cpu's that is used
|
|
48
|
+
# for indexing.
|
|
49
|
+
tool-threads 1
|
|
50
|
+
|
|
51
|
+
#######################################################################
|
|
52
|
+
# Specific Backend Directives for hdb:
|
|
53
|
+
# Backend specific directives apply to this backend until another
|
|
54
|
+
# 'backend' directive occurs
|
|
55
|
+
backend hdb
|
|
56
|
+
|
|
57
|
+
#####
|
|
58
|
+
# Database
|
|
59
|
+
#####
|
|
60
|
+
database hdb
|
|
61
|
+
suffix "<%= node['openldap']['basedn'] %>"
|
|
62
|
+
rootdn "cn=admin,<%= node['openldap']['basedn'] %>"
|
|
63
|
+
rootpw <%= node['openldap']['rootpw'] %>
|
|
64
|
+
directory "/var/lib/ldap"
|
|
65
|
+
lastmod on
|
|
66
|
+
|
|
67
|
+
dbconfig set_cachesize 0 31457280 0
|
|
68
|
+
|
|
69
|
+
# Number of objects that can be locked at the same time.
|
|
70
|
+
dbconfig set_lk_max_objects 1500
|
|
71
|
+
# Number of locks (both requested and granted)
|
|
72
|
+
dbconfig set_lk_max_locks 1500
|
|
73
|
+
# Number of lockers
|
|
74
|
+
dbconfig set_lk_max_lockers 1500
|
|
75
|
+
|
|
76
|
+
##
|
|
77
|
+
# Indexes
|
|
78
|
+
##
|
|
79
|
+
index default pres,eq,approx,sub
|
|
80
|
+
index objectClass eq
|
|
81
|
+
index cn,ou,sn,uid,l,mail,gecos,memberUid,description
|
|
82
|
+
index loginShell,homeDirectory pres,eq,approx
|
|
83
|
+
index uidNumber,gidNumber pres,eq
|
|
84
|
+
|
|
85
|
+
<% if node['openldap']['slapd_type'] == "master" -%>
|
|
86
|
+
overlay syncprov
|
|
87
|
+
syncprov-checkpoint 100 10
|
|
88
|
+
syncprov-sessionlog 100
|
|
89
|
+
<% end -%>
|
|
90
|
+
<% if node['openldap']['slapd_type'] == "slave" -%>
|
|
91
|
+
syncrepl rid=<%= node['openldap']['slapd_rid'] %>
|
|
92
|
+
provider=ldap://<%= node['openldap']['slapd_master'] %>:389
|
|
93
|
+
type=refreshAndPersist
|
|
94
|
+
interval=01:00:00:00
|
|
95
|
+
searchbase="<%= node['openldap']['basedn'] %>"
|
|
96
|
+
filter="(objectClass=*)"
|
|
97
|
+
scope=sub
|
|
98
|
+
schemachecking=off
|
|
99
|
+
bindmethod=simple
|
|
100
|
+
binddn="cn=syncrole,<%= node['openldap']['basedn'] %>"
|
|
101
|
+
starttls=yes
|
|
102
|
+
credentials="<%= node['openldap']['slapd_replpw'] %>"
|
|
103
|
+
<% end -%>
|
|
104
|
+
# The userPassword by default can be changed
|
|
105
|
+
# by the entry owning it if they are authenticated.
|
|
106
|
+
# Others should not be able to see it, except the
|
|
107
|
+
# admin entry below
|
|
108
|
+
# These access lines apply to database #1 only
|
|
109
|
+
access to attrs=userPassword,shadowLastChange
|
|
110
|
+
by group.exact="cn=administrators,<%= node['openldap']['basedn'] %>" write
|
|
111
|
+
by dn="cn=syncrole,<%= node['openldap']['basedn'] %>" read
|
|
112
|
+
by anonymous auth
|
|
113
|
+
by self write
|
|
114
|
+
by * none
|
|
115
|
+
|
|
116
|
+
# Ensure read access to the base for things like
|
|
117
|
+
# supportedSASLMechanisms. Without this you may
|
|
118
|
+
# have problems with SASL not knowing what
|
|
119
|
+
# mechanisms are available and the like.
|
|
120
|
+
# Note that this is covered by the 'access to *'
|
|
121
|
+
# ACL below too but if you change that as people
|
|
122
|
+
# are wont to do you'll still need this if you
|
|
123
|
+
# want SASL (and possible other things) to work
|
|
124
|
+
# happily.
|
|
125
|
+
access to dn.base="" by * read
|
|
126
|
+
|
|
127
|
+
# The admin dn has full write access, everyone else
|
|
128
|
+
# can read everything.
|
|
129
|
+
access to *
|
|
130
|
+
by group.exact="cn=administrators,<%= node['openldap']['basedn'] %>" write
|
|
131
|
+
by dn="cn=syncrole,<%= node['openldap']['basedn'] %>" read
|
|
132
|
+
by * read
|
data/spec/ldap_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'infrataster/rspec'
|
|
2
|
+
require 'infrataster-plugin-ldap'
|
|
3
|
+
|
|
4
|
+
Infrataster::Server.define(
|
|
5
|
+
:master,
|
|
6
|
+
'192.168.44.21',
|
|
7
|
+
vagrant: true,
|
|
8
|
+
ldap: { username: 'cn=admin,dc=nodomain', password: 'wibble!', basedn: 'dc=nodomain' }
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
RSpec.configure do |config|
|
|
12
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
|
13
|
+
config.run_all_when_everything_filtered = true
|
|
14
|
+
config.filter_run :focus
|
|
15
|
+
|
|
16
|
+
config.order = 'random'
|
|
17
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: infrataster-plugin-ldap
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Paul Thomas
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: infrataster
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.2.0
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.2.0
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: net-ldap
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: bundler
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1.6'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1.6'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rake
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rspec
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: rubocop
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
description:
|
|
98
|
+
email:
|
|
99
|
+
- pthomas@dyn.com
|
|
100
|
+
executables: []
|
|
101
|
+
extensions: []
|
|
102
|
+
extra_rdoc_files: []
|
|
103
|
+
files:
|
|
104
|
+
- ".gitignore"
|
|
105
|
+
- ".rspec"
|
|
106
|
+
- Gemfile
|
|
107
|
+
- LICENSE.txt
|
|
108
|
+
- README.md
|
|
109
|
+
- Rakefile
|
|
110
|
+
- infrataster-plugin-ldap.gemspec
|
|
111
|
+
- lib/infrataster-plugin-ldap.rb
|
|
112
|
+
- lib/infrataster/contexts/ldap_context.rb
|
|
113
|
+
- lib/infrataster/helpers/ldap_resource_helper.rb
|
|
114
|
+
- lib/infrataster/resources/ldap_resource.rb
|
|
115
|
+
- spec/.vagrant/machines/default/virtualbox/action_provision
|
|
116
|
+
- spec/.vagrant/machines/default/virtualbox/action_set_name
|
|
117
|
+
- spec/.vagrant/machines/default/virtualbox/id
|
|
118
|
+
- spec/.vagrant/machines/default/virtualbox/index_uuid
|
|
119
|
+
- spec/.vagrant/machines/default/virtualbox/synced_folders
|
|
120
|
+
- spec/Vagrantfile
|
|
121
|
+
- spec/cookbooks/apt/CHANGELOG.md
|
|
122
|
+
- spec/cookbooks/apt/README.md
|
|
123
|
+
- spec/cookbooks/apt/attributes/default.rb
|
|
124
|
+
- spec/cookbooks/apt/files/default/apt-proxy-v2.conf
|
|
125
|
+
- spec/cookbooks/apt/libraries/helpers.rb
|
|
126
|
+
- spec/cookbooks/apt/libraries/matchers.rb
|
|
127
|
+
- spec/cookbooks/apt/libraries/network.rb
|
|
128
|
+
- spec/cookbooks/apt/metadata.json
|
|
129
|
+
- spec/cookbooks/apt/metadata.rb
|
|
130
|
+
- spec/cookbooks/apt/providers/preference.rb
|
|
131
|
+
- spec/cookbooks/apt/providers/repository.rb
|
|
132
|
+
- spec/cookbooks/apt/recipes/cacher-client.rb
|
|
133
|
+
- spec/cookbooks/apt/recipes/cacher-ng.rb
|
|
134
|
+
- spec/cookbooks/apt/recipes/default.rb
|
|
135
|
+
- spec/cookbooks/apt/recipes/unattended-upgrades.rb
|
|
136
|
+
- spec/cookbooks/apt/resources/preference.rb
|
|
137
|
+
- spec/cookbooks/apt/resources/repository.rb
|
|
138
|
+
- spec/cookbooks/apt/templates/debian-6.0/acng.conf.erb
|
|
139
|
+
- spec/cookbooks/apt/templates/default/01proxy.erb
|
|
140
|
+
- spec/cookbooks/apt/templates/default/20auto-upgrades.erb
|
|
141
|
+
- spec/cookbooks/apt/templates/default/50unattended-upgrades.erb
|
|
142
|
+
- spec/cookbooks/apt/templates/default/acng.conf.erb
|
|
143
|
+
- spec/cookbooks/apt/templates/default/unattended-upgrades.seed.erb
|
|
144
|
+
- spec/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb
|
|
145
|
+
- spec/cookbooks/openldap/CHANGELOG.md
|
|
146
|
+
- spec/cookbooks/openldap/README.md
|
|
147
|
+
- spec/cookbooks/openldap/attributes/default.rb
|
|
148
|
+
- spec/cookbooks/openldap/files/default/common-account
|
|
149
|
+
- spec/cookbooks/openldap/files/default/common-auth
|
|
150
|
+
- spec/cookbooks/openldap/files/default/common-password
|
|
151
|
+
- spec/cookbooks/openldap/files/default/common-session
|
|
152
|
+
- spec/cookbooks/openldap/files/default/nsswitch.conf
|
|
153
|
+
- spec/cookbooks/openldap/files/default/slapd.seed
|
|
154
|
+
- spec/cookbooks/openldap/files/default/test/auth_test.rb
|
|
155
|
+
- spec/cookbooks/openldap/files/default/test/server_test.rb
|
|
156
|
+
- spec/cookbooks/openldap/metadata.json
|
|
157
|
+
- spec/cookbooks/openldap/metadata.rb
|
|
158
|
+
- spec/cookbooks/openldap/recipes/auth.rb
|
|
159
|
+
- spec/cookbooks/openldap/recipes/client.rb
|
|
160
|
+
- spec/cookbooks/openldap/recipes/default.rb
|
|
161
|
+
- spec/cookbooks/openldap/recipes/master.rb
|
|
162
|
+
- spec/cookbooks/openldap/recipes/server.rb
|
|
163
|
+
- spec/cookbooks/openldap/recipes/slave.rb
|
|
164
|
+
- spec/cookbooks/openldap/templates/default/default_slapd.erb
|
|
165
|
+
- spec/cookbooks/openldap/templates/default/ldap-ldap.conf.erb
|
|
166
|
+
- spec/cookbooks/openldap/templates/default/ldap.conf.erb
|
|
167
|
+
- spec/cookbooks/openldap/templates/default/libnss-ldap.conf.erb
|
|
168
|
+
- spec/cookbooks/openldap/templates/default/login_access.conf.erb
|
|
169
|
+
- spec/cookbooks/openldap/templates/default/slapd.conf.erb
|
|
170
|
+
- spec/ldap_spec.rb
|
|
171
|
+
- spec/spec_helper.rb
|
|
172
|
+
homepage: ''
|
|
173
|
+
licenses:
|
|
174
|
+
- MIT
|
|
175
|
+
metadata: {}
|
|
176
|
+
post_install_message:
|
|
177
|
+
rdoc_options: []
|
|
178
|
+
require_paths:
|
|
179
|
+
- lib
|
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
|
+
requirements:
|
|
182
|
+
- - ">="
|
|
183
|
+
- !ruby/object:Gem::Version
|
|
184
|
+
version: '0'
|
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
|
+
requirements:
|
|
187
|
+
- - ">="
|
|
188
|
+
- !ruby/object:Gem::Version
|
|
189
|
+
version: '0'
|
|
190
|
+
requirements: []
|
|
191
|
+
rubyforge_project:
|
|
192
|
+
rubygems_version: 2.2.2
|
|
193
|
+
signing_key:
|
|
194
|
+
specification_version: 4
|
|
195
|
+
summary: LDAP plugin for Infrataster
|
|
196
|
+
test_files:
|
|
197
|
+
- spec/.vagrant/machines/default/virtualbox/action_provision
|
|
198
|
+
- spec/.vagrant/machines/default/virtualbox/action_set_name
|
|
199
|
+
- spec/.vagrant/machines/default/virtualbox/id
|
|
200
|
+
- spec/.vagrant/machines/default/virtualbox/index_uuid
|
|
201
|
+
- spec/.vagrant/machines/default/virtualbox/synced_folders
|
|
202
|
+
- spec/Vagrantfile
|
|
203
|
+
- spec/cookbooks/apt/CHANGELOG.md
|
|
204
|
+
- spec/cookbooks/apt/README.md
|
|
205
|
+
- spec/cookbooks/apt/attributes/default.rb
|
|
206
|
+
- spec/cookbooks/apt/files/default/apt-proxy-v2.conf
|
|
207
|
+
- spec/cookbooks/apt/libraries/helpers.rb
|
|
208
|
+
- spec/cookbooks/apt/libraries/matchers.rb
|
|
209
|
+
- spec/cookbooks/apt/libraries/network.rb
|
|
210
|
+
- spec/cookbooks/apt/metadata.json
|
|
211
|
+
- spec/cookbooks/apt/metadata.rb
|
|
212
|
+
- spec/cookbooks/apt/providers/preference.rb
|
|
213
|
+
- spec/cookbooks/apt/providers/repository.rb
|
|
214
|
+
- spec/cookbooks/apt/recipes/cacher-client.rb
|
|
215
|
+
- spec/cookbooks/apt/recipes/cacher-ng.rb
|
|
216
|
+
- spec/cookbooks/apt/recipes/default.rb
|
|
217
|
+
- spec/cookbooks/apt/recipes/unattended-upgrades.rb
|
|
218
|
+
- spec/cookbooks/apt/resources/preference.rb
|
|
219
|
+
- spec/cookbooks/apt/resources/repository.rb
|
|
220
|
+
- spec/cookbooks/apt/templates/debian-6.0/acng.conf.erb
|
|
221
|
+
- spec/cookbooks/apt/templates/default/01proxy.erb
|
|
222
|
+
- spec/cookbooks/apt/templates/default/20auto-upgrades.erb
|
|
223
|
+
- spec/cookbooks/apt/templates/default/50unattended-upgrades.erb
|
|
224
|
+
- spec/cookbooks/apt/templates/default/acng.conf.erb
|
|
225
|
+
- spec/cookbooks/apt/templates/default/unattended-upgrades.seed.erb
|
|
226
|
+
- spec/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb
|
|
227
|
+
- spec/cookbooks/openldap/CHANGELOG.md
|
|
228
|
+
- spec/cookbooks/openldap/README.md
|
|
229
|
+
- spec/cookbooks/openldap/attributes/default.rb
|
|
230
|
+
- spec/cookbooks/openldap/files/default/common-account
|
|
231
|
+
- spec/cookbooks/openldap/files/default/common-auth
|
|
232
|
+
- spec/cookbooks/openldap/files/default/common-password
|
|
233
|
+
- spec/cookbooks/openldap/files/default/common-session
|
|
234
|
+
- spec/cookbooks/openldap/files/default/nsswitch.conf
|
|
235
|
+
- spec/cookbooks/openldap/files/default/slapd.seed
|
|
236
|
+
- spec/cookbooks/openldap/files/default/test/auth_test.rb
|
|
237
|
+
- spec/cookbooks/openldap/files/default/test/server_test.rb
|
|
238
|
+
- spec/cookbooks/openldap/metadata.json
|
|
239
|
+
- spec/cookbooks/openldap/metadata.rb
|
|
240
|
+
- spec/cookbooks/openldap/recipes/auth.rb
|
|
241
|
+
- spec/cookbooks/openldap/recipes/client.rb
|
|
242
|
+
- spec/cookbooks/openldap/recipes/default.rb
|
|
243
|
+
- spec/cookbooks/openldap/recipes/master.rb
|
|
244
|
+
- spec/cookbooks/openldap/recipes/server.rb
|
|
245
|
+
- spec/cookbooks/openldap/recipes/slave.rb
|
|
246
|
+
- spec/cookbooks/openldap/templates/default/default_slapd.erb
|
|
247
|
+
- spec/cookbooks/openldap/templates/default/ldap-ldap.conf.erb
|
|
248
|
+
- spec/cookbooks/openldap/templates/default/ldap.conf.erb
|
|
249
|
+
- spec/cookbooks/openldap/templates/default/libnss-ldap.conf.erb
|
|
250
|
+
- spec/cookbooks/openldap/templates/default/login_access.conf.erb
|
|
251
|
+
- spec/cookbooks/openldap/templates/default/slapd.conf.erb
|
|
252
|
+
- spec/ldap_spec.rb
|
|
253
|
+
- spec/spec_helper.rb
|