diff options
author | Amir Sanjar <afsanjar@gmail.com> | 2016-10-26 13:57:11 -0500 |
---|---|---|
committer | Amir Sanjar <afsanjar@gmail.com> | 2016-10-26 21:43:48 -0500 |
commit | e6e8102945bf89f2c8cf0308bdb7bab73eb66e6e (patch) | |
tree | 3fc1acbb37f3592af61c1f669fb361defdf3a967 /bigtop_toolchain | |
parent | 0096b3e644297f83f186377426d8a3fd60d41ed9 (diff) |
BIGTOP-2558: Adding ppc64le and ARM64 'node' binary to build slave docker image
Signed-off-by: Amir Sanjar <afsanjar@gmail.com>
Diffstat (limited to 'bigtop_toolchain')
-rw-r--r-- | bigtop_toolchain/manifests/node.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bigtop_toolchain/manifests/node.pp b/bigtop_toolchain/manifests/node.pp index fcd4fdae..99efe1b4 100644 --- a/bigtop_toolchain/manifests/node.pp +++ b/bigtop_toolchain/manifests/node.pp @@ -14,9 +14,16 @@ # limitations under the License. class bigtop_toolchain::node { - $node_version = "0.10.44" + case $architecture { + 'amd64' : { $node_version = "0.10.44" + $arch = "x64" } + 'ppc64le' : { $node_version = "4.4.7" + $arch = "ppc64le" } + 'aarch64' : { $node_version = "4.4.7" + $arch = "arm64" } + } $brunch_version = "1.7.20" - $node_name = "node-v${node_version}-linux-x64" + $node_name = "node-v${node_version}-linux-$arch" $node_dl_url = 'https://nodejs.org/dist/v$node_version/' exec { "get node": |