fix(yamllint): fix all errors

This commit is contained in:
Imran Iqbal 2019-12-08 01:49:38 +00:00
parent 033ff4453f
commit 4176716f7e
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
11 changed files with 120 additions and 72 deletions

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
tmpdir: /tmp/saltstack-packages-formula-archives
rootuser: root
@ -31,10 +32,10 @@ packages:
states: []
pkgs: []
snaps:
packages: ['snapd', 'fuse',]
packages: ['snapd', 'fuse']
collides: []
symlink: False
service: ['snapd',]
symlink: false
service: ['snapd']
wanted: []
classic: []
unwanted: []
@ -48,13 +49,13 @@ packages:
pkgs:
required: ['curl', 'bzip2', 'gzip']
types: ['tar', 'zip', 'rar']
wanted: {} #note: dict
wanted: {} # note: dict
unwanted: []
required:
archives: {} #note: dict
archives: {} # note: dict
retry_options:
# https://docs.saltstack.com/en/latest/ref/states/requisites.html#retrying-states
attempts: 3
until: True
until: true
interval: 60
splay: 10

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
Suse:
pips:
required:

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
Fedora:
pkgs:
required:
@ -11,9 +14,9 @@ Fedora:
- python2-pip
- python2-devel
snaps:
collides: ['snap',]
symlink: True
collides: ['snap']
symlink: true
Centos:
CentOS:
snaps:
package:
packages: []

View file

