Giter Club home page Giter Club logo

Comments (7)

jairojunior avatar jairojunior commented on July 28, 2024

TODO: Map differences between versions.

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

Domain mode support will be easier with properties support introduce by #154.

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

What I'd like to see:

Domain Controller

class { 'wildfly':
  mode        => 'domain',
  host_config => 'host-master.xml'
}

wildfly::config::mgmt_user { 'slave1':
  password => 'wildfly',
}

wildfly::domain::server_group { 'my-server-group':
  profile => 'full',
}

Slaves

class { 'wildfly':
  mode        => 'domain',
  host_config => 'host-slave.xml',
  secret_value => 'd2lsZGZseQ==',
  properties  => {
    'jboss.domain.master.address' => '172.17.0.2', 
  }
}

wildfly::domain::server { 'server-one':
  group => 'my-server-group',
}

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

Funny fact: It works with wrong secret. 🤔

TODO: Investigate this with tcpdump. Send e-mail to wildfly list.

Use wildfly::domain namespace since wildfly is crowded 😄

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

Secret value is not an issue, they even removed it from recent docs: http://developers.redhat.com/blog/2016/07/28/jboss-eap-7-domain-deployments-part-1-setup-a-simple-eap-domain/

Will build wildfly::domain::server and wildfly::domain::server_group. Test it (#153), and it's done. 😄

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

This behavior is not consistent. Need at least a define to manage secret value.

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

Basic domain-slave is working consistently across different versions, but still need to remove default server-group and server configuration:

Domain controllers:

wildfly::resource { ['/server-group=main-server-group', '/server-group=other-server-group'] :
  ensure => absent,
}

Slaves:

wildlfy::resource { ['/host=slave1/server-config=server-one', '/host=slave1/server-config=server-two']:
  ensure => absent,
}

NOTE: Useful snippet.

widlfly::cli { '/host=slave1/server-config=server-one:stop()':
  onlyif => '(result == STARTED) of /host=slave1/server-config=server-one:read-attribute(name=status)'
}

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.