Skip to content

Commit 8efef3f

Browse files
committed
Release v12.0.0
1 parent 1e252e5 commit 8efef3f

File tree

3 files changed

+51
-29
lines changed

3 files changed

+51
-29
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v12.0.0](https://github.com/treydock/puppet-module-keycloak/tree/v12.0.0) (2024-07-12)
6+
7+
[Full Changelog](https://github.com/treydock/puppet-module-keycloak/compare/v11.2.0...v12.0.0)
8+
9+
### Changed
10+
11+
- BREAKING: Support Keycloak 25 [\#316](https://github.com/treydock/puppet-module-keycloak/pull/316) ([treydock](https://github.com/treydock))
12+
- Implement webauthn extra origins & Raise KeyCloak version to 24.0.5 in acceptance tests [\#313](https://github.com/treydock/puppet-module-keycloak/pull/313) ([TuningYourCode](https://github.com/TuningYourCode))
13+
14+
### Added
15+
16+
- Implement password policy property [\#315](https://github.com/treydock/puppet-module-keycloak/pull/315) ([TuningYourCode](https://github.com/TuningYourCode))
17+
518
## [v11.2.0](https://github.com/treydock/puppet-module-keycloak/tree/v11.2.0) (2024-06-19)
619

720
[Full Changelog](https://github.com/treydock/puppet-module-keycloak/compare/v11.1.1...v11.2.0)

REFERENCE.md

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Data type: `String`
185185

186186
Version of Keycloak to install and manage.
187187

188-
Default value: `'22.0.0'`
188+
Default value: `'25.0.1'`
189189

190190
##### <a name="-keycloak--package_url"></a>`package_url`
191191

@@ -230,7 +230,7 @@ Data type: `String[1]`
230230

231231
Java package name, only used when `java_declare_method` is `class`
232232

233-
Default value: `'java-17-openjdk-devel'`
233+
Default value: `'java-21-openjdk-devel'`
234234

235235
##### <a name="-keycloak--java_home"></a>`java_home`
236236

@@ -239,23 +239,23 @@ Data type: `Stdlib::Absolutepath`
239239
Java home path. This value is used when `java_declare_method` is `class`
240240
as well as to set JAVA_HOME environment variable for the Keycloak service.
241241

242-
Default value: `'/usr/lib/jvm/java-17-openjdk'`
242+
Default value: `'/usr/lib/jvm/java-21-openjdk'`
243243

244244
##### <a name="-keycloak--java_alternative_path"></a>`java_alternative_path`
245245

246246
Data type: `Stdlib::Absolutepath`
247247

248248
Java alternative path, only used when `java_declare_method` is `class`
249249

250-
Default value: `'/usr/lib/jvm/java-17-openjdk/bin/java'`
250+
Default value: `'/usr/lib/jvm/java-21-openjdk/bin/java'`
251251

252252
##### <a name="-keycloak--java_alternative"></a>`java_alternative`
253253

254254
Data type: `String[1]`
255255

256256
Java alternative, only used when `java_declare_method` is `class`
257257

258-
Default value: `'/usr/lib/jvm/java-17-openjdk/bin/java'`
258+
Default value: `'/usr/lib/jvm/java-21-openjdk/bin/java'`
259259

260260
##### <a name="-keycloak--service_name"></a>`service_name`
261261

@@ -358,7 +358,7 @@ Default value: `{}`
358358

359359
##### <a name="-keycloak--hostname"></a>`hostname`
360360

361-
Data type: `Variant[Stdlib::Host, Enum['unset','UNSET']]`
361+
Data type: `Variant[Stdlib::Host, Stdlib::HTTPUrl, Stdlib::HTTPSUrl, Enum['unset','UNSET']]`
362362

363363
hostname to set in keycloak.conf
364364
Set to `unset` or `UNSET` to not define this in keycloak.conf
@@ -1729,8 +1729,6 @@ Default value: `true`
17291729

17301730
webOrigins
17311731

1732-
Default value: `[]`
1733-
17341732
#### Parameters
17351733

17361734
The following parameters are available in the `keycloak_client` type.
@@ -2081,8 +2079,8 @@ Manage a Keycloak flow
20812079
**Autorequires**
20822080
* `keycloak_realm` defined for `realm` parameter
20832081
* `keycloak_flow` of `flow_alias` if `top_level=false`
2084-
* `keycloak_flow` of `flow_alias` if other `index` is lower and if `top_level=false`
2085-
* `keycloak_flow_execution` if `flow_alias` is the same and other `index` is lower and if `top_level=false`
2082+
* `keycloak_flow` of `flow_alias` if other `priority` is lower and if `top_level=false`
2083+
* `keycloak_flow_execution` if `flow_alias` is the same and other `priority` is lower and if `top_level=false`
20862084

20872085
#### Examples
20882086

@@ -2100,7 +2098,7 @@ keycloak_flow { 'browser-with-duo':
21002098
```puppet
21012099
keycloak_flow { 'form-browser-with-duo under browser-with-duo on test':
21022100
ensure => 'present',
2103-
index => 2,
2101+
priority => 20,
21042102
requirement => 'ALTERNATIVE',
21052103
top_level => false,
21062104
}
@@ -2122,9 +2120,9 @@ The basic property that the resource should be in.
21222120

21232121
Default value: `present`
21242122

2125-
##### `index`
2123+
##### `priority`
21262124

2127-
execution index, only applied to top_level=false, required for top_level=false
2125+
execution priority, only applied to top_level=false, required for top_level=false
21282126

21292127
##### `requirement`
21302128

@@ -2200,8 +2198,8 @@ Manage a Keycloak flow
22002198
**Autorequires**
22012199
* `keycloak_realm` defined for `realm` parameter
22022200
* `keycloak_flow` of value defined for `flow_alias`
2203-
* `keycloak_flow` if they share same `flow_alias` value and the other resource `index` is lower
2204-
* `keycloak_flow_execution` if `flow_alias` is the same and other `index` is lower
2201+
* `keycloak_flow` if they share same `flow_alias` value and the other resource `priority` is lower
2202+
* `keycloak_flow_execution` if `flow_alias` is the same and other `priority` is lower
22052203

22062204
#### Examples
22072205

@@ -2212,7 +2210,7 @@ keycloak_flow_execution { 'auth-cookie under browser-with-duo on test':
22122210
ensure => 'present',
22132211
configurable => false,
22142212
display_name => 'Cookie',
2215-
index => 0,
2213+
priority => 10,
22162214
requirement => 'ALTERNATIVE',
22172215
}
22182216
```
@@ -2224,7 +2222,7 @@ keycloak_flow_execution { 'auth-username-password-form under form-browser-with-d
22242222
ensure => 'present',
22252223
configurable => false,
22262224
display_name => 'Username Password Form',
2227-
index => 0,
2225+
priority => 10,
22282226
requirement => 'REQUIRED',
22292227
}
22302228
```
@@ -2245,7 +2243,7 @@ keycloak_flow_execution { 'duo-mfa-authenticator under form-browser-with-duo on
22452243
"duomfa.groups" => "duo"
22462244
},
22472245
requirement => 'REQUIRED',
2248-
index => 1,
2246+
priority => 20,
22492247
}
22502248
```
22512249

@@ -2271,9 +2269,9 @@ The basic property that the resource should be in.
22712269

22722270
Default value: `present`
22732271

2274-
##### `index`
2272+
##### `priority`
22752273

2276-
execution index
2274+
execution priority
22772275

22782276
##### `requirement`
22792277

@@ -3497,6 +3495,10 @@ otpPolicyType
34973495

34983496
Default value: `totp`
34993497

3498+
##### `password_policy`
3499+
3500+
passwordPolicy
3501+
35003502
##### `permanent_lockout`
35013503

35023504
Valid values: `true`, `false`
@@ -3693,6 +3695,12 @@ webAuthnPolicyCreateTimeout
36933695

36943696
Default value: `0`
36953697

3698+
##### `web_authn_policy_extra_origins`
3699+
3700+
webAuthnPolicyExtraOrigins
3701+
3702+
Default value: `[]`
3703+
36963704
##### `web_authn_policy_passwordless_acceptable_aaguids`
36973705

36983706
webAuthnPolicyPasswordlessAcceptableAaguids
@@ -3729,6 +3737,12 @@ webAuthnPolicyPasswordlessCreateTimeout
37293737

37303738
Default value: `0`
37313739

3740+
##### `web_authn_policy_passwordless_extra_origins`
3741+
3742+
webAuthnPolicyPasswordlessExtraOrigins
3743+
3744+
Default value: `[]`
3745+
37323746
##### `web_authn_policy_passwordless_require_resident_key`
37333747

37343748
Valid values: `No`, `Yes`, `not specified`
@@ -4190,16 +4204,11 @@ Struct[{
41904204
Optional['transaction-xa-enabled'] => Boolean,
41914205
Optional['features'] => Array[String[1]],
41924206
Optional['features-disabled'] => Array[String[1]],
4193-
Optional['hostname'] => Stdlib::Host,
4194-
Optional['hostname-admin'] => Stdlib::Host,
4195-
Optional['hostname-admin-url'] => String[1],
4207+
Optional['hostname'] => Variant[Stdlib::Host, Stdlib::HTTPUrl, Stdlib::HTTPSUrl],
4208+
Optional['hostname-admin'] => Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl],
4209+
Optional['hostname-backchannel-dynamic'] => Boolean,
41964210
Optional['hostname-debug'] => Boolean,
4197-
Optional['hostname-path'] => String[1],
4198-
Optional['hostname-port'] => Stdlib::Port,
41994211
Optional['hostname-strict'] => Boolean,
4200-
Optional['hostname-strict-backchannel'] => Boolean,
4201-
Optional['hostname-strict-https'] => Boolean,
4202-
Optional['hostname-url'] => String[1],
42034212
Optional['http-enabled'] => Boolean,
42044213
Optional['http-host'] => Stdlib::Host,
42054214
Optional['http-max-queued-requests'] => Integer,

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "treydock-keycloak",
3-
"version": "11.2.0",
3+
"version": "12.0.0",
44
"author": "treydock",
55
"summary": "Keycloak Puppet module",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)