Skip to content

Commit

Permalink
Merge pull request #171 from vshn/feature/custom_package_name
Browse files Browse the repository at this point in the history
Add support to use a custom package name
  • Loading branch information
maxchk authored Sep 26, 2018
2 parents 352b1f8 + 7278412 commit 3328f42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
# '4.0' and '4.1')
# add_repo - if set to false (defaults to true), the yum/apt repo is not added
#
# package_name - the name of the package that should be installed
# default value: varnish
#
# === Default values
# Set to Varnish default values
# With an exception to
Expand Down Expand Up @@ -75,6 +78,7 @@
$varnish_conf_template = 'varnish/varnish-conf.erb',
$varnish_identity = undef,
$varnish_name = undef,
$package_name = 'varnish',
$additional_parameters = {},
$additional_storages = {},
$conf_file_path = $varnish::params::conf_file_path,
Expand Down
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
# Varnish package
package { 'varnish':
ensure => $varnish::ensure,
name => $varnish::package_name,
}
}

0 comments on commit 3328f42

Please sign in to comment.