Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change unzip package install method + url trailing slash fix #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions manifests/agent/java.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# [*package_source_url*]
# URL for the newrelic zip. Used as the source for download of zip.
# Default: https://oss.sonatype.org/content/repositories/releases/com/newrelic/agent/java/newrelic-java/
# Default: https://oss.sonatype.org/content/repositories/releases/com/newrelic/agent/java/newrelic-java
#
# [*package_version*]
# Version of the newrelic java agent being used
Expand Down Expand Up @@ -44,7 +44,7 @@
#
class newrelic::agent::java (
String $license_key,
String $package_source_url = 'https://oss.sonatype.org/content/repositories/releases/com/newrelic/agent/java/newrelic-java/',
String $package_source_url = 'https://oss.sonatype.org/content/repositories/releases/com/newrelic/agent/java/newrelic-java',
String $package_version = '3.47.1',
String $install_dir = '/opt',
String $newrelic_application_name = 'webapp',
Expand All @@ -54,9 +54,7 @@
){

# == Package Installation
package { 'unzip':
ensure => installed
}
ensure_packages('unzip')

# == Newrelic java agent fetch/installation

Expand Down