Revision 2a616445
Added by Justin Sherrill almost 10 years ago
modules/foreman_proxy/manifests/params.pp | ||
---|---|---|
# if set to true, no repo will be added by this module, letting you to
|
||
# set it to some custom location.
|
||
$custom_repo = false
|
||
$version = 'present'
|
||
|
||
# variables
|
||
$port = '8443'
|
||
... | ... | |
# Add a file to /etc/sudoers.d (true) or uses augeas (false)
|
||
case $::operatingsystem {
|
||
redhat,centos,Scientific: {
|
||
if $::operatingsystemrelease >= 6 {
|
||
if versioncmp($::operatingsystemrelease, '6.0') >= 0 {
|
||
$use_sudoersd = true
|
||
} else {
|
||
$use_sudoersd = false
|
||
... | ... | |
}
|
||
}
|
||
|
||
# puppet settings
|
||
$puppet_url = "https://${::fqdn}:8140"
|
||
$puppet_use_environment_api = undef
|
||
|
||
# puppetca settings
|
||
$puppetca = true
|
||
$autosign_location = '/etc/puppet/autosign.conf'
|
||
... | ... | |
Debian => 'ruby-apipie-bindings',
|
||
default => 'rubygem-apipie-bindings',
|
||
}
|
||
|
||
case $::osfamily {
|
||
'RedHat': {
|
||
$plugin_prefix = 'rubygem-smart_proxy_'
|
||
}
|
||
'Debian': {
|
||
$plugin_prefix = 'ruby-smart-proxy-'
|
||
}
|
||
default: {
|
||
$plugin_prefix = 'smart_proxy_'
|
||
}
|
||
}
|
||
}
|
Also available in: Unified diff
Refs #5029 - specify inital org and location