f57f609f84
We are currently on version 0.1.7 of the Wildfly puppet module. The latest tagged release is 0.2.1. Since we aren't using wildfly elsewhere at the moment, upgrade the module. (See related commit Ia144b9c716a82e8152a7962124f4184cdfe7dccd) The new wildfly puppet module has removed the "--no-check-certificate" flag, so we need to change the download location for wildfly so we can continue to use https (the previous URL had certificate issues). Also fix a dependency issue that didn't get caught until I tested this change more. Change-Id: I9f38b9425696ba9f955f9719f64992314316e83e
34 lines
1.1 KiB
Puppet
34 lines
1.1 KiB
Puppet
# Copyright 2014 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
# == Class: zanata::wildfly
|
|
#
|
|
class zanata::wildfly(
|
|
$wildfly_version = '8.1.0',
|
|
$wildfly_install_source = 'https://repo1.maven.org/maven2/org/wildfly/wildfly-dist/8.1.0.Final/wildfly-dist-8.1.0.Final.tar.gz',
|
|
) {
|
|
|
|
package { 'openjdk-7-jre-headless':
|
|
ensure => present,
|
|
}
|
|
|
|
class { '::wildfly':
|
|
version => $wildfly_version,
|
|
install_source => $wildfly_install_source,
|
|
config => 'standalone.xml',
|
|
java_home => '/usr/lib/jvm/java-7-openjdk-amd64/jre/',
|
|
require => Package['openjdk-7-jre-headless'],
|
|
}
|
|
}
|