Added "amd64" to architecture checks
This commit is contained in:
parent
af9c498fff
commit
933316bf72
4 changed files with 15 additions and 13 deletions
|
@ -13,8 +13,8 @@ class arduino {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !$arduino_package {
|
if !$arduino_package {
|
||||||
case $architecture {
|
case $::architecture {
|
||||||
"x86_64": {
|
"amd64","x86_64": {
|
||||||
if $arduino64_package_latest {
|
if $arduino64_package_latest {
|
||||||
$arduino_package = $arduino64_package_latest
|
$arduino_package = $arduino64_package_latest
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -2,14 +2,16 @@
|
||||||
#
|
#
|
||||||
class ia32libs {
|
class ia32libs {
|
||||||
|
|
||||||
if $architecture == "x86_64" {
|
case $::architecture {
|
||||||
|
"amd64","x86_64": {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
ubuntu: {
|
"ubuntu": {
|
||||||
package { "ia32-libs":
|
package { "ia32-libs":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
class phantomjs {
|
class phantomjs {
|
||||||
|
|
||||||
if !$phantomjs_package {
|
if !$phantomjs_package {
|
||||||
case $architecture {
|
case $::architecture {
|
||||||
"x86_64": {
|
"amd64","x86_64": {
|
||||||
if $phantomjs64_package_latest {
|
if $phantomjs64_package_latest {
|
||||||
$phantomjs_package = $phantomjs64_package_latest
|
$phantomjs_package = $phantomjs64_package_latest
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
class teamspeak {
|
class teamspeak {
|
||||||
|
|
||||||
if !$teamspeak_package {
|
if !$teamspeak_package {
|
||||||
case $architecture {
|
case $::architecture {
|
||||||
"x86_64": {
|
"amd64","x86_64": {
|
||||||
if $teamspeak64_package_latest {
|
if $teamspeak64_package_latest {
|
||||||
$teamspeak_package = $teamspeak64_package_latest
|
$teamspeak_package = $teamspeak64_package_latest
|
||||||
} else {
|
} else {
|
||||||
|
@ -26,8 +26,8 @@ class teamspeak {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case $architecture {
|
case $::architecture {
|
||||||
"x86_64": {
|
"amd64","x86_64": {
|
||||||
$teamspeak_bin = "/usr/local/teamspeak/ts3server_linux_amd64"
|
$teamspeak_bin = "/usr/local/teamspeak/ts3server_linux_amd64"
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue