A release that introduced the module to the PDK through conversion. Also a dependancy bump on the archive module along with a small fix.
- puppet/archive compatibility version bumped from 2.0.0 to 3.0.0.
- Module is now converted with PDK 1.3.2.
- (MODULES-6626) Fixed the generated shell when using addto.
Supported Release 2.2.0
A clean release made in order to Rubocop the module.
- Gemfile updates.
- Module sync updates.
- All ruby files altered to match the current rubocop standards.
- Flexibility added to directory management in tomcat::instance.
- flexibility added to copy_from_home.
- Can now set status_command.
- Spaces now accounted for in context elements.
- tomcat::war now copies the war as root user and not as tomcat.
- Syntax error in $addto parameter in tomcat::setenv::entry fixed.
- Test fix for Tomcat 8.
- Fix added to the travis/sync file via modulesync.
- Unsupported Debian 6.
Supported Release 2.1.0
Addition of user and group to tomcat war file, along with a couple of docs updates and some old Ubuntu support dropped.
- User/group to tomcat war file.
- Update to README around SSL configuration.
- A couple of other simple readme fixes.
- Lint warnings.
- Unsupported versions of Ubuntu 10.04, 12.04.
Supported Release 2.0.0
This major release drops puppet 3, changes dependencies from staging to archive, and adds various "real world" configuration abilities.
- Dependency puppet-staging (which is deprecated) removed in favor of puppet-archive
- Dropped compatibility with puppet 3.x series
- Remove
true
/false
as valid values for all ensure attributes as they are ambiguous.
- Deprecated
tomcat::setenv::entry
attributebase_path
. Useconfig_file
instead. - Base
tomcat
classinstall_from_source
parameter now does nothing. Usetomcat::install
attributeinstall_from_source
directly instead. - No longer testing tomcat 6 as it is EOL and removed from the mirrors.
tomcat::install
attributeenvironment
previously used for proxy settings. Useproxy_server
andproxy_type
instead.
tomcat::instance
define parametersinstall_from_source
,source_url
,source_strip_first_dir
,package_ensure
,package_name
, andpackage_options
have been unofficially deprecated since 1.5.0 and are now formally deprecated. Please usetomcat::install
instead and point anytomcat::instance::catalina_home
there. See the readme for further examples.
- Compatibility with puppet 5.x series
- Puppet 4.x data type parameter validation.
tomcat::config::server::realm
Can manage multiple realms of identical class names.tomcat::config::server::tomcat_users
Can be declared multiple times for the same element name.tomcat::config::context::value
defined type.tomcat::install
attributesproxy_server
andproxy_type
for installing behind a proxy.tomcat::install
attributeallow_insecure
for disabling https verification.tomcat::war
ability to use context paths and versions withwar_name
attribute.tomcat::war
ability to ignore HTTPS errors withallow_insecure
attribute.
- Corrected documentation for all
attributes_to_remove
attributes.
Supported Release 1.7.0
This release adds support for internationalization of the module. It also contains Japanese translations for the README, summary and description of the metadata.json and major cleanups in the README. Additional folders have been introduced called locales and readmes where translation files can be found. A number of features and bug fixes are also included in this release.
- Addition of POT file for metadata translation for i18n.
- Readme update and edit in preparation for localization.
- Environment can now be passed through to staging, so we can set a proxy to download tomcat.
- Add optional
$type
parameter to globalnamingresources that allows the definition of the element to be used. Use "Environment" to set an environment. - Allow the resource name to be overridden with a new
$resource_name
parameter. - Added Ubuntu Xenial support to metadata.
- Bump in puppet-staging module dependancy for allowing newer versions.
- Ability to not manage catalina.properties.
- (MODULES-4003) Adds a 'require => Tomcat::Install[$name]' to the ensure_resource function.
- (MODULES-4003) Removes logic that checks to see if catalina_base and catalina_home are the same.
- (MODULES-1986) Added newline to the inline template assigned to $_content.
- (MODULES-3224) Added mode attribute to concat resource that sets the executable bit for all permission levels.
- Fix for fixtures.yml, was pointing to nanliu-staging instead of puppet-staging.
- Fix duplicate resources in host/realm/valve.
- Fix faulty header and link in ToC.
- (MODULES-4528) Replace Puppet.version.to_f version comparison from spec_helper.rb.
- Puppet lint warning fix.
- (FM-6166) Updating tomcat tar mirror and test failure message.
- (FM-6166) Removing concat-fragment 'ensure'
This release removes an attempted bugfix made in 1.6.0 for working around strict
umasks. The previous change caused duplicate resource declarations when
downloading a tomcat tarball from puppet://
or local paths. The umask bug
remains (it is actually present in staging, not tomcat).
- Fix duplicate resource declarations when using local source paths
This release adds two new defines for managing environment variables and manager elements, enhances multi-instance multi-user support, allows valves to be nested in contexts, fixes an issue with installing directly to NFS mounted directories, fixes installation on systems with a strict root umask,
- Add
tomcat::config::context::environment
define - Add
tomcat::config::context::manager
define - Add
owner
andgroup
totomcat::config::server::tomcat_users
- Add
parent_context
totomcat::config::server::valve
- Add
manage_home
andmanage_base
totomcat
class - Add
manage_home
totomcat::install
- Add
manage_base
totomcat::instance
- Add
doexport
(MODULES-3436),user
, andgroup
totomcat::setenv::entry
- Change from
nanliu/staging
topuppet/staging
- Allow
role
to be set for user elements intomcat::config::server::tomcat_users
- Fix globalresource missing (MODULES-3353)
- Fix strict vars for
tomcat::config::server::service
(MODULES-3742) - Work around duplicate user resources (PUP-5971)
General rewrite of the installation and instance management code, and better service management. Plus a handful of new configuration defined types and actual resource dependency ordering.
The primary improvement is that you may now use tomcat::install
for installing
various versions of tomcat into various directories (CATALINA_HOME
), then use
tomcat::instance
to create instances from those installs (CATALINA_BASE
).
Previously tomcat::instance
treated both CATALINA_HOME
and CATALINA_BASE
as identical and thus only allowed a single tomcat instance per tomcat installation.
Additionally, tomcat::service
allows use_init => true, use_jsvc => true
to
create an init script for service management of source-based installs. And
tomcat::instance
can declare a tomcat::service
resource for your instance to
make life easier.
- Added
tomcat::config::properties::property
define - Added
tomcat::config::server::globalnamingresource
define - Added
tomcat::config::context
define - Added
tomcat::config::context::resource
define - Added
tomcat::config::context::resourcelink
define - Added
tomcat::install
define - Added
tomcat::config::server::host::aliases
parameter - Added
tomcat::service::user
parameter - Added
tomcat::setenv::entry
parameters:catalina_home
addto
- Added
tomcat::instance
parameters for multi-instance management:user
group
manage_user
manage_group
manage_service
java_home
use_jsvc
use_init
- Added Debian 8 compatibility
- Fixed conflating
CATALINA_BASE
withCATALINA_HOME
- Made
tomcat::config::server::connector
protocol default to$name
- Lots of additional validation
- Added resource dependency declaration (so no more
<-
->
needed) - Undeprecated
tomcat::setenv::entry::order
parameter
Small release for bug with multiple Realms in the same parent path.
- Improved documentation for purging connectors.
- Improved documentation for purging realms.
- Added package_options to tomcat::instance
- Fixed bug where multiple Realms in the same parent would corrupt data.
- Added work-around for Augeas bug when purging Realms.
###Summary
Small release for support of newer PE versions. This increments the version of PE in the metadata.json file.
This release fixes username quoting and metadata.
- Allow username values that contain non-string characters like whitespace
- Validate $catalina_base
- Correct pe/puppet compatibility metadata
This release fixes metadata because it supports puppet 4.
This is a feature release, with a couple of bugfixes and readme changes.
- Update additional_attributes to support values with spaces
- Documentation changes
- Add a manifest for Context Containers in Tomcat configuration
- Manage User and Roles in Realms
- New manifests for context.xml configuration
- Added manifest for managing Realm elements in server.xml
- Ordering of setenv entries
- Adds parameter for enabling Tomcat service on boot
- Add ability to specify server_config location
- Allow configuration of location of server.xml
- Make sure setenv entries have export
- Test improvements
- version pinning for acceptance tests
This is primarily a feature release, with a couple of bugfixes for tests and metadata.
- Add
install_from_source
parameter to classtomcat
- Add
purge_connectors
parameter to classtomcat
and definetomcat::server::connector
- Fix dependencies to remove missing dependency warnings with the PMT
- Use
curl -k
in the tests
This release includes documentation and test updates, strict variable support, metadata bugs, and added support for multiple connectors with the same protocol.
- Strict variable support
- Support multiple connectors with the same protocol
- Update tests to not break when tomcat releases happen
- Update README based on QA feedback
- Update stdlib requirement to 4.2.0
- Fix illegal version range in metadata.json
- Fix typo in README
This is a bugfix release.
- Fix typo in tomcat::instance
- Update acceptance tests for new tomcat releases
This release has added support for installation from packages, improved WAR management, and updates to testing and documentation.
- Updated tomcat::setenv::entry to better support installations from package
- Added the ability to purge auto-exploded WAR directories when removing WARs. Defaults to purging these directories
- Added warnings for unused variables when installing from package
- Updated acceptance tests and nodesets
- Updated README
- $tomcat::setenv::entry::base_path is being deprecated in favor of $tomcat::setenv::entry::config_file
This release adds compatibility information and updates the README with information on the requirement of augeas >= 1.0.0.
This is a bugfix release.
- Update 'warn' to correct 'warning' function.
- Update README for use_init.
- Test updates and fixes.
Initial release of the tomcat module.