Matthew Thode
e85db680ac
allow use of new state syntax for module.run
The new syntax has been supported since ~2017.
From the docs, in case they change:
! New Style
test.random_hash:
module.run:
- test.random_hash:
- size: 42
- hash_type: sha256
! Legacy Style
test.random_hash:
module.run:
- size: 42
- hash_type: sha256
4 år sedan
Kyle Gullion
d76caca091
Allow swap to be completely disabled
4 år sedan
marek-knappe
1355cf35ae
Fixes #198 ( #212 )
5 år sedan
Bruno Binet
6278efc19c
Fix missing json filter to support salt v2019.2
See salt issues #48309 #51925
5 år sedan
preussal
8c8aee82ff
LVM create LV´s first ( #175 )
* update lvm to create lv´s first
* add force: true for "Wiping fs signature"
* update mount first
6 år sedan
Ivan Berezovskiy
17cb8b5d01
Disable/enable for swap entities
* Add ability to disable some swap entities and enable others
Change-Id: Ic2f947f7b9fc6f29411a9171d68eb0836fce29ed
Related-task: #PROD-23150 (PROD:23150)
6 år sedan
Michael Fladischer
1e41e3065d
Use items() instead of iteritems() for Python3 compatibility.
iteritems() was dropped in recent Python3 releases and items() is compatible
with Python 2.7.
6 år sedan
Vasyl Saienko
d458e6449b
Fix crating multiple loopback devices
This patch fixes issue with duplicate task IDs when multiple
loopback devices should be added, and they stored in the same
directory.
Change-Id: Iae0027b6ee187f5366967e667380dfb3eae232fc
Related-Prod: PROD-17620
6 år sedan
Ondrej Smola
b97ac007d9
move lvm config and service before managing VG and LV
Change-Id: If76a9d1aa3d23f3c38ec2135b42d63f64c4b1332
7 år sedan
Ondrej Smola
bace671737
improve mkfs condition and make fs_type for partitioning optional
Change-Id: Iba8126cadc80c0de04baf3cc65d0868aa147bc01
7 år sedan
Piotr Kruk
d51911ba5c
add startsector for partitions
7 år sedan
Tomáš Kukrál
0b7a6bf8ba
probe partitions after creating them
Change-Id: I06994fec6f4771317f540d3e4339ff4460a5a493
7 år sedan
Ondrej Smola
751c8dd53f
fix for conflict id for disk label, added package for xfs
Change-Id: I6d1ba01efff16d41c5e91973d46aaaa7ea3caca5
7 år sedan
Jakub Pavlik
8e2140a8f4
Extend by mkfs for XFS filesystem
Change-Id: I3a6a8fc227cb9abd785b342584038e34d57a4175
7 år sedan
Filip Pytloun
71abe455fb
Use unless to determine whether to create partition
Change-Id: I1c35eb045a46b95f75c7101567d4c4f340b787ab
7 år sedan
Jakub Pavlik
caeb611a2d
add package parted
Change-Id: I92b5e7b09f6478c190e96819aa279022364f1730
7 år sedan
Jakub Pavlik
4f74214491
Disk partitioning
Ability to create partitions on empty disks.
Change-Id: I0a71da9d62d8f7df3fa03e3f34d49bad6988ba6d
7 år sedan
car-da
fc7140507e
sort mount points
Usually you need define order for mounting volumes in one path like mount first /opt and then /opt/cms etc.
7 år sedan
Jiri Broulik
b916c8e9e5
parametrize lvm filters
Change-Id: I556ab82a1dc0ce711958404165e419275ff5ce19
7 år sedan
Jiri Broulik
27ca5dd7b2
lvm filter fix
Change-Id: I9967f867b8695e4a5bc4759ca81eebe5ef2309c1
7 år sedan
tomas kamm
71954dc575
fix order for storage: first create lv and next mount this lv
7 år sedan
Jiri Broulik
b845058fe5
nfs filesystem mount fix
7 år sedan
Filip Pytloun
8578aafdde
Fix typo and test
Change-Id: I93e135a9366c1f7c93397dfa0c342428fb64eb1c
7 år sedan
Filip Pytloun
e9bcd2d6dd
Setup LV before mkfs
Change-Id: Ib4cb70615af8da2f1037b0a43520c215365979ba
7 år sedan
Bruno Binet
e3c04fd535
Prefer "pkgs" rather than "names" when using pkg.installed
"names" makes a separate call to the package management frontend to
install each package, whereas "pkgs" makes just a single call so that it
improves performance.
7 år sedan
Simon Pasquier
375001e027
Add linux.storage.loopback state
This state allows to configure loopback device(s). This isn't meant to
be used in production but offers a cheap way to test Cinder with LVM
volumes.
8 år sedan
Simon Pasquier
6b6058fd3a
Support no volume for linux.storage.lvm state
8 år sedan
Simon Pasquier
a4eb313e4f
Fix linux.storage state to support lvm
8 år sedan
Simon Pasquier
1f75d30237
Fix the linux.storage.mount state for tmpfs
8 år sedan
Ales Komarek
86c2311801
Fix the multipath condition
8 år sedan
Ales Komarek
a634f4ba38
Refactored multipath support
8 år sedan
Ales Komarek
3a9faa53ed
Container metadata
8 år sedan
Alena Holanova
c48d0f30bf
clean up
8 år sedan
Alena Holanova
48a3a1ae69
fix xfs tools
8 år sedan
Filip Pytloun
6f9326c625
Fix installation of xfsprogs
9 år sedan
Filip Pytloun
a690294251
Fix previous commit
9 år sedan
Filip Pytloun
e1b00b85ed
Allow setting VG and LV names from parameter
9 år sedan
Filip Pytloun
bd3e303410
Allow setting mountpoint permissions
9 år sedan
Filip Pytloun
3954bad18c
Install xfsprogs when needed
9 år sedan
Ales Komarek
9e861367cf
Do not create fs for nfs4
9 år sedan
Lachlan Evenson
83c06ca0db
fix swap file check
9 år sedan
Lachlan Evenson
7277ba9601
add onlyif statement
9 år sedan
Lachlan Evenson
7f83d9f038
change to swap.device variable
9 år sedan
Lachlan Evenson
3067651fd3
add swap partition support
9 år sedan
Filip Pytloun
44e2e19b96
Fix LVM setup
9 år sedan
Filip Pytloun
c8a001aee1
Support for LVM
9 år sedan
Ales Komarek
d8fee8492b
Monitoring metadata, mount dont create fs for nfs
9 år sedan
Filip Pytloun
f5383a44be
Initial commit
9 år sedan