Puppet Class: solr::install
- Inherits:
- solr
- Defined in:
- manifests/install.pp
Overview
Class: solr::install
This class installs solr
Variables
Refer to solr class for the variables defined here.
Usage
This class is not intended to be used directly. It’s automatically included by solr
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'manifests/install.pp', line 13
class solr::install inherits solr {
case $solr::install {
package: {
package { 'solr':
ensure => $solr::manage_package,
name => $solr::package,
}
}
source: {
puppi::netinstall { 'netinstall_solr':
url => $solr::install_source,
destination_dir => $solr::install_destination,
preextract_command => $solr::install_precommand,
postextract_command => $solr::install_postcommand,
}
}
puppi: {
puppi::project::archive { 'solr':
source => $solr::install_source,
deploy_root => $solr::install_destination,
predeploy_customcommand => $solr::install_precommand,
postdeploy_customcommand => $solr::install_postcommand,
report_email => 'root',
auto_deploy => true,
enable => true,
}
}
}
}
|