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 {
|
||||
case $architecture {
|
||||
"x86_64": {
|
||||
case $::architecture {
|
||||
"amd64","x86_64": {
|
||||
if $arduino64_package_latest {
|
||||
$arduino_package = $arduino64_package_latest
|
||||
} else {
|
||||
|
|
|
@ -2,14 +2,16 @@
|
|||
#
|
||||
class ia32libs {
|
||||
|
||||
if $architecture == "x86_64" {
|
||||
case $::architecture {
|
||||
"amd64","x86_64": {
|
||||
case $::operatingsystem {
|
||||
ubuntu: {
|
||||
"ubuntu": {
|
||||
package { "ia32-libs":
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
class phantomjs {
|
||||
|
||||
if !$phantomjs_package {
|
||||
case $architecture {
|
||||
"x86_64": {
|
||||
case $::architecture {
|
||||
"amd64","x86_64": {
|
||||
if $phantomjs64_package_latest {
|
||||
$phantomjs_package = $phantomjs64_package_latest
|
||||
} else {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
class teamspeak {
|
||||
|
||||
if !$teamspeak_package {
|
||||
case $architecture {
|
||||
"x86_64": {
|
||||
case $::architecture {
|
||||
"amd64","x86_64": {
|
||||
if $teamspeak64_package_latest {
|
||||
$teamspeak_package = $teamspeak64_package_latest
|
||||
} else {
|
||||
|
@ -26,8 +26,8 @@ class teamspeak {
|
|||
}
|
||||
}
|
||||
|
||||
case $architecture {
|
||||
"x86_64": {
|
||||
case $::architecture {
|
||||
"amd64","x86_64": {
|
||||
$teamspeak_bin = "/usr/local/teamspeak/ts3server_linux_amd64"
|
||||
}
|
||||
default: {
|
||||
|
|
Loading…
Add table
Reference in a new issue