Added "amd64" to architecture checks

This commit is contained in:
Ossi Salmi 2013-04-30 14:57:16 +03:00
parent af9c498fff
commit 933316bf72
4 changed files with 15 additions and 13 deletions

View file

@ -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 {

View file

@ -2,11 +2,13 @@
# #
class ia32libs { class ia32libs {
if $architecture == "x86_64" { case $::architecture {
case $::operatingsystem { "amd64","x86_64": {
ubuntu: { case $::operatingsystem {
package { "ia32-libs": "ubuntu": {
ensure => installed, package { "ia32-libs":
ensure => installed,
}
} }
} }
} }

View file

@ -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 {

View file

@ -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: {