Skip to content

Create define for patching JBoss/WildFly #86

@cardil

Description

@cardil

Design

There should be a define that could patch and rollback JBoss and WildFly with Red Hat provided ZIP patches via HTTP/S or local files.

Examples:

Apply with HTTP downloading

jboss::patch { 'jboss-eap-6.4.8':
  ensure  => 'applied', # supporting also present, absent, rollbacked
  uri     => 'https://proxy.localdomain/redhat/jboss-eap/patches/6.4/jboss-eap-6.4.8-patch.zip',
  product => 'jboss-eap',
  version => '6.4.8',
}

Apply with local file

jboss::patch { 'jboss-eap-6.4.8':
  ensure => 'applied',
  uri    => 'file:///usr/src/jboss-eap-6.4.8-patch.zip',
}

Apply with puppet://

jboss::patch { 'jboss-eap-6.4.8':
  ensure => 'applied',
  uri    => 'puppet:///module/appserver/patches/jboss-eap-6.4.8-patch.zip',
}

Rollback specific version

jboss::patch { 'jboss-eap-6.4.8':
  ensure  => 'rollbacked',
  product => 'jboss-eap',
  version => '6.4.8',
}

Scope of change

  1. New manifest
  2. New backing type and provider
  3. Unit tests with rspec for backing type and provider Ruby code
  4. Integration tests with puppet-rspec for manifest
  5. Acceptance tests with beaker
  6. Documentation on README.md
  7. Documentation on Wiki GH pages

More info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions