Giter Club home page Giter Club logo

Comments (3)

bjwschaap avatar bjwschaap commented on September 2, 2024

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.

bjwschaap avatar bjwschaap commented on September 2, 2024

The 'fix' for issue #97 breaks recursive resources....

from puppet-wildfly.

bjwschaap avatar bjwschaap commented on September 2, 2024

Thanks @jairojunior !

from puppet-wildfly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.