Skip to content

Commit

Permalink
Merge pull request #29 from jyaworski/arbitrary_names
Browse files Browse the repository at this point in the history
Allow arbitrary package and service names
  • Loading branch information
jlambert121 committed Feb 24, 2016
2 parents 9645be3 + 9afe173 commit 11b8ad4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#
class artifactory(
$ensure = 'latest',
$package_name = 'artifactory',
$service_name = 'artifactory',
$package_provider = undef,
$package_source = undef,
$ajp_port = 8019,
Expand Down
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

package { 'artifactory':
ensure => $::artifactory::ensure,
name => $::artifactory::package_name,
provider => $::artifactory::package_provider,
source => $::artifactory::package_source,
notify => Class['artifactory::service'],
Expand Down
1 change: 1 addition & 0 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

service { 'artifactory':
ensure => running,
name => $::artifactory::service_name,
enable => true,
provider => redhat,
require => Class['java'],
Expand Down

0 comments on commit 11b8ad4

Please sign in to comment.