Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >= 7.0.0 < 9.0.0
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'markt-async_profiler', '1.3.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-async_profiler
Table of Contents
Description
A Puppet module to install async-profiler, a low overhead sampling profiler for Java.
Usage
Just specify the version of async-profiler that should be installed:
class { 'async_profiler':
version => '1.8',
}
Reference
Classes and parameters are documented in REFERENCE.md.
Development
Please use the GitHub issues functionality to report any bugs or requests for new features. Feel free to fork and submit pull requests for potential contributions.
Reference
Table of Contents
Classes
Public Classes
async_profiler
: Setup async-profiler
Private Classes
async_profiler::config
: Auxiliary configuration for async-profilerasync_profiler::install
: Download and extract the distribution archive
Classes
async_profiler
Setup async-profiler
Parameters
The following parameters are available in the async_profiler
class:
capabilities
Data type: Array
A list of profiler capabilities.
installroot
Data type: Stdlib::Compat::Absolute_path
Specifies the base directory where async-profiler should be installed. A new subdirectory for each version will be created.
manage_capabilities
Data type: Boolean
Whether to manage profiler capabilities.
manage_symlink
Data type: Boolean
Whether to maintain a symlink for the current version.
mirror
Data type: Variant[Stdlib::HTTPUrl,Stdlib::HTTPSUrl]
Specifies the base URL where the distribution archive can be downloaded.
symlink_name
Data type: String
Controls the name of a version-independent symlink. It will always point
to the release specified by $version
.
version
Data type: String
Specifies the version of async-profiler that should be installed.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v1.3.0
Added
- Add basic unit/acceptance tests
- Enable GitHub Actions
Changed
- Update module dependencies and OS support
Fixed
- Fix compatibility with puppetlabs/stdlib v9.0.0
v1.2.1
Fixed
- Fix module dependencies
v1.2.0
Changed
- Update OS version, Puppet version and dependencies
- Update PDK from 1.18.1 to 2.5.0
- Fix puppet-lint offenses
v1.1.0
Added
- Manage Linux capabilities in order to run profiler without root privileges
v1.0.0
Initial release
Dependencies
- puppetlabs/stdlib (>= 6.0.0 < 10.0.0)
- puppet/archive (>= 6.0.0 < 8.0.0)
- stm/file_capability (>= 3.0.0 < 7.0.0)
Copyright (C) 2020 Frank Wall All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.