puphpet/puppet-puphpet — pull request #17 by mcrumm (2014-12-16 22:49:55+00:00)
Title: Add nodejs support for 32bit architectures

Nodejs installation fails silently on 32-bit systems -- the issue only affects provisioning if you install any npm packages through puppet, otherwise the install appears to finish successfully, but will create non-executable binaries.

Installing an npm package via puppet:

```bash
Error: /Stage[main]/Main/Package[bower]: Could not evaluate: Puppet::Util::Log requires a message
```

Running `node` in the terminal:

```bash
vagrant@system:/usr/local/bin$ node --version
-bash: /usr/local/bin/node: cannot execute binary file: Exec format error
```

Running `npm install` in the terminal:

```bash
vagrant@system:~$ npm install
/usr/local/bin/node: 1: /usr/local/bin/node: ELF: not found
/usr/local/bin/node: 2: /usr/local/bin/node: cannot open 8?
: No such file
/usr/local/bin/node: 2: /usr/local/bin/node: �K���E�FT: not found
/usr/local/bin/node: 4: /usr/local/bin/node: 2�2�2Ig6K: not found
/usr/local/bin/node: 9: /usr/local/bin/node: Syntax error: redirection unexpected (expecting ")")
/usr/local/bin/node: 1: /usr/local/bin/node: Fu=: not found
/usr/local/bin/node: 9: /usr/local/bin/node: �KLoL: not found
vagrant@gowili:~$ /usr/local/bin/node: 1: /usr/local/bin/node: 1�En@WMhJ!3+�: not found
/usr/local/bin/node: 1: /usr/local/bin/node: 3g,�3N#�B��iKt@5�: not found
/usr/local/bin/node: 1: /usr/local/bin/node: }6d7.7fLk/y8�/�18�
J�KY=SKq�: not found
/usr/local/bin/node: 1: /usr/local/bin/node: �5�A1F�8: not found
/usr/local/bin/node: 1: /usr/local/bin/node: �: not found
/usr/local/bin/node: 4: /usr/local/bin/node: cannot open �7�h/�D��+8�7y: No such file
```