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

Xtradb cluster #20

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Cleanups to install.pp
jrmoserbaltimore committed Jan 15, 2013
commit ec8ee334a9bbb0c58ce4c8945dbf104de909ceb7
24 changes: 8 additions & 16 deletions manifests/install.pp
Original file line number Diff line number Diff line change
@@ -23,21 +23,13 @@
$pkg_server_default = "percona-server-server-${pkg_version}"

# Avoid dependency resolution on version change
case $percona_version {
'5.1': {
$pkg_common_default = [
'percona-toolkit',
"percona-server-common"
]
}

default: {
$pkg_common_default = [
'percona-toolkit',
"percona-server-common-${pkg_version}"
]
}
}
$pkg_common_default = [
'percona-toolkit',
$percona_version ? {
'5.1' => 'percona-server-common',
default => "percona-server-common-${pkg_version}",
},
]
}
}

@@ -65,7 +57,7 @@
$pkg_server_default = "Percona-Server-server-${pkg_version}"
$pkg_common_default = [
"Percona-Server-shared-${pkg_version}",
'percona-toolkit'
'percona-toolkit',
]
}