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 years ago
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 years ago
Ondrej Smola
bace671737
improve mkfs condition and make fs_type for partitioning optional
Change-Id: Iba8126cadc80c0de04baf3cc65d0868aa147bc01
7 years ago
Piotr Kruk
d51911ba5c
add startsector for partitions
7 years ago
Tomáš Kukrál
0b7a6bf8ba
probe partitions after creating them
Change-Id: I06994fec6f4771317f540d3e4339ff4460a5a493
7 years ago
Ondrej Smola
751c8dd53f
fix for conflict id for disk label, added package for xfs
Change-Id: I6d1ba01efff16d41c5e91973d46aaaa7ea3caca5
7 years ago
Jakub Pavlik
8e2140a8f4
Extend by mkfs for XFS filesystem
Change-Id: I3a6a8fc227cb9abd785b342584038e34d57a4175
7 years ago
Filip Pytloun
71abe455fb
Use unless to determine whether to create partition
Change-Id: I1c35eb045a46b95f75c7101567d4c4f340b787ab
7 years ago
Jakub Pavlik
caeb611a2d
add package parted
Change-Id: I92b5e7b09f6478c190e96819aa279022364f1730
7 years ago
Jakub Pavlik
4f74214491
Disk partitioning
Ability to create partitions on empty disks.
Change-Id: I0a71da9d62d8f7df3fa03e3f34d49bad6988ba6d
7 years ago