Indentation OK

This commit is contained in:
CLEMENT Iwan
2018-11-08 20:22:15 +01:00
parent b4ea1935e4
commit 5e3f887cdc

View File

@@ -1,12 +1,10 @@
# Installation de Kubernetes
{% if grains['kernel'] == 'Linux' %}
include:
- linux.docker-ce
{% if grains['os'] == 'Debian' %}
{% set DEBVER = salt['grains.get']('oscodename') %}
Debian K8S Add Repo:
Debian K8S Add Repo:
pkgrepo.managed:
- name: deb https://apt.kubernetes.io/ kubernetes-{{DEBVER}} main
- file: /etc/apt/sources.list.d/k8s.list
@@ -15,7 +13,7 @@ include:
# - key_url: https://download.docker.com/linux/debian/gpg
{% endif %}
K8S installation:
K8S installation:
pkg.installed:
- pkgs:
- kubelet