Skip to content
Snippets Groups Projects
Commit 622b6ca2 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

remove repository parameter

parent b5290f62
No related branches found
No related tags found
Loading
......@@ -7,12 +7,6 @@
# It can also be one of the stanford special ones, e.g.,
# "stretch-acs-dev", "stretch-acs-prod", etc.
#
# $repository: If the package is found in a non-standard location,
# you can indicate the repository here. Note that the repositories
# - http://debian.stanford.edu/debian-local
# - http://debian.stanford.edu/debian-stanford
# should already be convered and are considerd standard locations.
#
# #########
# Example 1
#
......@@ -33,22 +27,13 @@
# This will install the OpenLDAP packages from the special stretch-acs-dev
# distribution that resides in the "stanford" repository.
class su_ldap::openldap_install (
$distribution = undef,
$repository = undef,
) {
# Only need to do something if $distribution is defined.
if ($distribution) {
# If $repository is defined, we need to add a file in
# /etc/apt/sources.list.d.
if ($repository) {
file { '/etc/apt/sources.list.d/ldap.list':
content => template('su_ldap/etc/apt/sources.list.d/ldap.erb')
}
}
# Pin some OpenLDAP packages.
file { '/etc/apt/preferences.d/ldap':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment