fix(node): ensure using on debian

This commit is contained in:
Imran Iqbal 2020-01-13 09:51:40 +00:00
parent c69cb5a792
commit eca4228906
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -1,6 +1,13 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: ft=yaml # vim: ft=yaml
--- ---
# Dependency (node)
node:
version: 12.14.1-1nodesource1
install_from_ppa: true
ppa:
repository_url: https://deb.nodesource.com/node_12.x
packages: packages:
pkgs: pkgs:
# A dict of "package: version" pairs: # A dict of "package: version" pairs:
@ -57,40 +64,40 @@ packages:
- kitchen-vagrant - kitchen-vagrant
- kwalify - kwalify
# snaps: snaps:
# wanted: wanted:
# - hello-world - hello-world
# classic: classic:
# - test-snapd-hello-classic - test-snapd-hello-classic
# unwanted: unwanted:
# - goodbye-world - bare
#
# yamllint disable rule:line-length # yamllint disable rule:line-length
# npms: npms:
# dir: /home/kitchen/npms # The target directory in which to install the package, or None for global installation dir: /home/kitchen/npms # The target directory in which to install the package, or None for global installation
# user: kitchen # The user to run NPM with (and to assign to `dir`) user: kitchen # The user to run NPM with (and to assign to `dir`)
# group: kitchen # The group to assign to `dir` group: kitchen # The group to assign to `dir`
# mode: '0755' # The permissions to assign to `dir` mode: '0755' # The permissions to assign to `dir`
# # registry: None # The NPM registry from which to install the package # registry: None # The NPM registry from which to install the package
# # env: None # A list of environment variables to be set prior to execution # env: None # A list of environment variables to be set prior to execution
# # force_reinstall: False # Install the package even if it is already installed # force_reinstall: False # Install the package even if it is already installed
# required: required:
# states: states:
# - node.pkg - node.pkg
# wanted: wanted:
# # Valid formats: # Valid formats:
# # #
# # @google-cloud/bigquery@^0.9.6 # @google-cloud/bigquery@^0.9.6
# # @foobar # @foobar
# # buffer-equal-constant-time@1.0.1 # buffer-equal-constant-time@1.0.1
# # coffee-script # coffee-script
# # You need to quote the package if it starts with '@' # You need to quote the package if it starts with '@'
# - '@davidodio/hello@2.3.0' - '@davidodio/hello@2.3.0'
# - hello-world-npm - hello-world-npm
# - sax - sax
# - coffee-script@1.0.1 - coffee-script@1.0.1
# unwanted: unwanted:
# - gist - gist
# yamllint enable rule:line-length # yamllint enable rule:line-length
archives: archives:
@ -133,10 +140,3 @@ packages:
remote_pkgs: remote_pkgs:
zoom: 'https://zoom.us/client/latest/zoom_amd64.deb' zoom: 'https://zoom.us/client/latest/zoom_amd64.deb'
# retry_options:
# # https://docs.saltstack.com/en/latest/ref/states/requisites.html#retrying-states
# attempts: 5
# until: true
# interval: 30
# splay: 20