Revision a715490c
Added by Nick George over 7 years ago
manifests/server.pp | ||
---|---|---|
#
|
||
# $autosign_mode:: mode of the autosign file/script
|
||
#
|
||
# $autosign_content:: If set, write the autosign file content
|
||
# using the value of this parameter.
|
||
# Cannot be used at the same time as autosign_entries
|
||
# For example, could be a string, or
|
||
# file('another_module/autosign.sh') or
|
||
# template('another_module/autosign.sh.erb')
|
||
# type:Optional[String]
|
||
#
|
||
# $hiera_config:: The hiera configuration file.
|
||
# type:string
|
||
#
|
||
... | ... | |
$autosign = $::puppet::autosign,
|
||
$autosign_entries = $::puppet::autosign_entries,
|
||
$autosign_mode = $::puppet::autosign_mode,
|
||
$autosign_content = $::puppet::autosign_content,
|
||
$hiera_config = $::puppet::hiera_config,
|
||
$admin_api_whitelist = $::puppet::server_admin_api_whitelist,
|
||
$user = $::puppet::server_user,
|
||
... | ... | |
validate_array($autosign_entries)
|
||
}
|
||
|
||
if $autosign_content {
|
||
validate_string($autosign_content)
|
||
}
|
||
|
||
validate_array($rack_arguments)
|
||
|
||
validate_re($implementation, '^(master|puppetserver)$')
|
Also available in: Unified diff
allow to supply content for the autosign file
closes GH-413
closes GH-416