-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #105: regenerate resources for JBoss EAP 6.4.6
- Loading branch information
Showing
35 changed files
with
1,132 additions
and
43,544 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# == Defines jboss_admin::authentication_kerberos | ||
# | ||
# Configuration to use Kerberos to authenticate the users. | ||
# | ||
# === Parameters | ||
# | ||
# [*remove_realm*] | ||
# After authentication should the realm name be stripped from the users name. | ||
# | ||
# | ||
define jboss_admin::resource::authentication_kerberos ( | ||
$server, | ||
$remove_realm = undef, | ||
$ensure = present, | ||
$cli_path = $name, | ||
) { | ||
if $ensure == present { | ||
if $remove_realm != undef and $remove_realm != undefined { | ||
validate_bool($remove_realm) | ||
} | ||
|
||
$raw_options = { | ||
'remove-realm' => $remove_realm, | ||
} | ||
$options = delete_undef_values($raw_options) | ||
|
||
jboss_resource { $name: | ||
address => $cli_path, | ||
ensure => $ensure, | ||
server => $server, | ||
options => $options | ||
} | ||
} | ||
|
||
if $ensure == absent { | ||
jboss_resource { $cli_path: | ||
ensure => $ensure, | ||
server => $server | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# == Defines jboss_admin::cache_by_access_time | ||
# | ||
# A cache to hold the results of previous LDAP interactions. | ||
# | ||
# === Parameters | ||
# | ||
# [*cache_failures*] | ||
# Should failures be cached? | ||
# | ||
# [*cache_size*] | ||
# The current size of the cache. | ||
# | ||
# [*eviction_time*] | ||
# The time in seconds until an entry should be evicted from the cache. | ||
# | ||
# [*max_cache_size*] | ||
# The maximum size of the cache before the oldest items are removed to make room for new entries. | ||
# | ||
# | ||
define jboss_admin::resource::cache_by_access_time ( | ||
$server, | ||
$cache_failures = undef, | ||
$cache_size = undef, | ||
$eviction_time = undef, | ||
$max_cache_size = undef, | ||
$ensure = present, | ||
$cli_path = $name, | ||
) { | ||
if $ensure == present { | ||
if $cache_failures != undef and $cache_failures != undefined { | ||
validate_bool($cache_failures) | ||
} | ||
if $cache_size != undef and $cache_size != undefined and !is_integer($cache_size) { | ||
fail('The attribute cache_size is not an integer') | ||
} | ||
if $eviction_time != undef and $eviction_time != undefined and !is_integer($eviction_time) { | ||
fail('The attribute eviction_time is not an integer') | ||
} | ||
if $max_cache_size != undef and $max_cache_size != undefined and !is_integer($max_cache_size) { | ||
fail('The attribute max_cache_size is not an integer') | ||
} | ||
|
||
$raw_options = { | ||
'cache-failures' => $cache_failures, | ||
'cache-size' => $cache_size, | ||
'eviction-time' => $eviction_time, | ||
'max-cache-size' => $max_cache_size, | ||
} | ||
$options = delete_undef_values($raw_options) | ||
|
||
jboss_resource { $name: | ||
address => $cli_path, | ||
ensure => $ensure, | ||
server => $server, | ||
options => $options | ||
} | ||
} | ||
|
||
if $ensure == absent { | ||
jboss_resource { $cli_path: | ||
ensure => $ensure, | ||
server => $server | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# == Defines jboss_admin::cache_by_search_time | ||
# | ||
# A cache to hold the results of previous LDAP interactions. | ||
# | ||
# === Parameters | ||
# | ||
# [*cache_failures*] | ||
# Should failures be cached? | ||
# | ||
# [*cache_size*] | ||
# The current size of the cache. | ||
# | ||
# [*eviction_time*] | ||
# The time in seconds until an entry should be evicted from the cache. | ||
# | ||
# [*max_cache_size*] | ||
# The maximum size of the cache before the oldest items are removed to make room for new entries. | ||
# | ||
# | ||
define jboss_admin::resource::cache_by_search_time ( | ||
$server, | ||
$cache_failures = undef, | ||
$cache_size = undef, | ||
$eviction_time = undef, | ||
$max_cache_size = undef, | ||
$ensure = present, | ||
$cli_path = $name, | ||
) { | ||
if $ensure == present { | ||
if $cache_failures != undef and $cache_failures != undefined { | ||
validate_bool($cache_failures) | ||
} | ||
if $cache_size != undef and $cache_size != undefined and !is_integer($cache_size) { | ||
fail('The attribute cache_size is not an integer') | ||
} | ||
if $eviction_time != undef and $eviction_time != undefined and !is_integer($eviction_time) { | ||
fail('The attribute eviction_time is not an integer') | ||
} | ||
if $max_cache_size != undef and $max_cache_size != undefined and !is_integer($max_cache_size) { | ||
fail('The attribute max_cache_size is not an integer') | ||
} | ||
|
||
$raw_options = { | ||
'cache-failures' => $cache_failures, | ||
'cache-size' => $cache_size, | ||
'eviction-time' => $eviction_time, | ||
'max-cache-size' => $max_cache_size, | ||
} | ||
$options = delete_undef_values($raw_options) | ||
|
||
jboss_resource { $name: | ||
address => $cli_path, | ||
ensure => $ensure, | ||
server => $server, | ||
options => $options | ||
} | ||
} | ||
|
||
if $ensure == absent { | ||
jboss_resource { $cli_path: | ||
ensure => $ensure, | ||
server => $server | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.