Skip to content

Commit

Permalink
install_method set to archive should not try and install the reposito…
Browse files Browse the repository at this point in the history
…ry (#164)

Fixes #160
  • Loading branch information
achevalet authored Mar 16, 2021
1 parent c816ff8 commit 1f00a27
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@

$os_family = $facts['os']['family']

# Repo management
case $os_family {
'RedHat', 'Suse': {
include zookeeper::install::repo
Anchor['zookeeper::install::begin']
-> Class['zookeeper::install::repo']
}
default: {} # nothing to do
}

# Java installation
if ($zookeeper::install_java) {
if !$zookeeper::java_package {
Expand Down Expand Up @@ -47,6 +37,16 @@
-> Anchor['zookeeper::install::end']
}
'package': {
# Repo management
case $os_family {
'RedHat', 'Suse': {
include zookeeper::install::repo
Anchor['zookeeper::install::begin']
-> Class['zookeeper::install::repo']
}
default: {} # nothing to do
}

include zookeeper::install::package
Anchor['zookeeper::install::intermediate']
-> Class['zookeeper::install::package']
Expand Down

0 comments on commit 1f00a27

Please sign in to comment.