mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 10:25:23 +00:00
Update xen and kibana pkg states (#35)
This commit is contained in:
parent
56f9e4bafb
commit
648f5a3495
@ -71,7 +71,8 @@ log file = /var/log/ceph/$cluster-$name.log
|
||||
|
||||
# Determines if logging messages should appear in syslog.
|
||||
log to syslog = {{ 'true' if ceph_conf.get('log-to-syslog', True) else 'false' }}
|
||||
ms bind ipv6 = true
|
||||
ms bind ipv6 = {{ 'true' if ceph_conf.get('ms-bind-ipv6', True) else 'false' }}
|
||||
ms bind ipv4 = {{ 'true' if ceph_conf.get('ms-bind-ipv4', False) else 'false' }}
|
||||
|
||||
{% set ceph_mon = ceph_conf.get('mon', {}) %}
|
||||
{% set ceph_mon_clock = ceph_mon.get('clock', {}) %}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% set kibana_version = salt.pillar.get('kibana:version', '~>=6.3') %}
|
||||
{% import 'pkg/common' as pkg %}
|
||||
include:
|
||||
- gentoo.portage.packages
|
||||
- kibana.config
|
||||
|
||||
/etc/init.d/kibana:
|
||||
@ -9,11 +10,8 @@ include:
|
||||
|
||||
www-apps/kibana-bin:
|
||||
pkg.installed:
|
||||
- version: "{{ kibana_version }}"
|
||||
- require:
|
||||
- portage_config: www-apps/kibana-bin
|
||||
portage_config.flags:
|
||||
- accept_keywords: ["~*"]
|
||||
- pkgs:
|
||||
- {{ pkg.gen_atom('www-apps/kibana') }}
|
||||
|
||||
kibana:
|
||||
service.running:
|
||||
|
@ -1,7 +1,9 @@
|
||||
# TODO: изменить источник пилларов version и use
|
||||
# This definitely should be set
|
||||
{% set xen_version = salt['pillar.get']('xen:version', '~=4.10.3-r1') %}
|
||||
{% set xen_tools_version = salt['pillar.get']('xen:tools_version', '~=4.10.3-r2') %}
|
||||
{% set packages = salt['pillar.get']('gentoo:portage:packages', {}) %}
|
||||
{% set packages_xen = packages.get('app-emulation/xen', {}) %}
|
||||
{% set packages_xen_tools = packages.get('app-emulation/xen-tools', {}) %}
|
||||
{% set xen_version = packages_xen.get('version', '~=4.10.3-r1') %}
|
||||
{% set xen_tools_version = packages_xen_tools.get('version', '~=4.10.3-r2') %}
|
||||
{% set xen_version_short = xen_version.rsplit('-', 1)[0].lstrip('-~*<>=') %}
|
||||
{% set efi = salt['grains.get']('efi', False) %}
|
||||
# This should be set when we shall not install xen from here;
|
||||
@ -39,8 +41,8 @@ xen:
|
||||
- app-emulation/xen: "{{ xen_version }}[{{ 'efi' if efi else '-efi' }}]"
|
||||
{% endif %}
|
||||
- app-emulation/xen-tools: "{{ xen_tools_version }}[api,hvm,screen,system-qemu,-qemu,system-seabios]"
|
||||
- app-emulation/qemu: "[numa,nfs,xen,xfs,rbd]"
|
||||
- dev-libs/libnl
|
||||
- {{ pkg.gen_atom('app-emulation/qemu') }}
|
||||
- {{ pkg.gen_atom('dev-libs/libnl') }}
|
||||
{% if xen_packaged %}
|
||||
- binhost: force
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user