Marcin Iwinski
03560d7e1e
Adding environment variables for salt minion
salt-minion started via upstart is not using /etc/environment to
source variables therefore is not using system wide http_proxy parameters if
they are set there. With this patch if salt.minion.env_vars is set to engine:
file salt will set envvars in /etc/default/salt-minion and will use them for
all commands executed remotely via salt. Since /etc/default is not used on
systems with systemd override for salt-minion to use /etc/environmnet will be
set.
Change-Id: Icfe122de2486a83820a0bd2e2aeea4be3796c6aa
Closes-bug: PROD-16676
7 years ago
Vasyl Saienko
df7b5f0f32
Update conditions for mysql settings in minion.conf
There was a wrong assumption that if galera.master or
galera.slave or mysql.server was defined in pillar we tried
to pick user/password from pillar.
This patch updates condition to ensure that enabled attribute
set to True.
Related-Prod: PROD-16658
Change-Id: I9cdd9259000d7fc648b41d7402dc8ffe9659955b
7 years ago
Jakub Josef
4fdb43cae7
Merge "Fixed typo in run_tests.sh file"
7 years ago
mcp-jenkins
380c6abcc6
Merge "Fix modelschema.schema_list()"
7 years ago
Jakub Josef
6f2f014205
Fixed typo in run_tests.sh file
Change-Id: I345ec121d984320bec4908b416ed6ec19f181c31
7 years ago
Jiri Broulik
b347eaf066
salt master / minion backup
PROD-16375
Change-Id: I758d38701cdf0e1cc6fa99c38192de2f9052468c
7 years ago
mcp-jenkins
46bc38de66
Merge "Backup and restore of Salt master's state: pki and generated metadata"
7 years ago
Petr Michalec
6bb146207d
Merge pull request #64 from alexandruavadanii/master
seedng: module: Sync salt version
7 years ago
Ales Komarek
b2ada52c5a
Backup and restore of Salt master's state: pki and generated metadata
Change-Id: I5c88d22589ec1fa6a9806c1a625b752dd4fc8b54
7 years ago
azvyagintsev
0d683713df
Fix modelschema.schema_list()
* Fix glob path, since :
ipdb> print '{}/*/*/schemas/*.yaml'.format(_get_base_dir())
/usr/share/salt-formulas/env/*/*/schemas/*.yaml
Process empty list:
ipdb> print schemas
[]
Change-Id: I6ad048cb601baea9282e3c2a30fb79fdddd1ee0b
7 years ago
Ales Komarek
6041b1b542
Added support modules for schema operations
* Added support for backup
EME-13
Change-Id: I11cabb77bb66f3e9f1e35c9a00c9c196ded0ceb3
7 years ago
Filip Pytloun
84d46739a7
Fix meta/salt.yml to workaround broken formulas
Change-Id: If8ee6ccfd282d8f926eff268cd74871e0f400754
7 years ago
Filip Pytloun
efe175c92d
Merge pull request #69 from car-da/master
add submodules
7 years ago
Jaroslav Steinhaisl
7dd7b05c4a
add submodules for ability to use submodules in formulas - for source git
7 years ago
Filip Pytloun
ae6f37faed
Fix backupninja
Change-Id: I58f684025e8aae21a54dcc2df25d68a9e8a8f12a
7 years ago
mcp-jenkins
0b4cdf58ef
Merge "Added support for salt engines, added support for requisite ordering"
7 years ago
Alexandru Avadanii
398e69fcf9
seedng: module: Sync salt version
salt custom py module seedng.py should use the same Salt version
when preinstalling minion for salt-controlled VMs via bootstrap
script.
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years ago
Ales Komarek
8f8eee7680
Added support for salt engines, added support for requisite ordering
Change-Id: I772495c38ed5dc21ad833f3c0f351384942e2b23
7 years ago
Filip Pytloun
32ab65e016
Merge pull request #63 from txomon/fix/arch-master-config
Fix/arch master config
7 years ago
Javier Domingo Cansino
53a6260b26
Fixing arch linux packages for salt
7 years ago
Javier Domingo Cansino
15a9ba980e
Fixing minion dependency in master node
7 years ago
Dennis Dmitriev
f5dba8c759
Fix VCP images creation
Do not change VCP disk profile globally, it causes to re-use
the properties from one node in another.
Change-Id: Iff98010c32c1060b50bc0ae040edb72108c57da1
7 years ago
mcp-jenkins
b19dcd9e01
Merge "Fix backward compatibility, storage_type/invetory reclass defaults"
7 years ago
Petr Michalec
df4e781356
Fix backward compatibility, storage_type/invetory reclass defaults
Change-Id: I8dee93ffd4441391a5b26ba2c5b46e43357a0ca7
7 years ago
Filip Pytloun
c6bf97a3be
Merge pull request #60 from slimakcz/nf_backupninja_only
added backupninja support, by default is disable
7 years ago
tomas kamm
e54514a5e8
changed default setting
7 years ago
Petr Michalec
8fbdd451c7
backward compatible master:pillar:reclass
Change-Id: I7636e3b43996abfa8be21f58ff485d998eacf74c
7 years ago
mcp-jenkins
7089223619
Merge "allow-multiple-ext-pillars-and-reclass-options"
7 years ago
Max Yatsenko
dc5df56e82
Install oauth package
It adds oauth package to 'dependency_pkgs' and
'dependency_pkgs_pip' sections to have it installed
by system package manager or by pip.
Change-Id: I2e799c92c6e6f7c0705bb962ac32b8c166723af1
7 years ago
Petr Michalec
1f541c49ed
allow-multiple-ext-pillars-and-reclass-options
Change-Id: I336b0825712218e2381e1654251765a24581da00
7 years ago
Filip Pytloun
74454f8eb3
Merge pull request #58 from maxyko/pull/45
Fix minion install pkgs and dependency packages
7 years ago
Bartosz Kupidura
77bef8d06c
Add salt-master and salt-minion alerts
Change-Id: I1407f89306b192ace13752f1fbc0a8594310aead
7 years ago
Petr Michalec
ba91c2d62b
Merge "Add salt-minion and salt-master to telegraf"
7 years ago
Petr Michalec
85b25c5ad4
Merge "Add possibility to specify multiple disks for salt.control formula"
7 years ago
tomas kamm
62eb01172a
added backupninja support, by default is disable
7 years ago
Petr Michalec
b4b7893e50
Fix minion install pkgs and dependency packages
7 years ago
Bartosz Kupidura
9837178bdc
Add salt-minion and salt-master to telegraf
Change-Id: I6b80e66f720a9e238ba5a3dd5a1bac012fe2fe94
7 years ago
Filip Pytloun
af942a70cb
Merge pull request #56 from Martin819/master
Fix Travis tests
7 years ago
Martin Polreich
fa2b636378
Fix Travis tests
Change-Id: I15c668d239fa2909caf38143f3cb7ac21e1dbe9f
7 years ago
Dennis Dmitriev
a57463cea7
Add possibility to specify multiple disks for salt.control formula
Example:
parameters:
salt:
control:
size: #RAM 4096,8192,16384,32768,65536
openstack.control:
cpu: 8
ram: 32768
disk_profile: small_two_disks
net_profile: default
virt:
disk:
small_two_disks:
- system:
size: 50000
image: http:/path/to/image.qcow2
- cinder-volume:
size: 50000
Change-Id: Ie092b77627cb2b1d36ba4b7a2a7d749ad91881c8
7 years ago
Jiri Broulik
1dc8e78874
remove makedirs from x509.pem_managed
Change-Id: Idfe764a5b8106e02614eb3eab78895629a6fc570
7 years ago
mcp-jenkins
020a6b15cc
Merge "Change of check flag (supports newer systems)"
7 years ago
Adam Tengler
8455c25933
Use normalized way to get config for custom module
Change-Id: I8fe09f450695eaad1546262cef8df5bc4bb02308
7 years ago
Daniel Cech
3321d6cfda
Change of check flag (supports newer systems)
Change-Id: I22f892b8a606cc9464a2bd49d4eb336936a3de58
7 years ago
mcp-jenkins
a3838398b4
Merge "Not to pass the engine param if present"
7 years ago
Ales Komarek
460277e7a7
Not to pass the engine param if present
Change-Id: I841e8d0aad0892fddfd34bfc27936403a46243f6
7 years ago
mcp-jenkins
ea6039dcbc
Merge "Salt Engine for graph data processing"
7 years ago
Adam Tengler
3e96b11506
Salt Engine for graph data processing
Change-Id: I08ab88c3cdbe3914973ce87039222f29e1dff824
7 years ago
Ales Komarek
a9fc6e7d21
Add support for salt master engines
Change-Id: Ic9decbeaf57e9aba2f95c3dd616393dc32763fcc
7 years ago
Adam Tengler
62188969cc
Salt reactor features refactoring
Change-Id: Ifac3f5e03099e8190db0a3af62a7be1f762f87be
7 years ago