k3s/cluster/saltbase/salt/base.sls

39 lines
908 B
Plaintext
Raw Normal View History

2014-06-06 23:40:48 +00:00
pkg-core:
2014-08-12 20:10:59 +00:00
pkg.installed:
2014-06-06 23:40:48 +00:00
- names:
- curl
{% if grains['os_family'] == 'RedHat' %}
- python
- git
- socat
{% else %}
2014-06-06 23:40:48 +00:00
- apt-transport-https
- python-apt
- nfs-common
- socat
{% endif %}
# Ubuntu installs netcat-openbsd by default, but on GCE/Debian netcat-traditional is installed.
# They behave slightly differently.
# For sanity, we try to make sure we have the same netcat on all OSes (#15166)
{% if grains['os'] == 'Ubuntu' %}
- netcat-traditional
{% endif %}
# Make sure git is installed for mounting git volumes
{% if grains['os'] == 'Ubuntu' %}
- git
{% endif %}
/usr/local/share/doc/kubernetes:
file.directory:
- user: root
- group: root
- mode: 755
- makedirs: True
/usr/local/share/doc/kubernetes/LICENSES:
file.managed:
- source: salt://kube-docs/LICENSES
- user: root
- group: root
- mode: 644