Comments (3)
I observed that the insync?
method in lib/puppet/type/wildfly_resource.rb
doesn't sort nested hashes correctly:
should:
["[\"connection\", \"MyOrgLDAPRealm-LDAPConnection\"]", "[\"group-search\", {\"group-to-principal\"=>{\"group-name\"=>\"SIMPLE\", \"group-name-attribute\"=>\"cn\", \"group-dn-attribute\"=>\"dn\", \"base-dn\"=>\"cn=gebruikersgroepen,ou=diensten,o=MyOrg,c=nl\", \"search-by\"=>\"DISTINGUISHED_NAME\", \"principal-attribute\"=>\"member\", \"recursive\"=>true, \"iterative\"=>false, \"prefer-original-connection\"=>true, \"cache\"=>{\"by-access-time\"=>{\"max-cache-size\"=>\"1000\", \"eviction-time\"=>\"900\", \"cache-failures\"=>false}}}}]", "[\"username-to-dn\", {\"username-filter\"=>{\"base-dn\"=>\"cn=users,ou=diensten,o=MyOrg,c=nl\", \"attribute\"=>\"uid\", \"user-dn-attribute\"=>\"dn\", \"force\"=>false, \"recursive\"=>false, \"cache\"=>{\"by-access-time\"=>{\"max-cache-size\"=>\"1000\", \"eviction-time\"=>\"900\", \"cache-failures\"=>false}}}}]"]
Is:
["[\"connection\", \"MyOrgLDAPRealm-LDAPConnection\"]", "[\"group-search\", {\"group-to-principal\"=>{\"base-dn\"=>\"cn=gebruikersgroepen,ou=diensten,o=MyOrg,c=nl\", \"group-dn-attribute\"=>\"dn\", \"group-name\"=>\"SIMPLE\", \"group-name-attribute\"=>\"cn\", \"iterative\"=>false, \"prefer-original-connection\"=>true, \"principal-attribute\"=>\"member\", \"recursive\"=>true, \"search-by\"=>\"DISTINGUISHED_NAME\", \"cache\"=>{\"by-access-time\"=>{\"cache-failures\"=>false, \"eviction-time\"=>900, \"max-cache-size\"=>1000}}}}]", "[\"username-to-dn\", {\"username-filter\"=>{\"attribute\"=>\"uid\", \"base-dn\"=>\"cn=users,ou=diensten,o=MyOrg,c=nl\", \"force\"=>false, \"recursive\"=>false, \"user-dn-attribute\"=>\"dn\", \"cache\"=>{\"by-access-time\"=>{\"cache-failures\"=>false, \"eviction-time\"=>900, \"max-cache-size\"=>1000}}}}]"]
from puppet-wildfly.
The 'fix' for issue #97 breaks recursive resources....
from puppet-wildfly.
Thanks @jairojunior !
from puppet-wildfly.
Related Issues (20)
- Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir HOT 2
- JBOSS-EAP with **systemctl start jboss-eap** don't works from another machine just locally HOT 1
- where the log file is stored on Puppet Agent by this module HOT 1
- on SUSE Linux /etc/init.d/jboss-eap: line 13: /etc/init.d/functions: No such file or directory HOT 1
- wildfly_restart functionality issues
- how to install und build multiple standalone instances in the same machine
- Need a way to install module with multiple jar files as source HOT 1
- Transfer this module to voxpupuli HOT 22
- wildfly::jgroups::stack::tcpping fails with "No resource definition" HOT 1
- Update test environment for Ruby 3, Puppet 7, and related Gems HOT 1
- Add parameters to domain.conf variables PROCESS_CONTROLLER_JAVA_OPTS and HOST_CONTROLLER_JAVA_OPTS
- Replace MaxPermSize with MaxMetaspaceSize in domain.conf template HOT 1
- `wildfly::host::server_config` with `ensure => absent` in already absent server tries to stop it and fails with timeout
- Include support for CLI API for actions currently performed via HTTP API HOT 2
- Multiple calls to defined type wildfly::host::server_config cause "Duplicate resource" error HOT 3
- class wildfly::setup hardcodes subsystem when setting up remote user HOT 2
- Installer download fails because install_cache_dir doesn't exist
- Module configures service only as sysvinit, regardless of actual init system, when $version < 10 HOT 1
- Update Wildfly download URL for version >= 25
- Support for Wildfly 31.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-wildfly.