defaults = { 'apt': { 'additional_update_commands': { # update npm to latest version 'npm install -g npm@latest', }, 'repos': { 'node': { 'items': { 'deb https://deb.nodesource.com/node_14.x {os_release} main', 'deb-src https://deb.nodesource.com/node_14.x {os_release} main', }, }, }, 'packages': { 'nodejs': {}, }, }, }