@ -1,9 +1,12 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
# A dict of "package: version" pairs:
# held:
# alien: 8.95
# iotop: 0.6-24
held:
alien: 8.95
iotop: 0.6-24
# Alternativelly, held packages can also be specified as a list with
# no versions. In this case, the package will be held in the installed
@ -23,26 +26,27 @@ packages:
pkgs:
- wget
- git
# pips:
# required:
# pkgs:
# # Pillar parameters have precedence so, if you add a package here, you
# # should also add the python pip package you want. Otherwise, the formula
# # will take care of getting it if needed.
# - libpython2.7-dev
# - python-pip
# wanted:
# - dxpy
# - attrs
# unwanted:
# - campbel
# - reverse_geocode
# - indy-crypto
# config:
# global:
# timeout: 120
# default-timeout: 120
# # proxy: http://proxy.example.com:3128
pips:
required:
pkgs:
# Pillar parameters have precedence so, if you add a package here, you
# should also add the python pip package you want. Otherwise, the formula
# will take care of getting it if needed.
- libpython2.7-dev
- python-pip
wanted:
- dxpy
- attrs
unwanted:
- campbel
- reverse_geocode
- indy-crypto
config:
global:
timeout: 120
default-timeout: 120
# proxy: http://proxy.example.com:3128
gems:
wanted:
@ -69,60 +73,68 @@ packages:
- github.com/golang/example/hello
- github.com/golang/example/outyet
# npms:
# 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`)
# group: kitchen # The group to assign to `dir`
# mode: 0755 # The permissions to assign to `dir`
# # registry: None # The NPM registry from which to install the package
# # 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
# required:
# states:
# - node.pkg
# wanted:
# # Valid formats:
# #
# # @google-cloud/bigquery@^0.9.6
# # @foobar
# # buffer-equal-constant-time@1.0.1
# # coffee-script
# # You need to quote the package if it starts with '@'
# - '@davidodio/hello@2.3.0'
# - hello-world-npm
# - sax
# - coffee-script@1.0.1
# unwanted:
# - gist
npms:
# yamllint disable rule:line-length
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`)
group: kitchen # The group to assign to `dir`
mode: '0755' # The permissions to assign to `dir`
# registry: None # The NPM registry from which to install the package
# 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
# yamllint enable rule:line-length
required:
states:
- node.pkg
wanted:
# Valid formats:
#
# @google-cloud/bigquery@^0.9.6
# @foobar
# buffer-equal-constant-time@1.0.1
# coffee-script
# You need to quote the package if it starts with '@'
- '@davidodio/hello@2.3.0'
- hello-world-npm
- sax
- coffee-script@1.0.1
unwanted:
- gist
archives:
wanted:
terminator:
dest: /usr/local/terminator/
options: '--strip-components=1' #recommended option, but beware tarbombs
options: '--strip-components=1' # recommended option, but beware tarbombs
dl:
format: tar
# yamllint disable rule:line-length
source: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz
#hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# yamllint enable rule:line-length
hashsum: md5=2eed999d7a41f2e18eaa511bbbf80f58
phantomjs:
dest: /usr/local/src/ #beware tarbombs
dest: /usr/local/src/ # beware tarbombs
user: root
mode: '0700'
dl:
format: tar
# yamllint disable rule:line-length
source: https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
hashsum: md5=1c947d57fce2f21ce0b43fe2ed7cd361
# yamllint enable rule:line-length
blockbox:
dest: /usr/local/src/
dl:
format: raw
# yamllint disable-line rule:line-length
source: https://raw.githubusercontent.com/openstack/cinder/master/contrib/block-box/docker-compose.yml
hashsum: 1751f8e4f6b4cddd8c4843a0f4473274
kubectl:
dest: /usr/local/bin
dl:
format: bin
# yamllint disable-line rule:line-length
source: https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/darwin/amd64/kubectl
unwanted:
- /usr/local/boring_archive_software
@ -133,6 +145,6 @@ packages:
retry_options:
# https://docs.saltstack.com/en/latest/ref/states/requisites.html#retrying-states
attempts: 5
until: True
until: true
interval: 30
splay: 20

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
# held:

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
held:

View file

@ -1,8 +1,11 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
# held:
# alien: 8.95-8.fc29
# iotop: 0.6-18.fc29
# held:
# alien: 8.95-8.fc29
# iotop: 0.6-18.fc29
wanted:
- git
- less

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
wanted:

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
held:

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
# A dict of "package: version" pairs:
@ -59,24 +62,29 @@ packages:
wanted:
terminator:
dest: /usr/local/terminator/
options: '--strip-components=1' #recommended option, but beware tarbombs
options: '--strip-components=1' # recommended option, but beware tarbombs
dl:
format: tar
# yamllint disable rule:line-length
source: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz
#hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# yamllint enable rule:line-length
hashsum: md5=2eed999d7a41f2e18eaa511bbbf80f58
phantomjs:
dest: /usr/local/src/ #beware tarbombs
dest: /usr/local/src/ # beware tarbombs
user: root
mode: '0700'
dl:
format: tar
# yamllint disable rule:line-length
source: https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
hashsum: md5=1c947d57fce2f21ce0b43fe2ed7cd361
# yamllint enable rule:line-length
blockbox:
dest: /usr/local/src/
dl:
format: raw
# yamllint disable-line rule:line-length
source: https://raw.githubusercontent.com/openstack/cinder/master/contrib/block-box/docker-compose.yml
hashsum: 1751f8e4f6b4cddd8c4843a0f4473274
golang:

View file

@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
packages:
pkgs:
# A dict of "package: version" pairs:
@ -48,7 +51,7 @@ packages:
- diff-lcs
- kitchen-vagrant
- kwalify
# Disable Snaps testing in Ubuntu 18 due to
# Disable Snaps testing in Ubuntu 18 due to
# https://github.com/saltstack-formulas/packages-formula/issues/44
# snaps:
# wanted:
@ -61,24 +64,29 @@ packages:
wanted:
terminator:
dest: /usr/local/terminator/
options: '--strip-components=1' #recommended option, but beware tarbombs
options: '--strip-components=1' # recommended option, but beware tarbombs
dl:
format: tar
# yamllint disable rule:line-length
source: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz
#hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# hashurl: https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz/+md5
# yamllint enable rule:line-length
hashsum: md5=2eed999d7a41f2e18eaa511bbbf80f58
phantomjs:
dest: /usr/local/src/ #beware tarbombs
dest: /usr/local/src/ # beware tarbombs
user: root
mode: '0700'
dl:
format: tar
# yamllint disable rule:line-length
source: https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
hashsum: md5=1c947d57fce2f21ce0b43fe2ed7cd361
# yamllint enable rule:line-length
blockbox:
dest: /usr/local/src/
dl:
format: raw
# yamllint disable-line rule:line-length
source: https://raw.githubusercontent.com/openstack/cinder/master/contrib/block-box/docker-compose.yml
hashsum: 1751f8e4f6b4cddd8c4843a0f4473274
golang: