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 лет назад
Martin Polreich
148e1b89ed
Add option to disable automatic write of sysfs attributes
Fixes: PROD-23149 (PROD:23149)
Change-Id: I14c68a0a519a63951571f966fae72fd01ec2e556
6 лет назад
Ondrej Smola
6040a3f96d
added indexing for sysfs id
related bug: PROD-21512
Change-Id: I874535dbc6882ad49f133999209ae6a4c3bde403
6 лет назад
Ondrej Smola
ef9bd76e4b
added possibility to use list for sysfs params
Change-Id: Id9ffc5cbbbb10fd6136d459ed461151a1800e857
related-bug: PROD-21205
6 лет назад
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 лет назад
Filip Pytloun
361096c12a
Add support for sysfs
Change-Id: I29cfe2cd9dd39b74a1d39313f78dfddc87cb79b8
7 лет назад