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:
|
2014-10-11 01:52:02 +00:00
|
|
|
- curl
|
2014-07-14 17:50:04 +00:00
|
|
|
{% if grains['os_family'] == 'RedHat' %}
|
|
|
|
- python
|
|
|
|
- git
|
2016-04-23 02:43:04 +00:00
|
|
|
- socat
|
2014-07-14 17:50:04 +00:00
|
|
|
{% else %}
|
2014-06-06 23:40:48 +00:00
|
|
|
- apt-transport-https
|
|
|
|
- python-apt
|
2015-10-20 23:56:55 +00:00
|
|
|
- nfs-common
|
2015-07-03 22:57:00 +00:00
|
|
|
- socat
|
|
|
|
{% endif %}
|
2015-10-19 18:21:17 +00:00
|
|
|
# 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 %}
|
2016-02-12 13:32:24 +00:00
|
|
|
# Make sure git is installed for mounting git volumes
|
|
|
|
{% if grains['os'] == 'Ubuntu' %}
|
|
|
|
- git
|
|
|
|
{% endif %}
|
2016-03-02 23:19:40 +00:00
|
|
|
|
|
|
|
/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
|