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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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