add grain for detecting mdadm devices
fix jenkins PEP8 & style
Remove double import
Fix OrderedDict import
Merge branch 'mdadm-grain' of https://github.com/pille/salt into pille-mdadm-grain
Clean up mdadm grain from #16396

Fix open filehandle, and fix traceback on minions with no /proc/mdstat.
Merge branch 'pille-mdadm-grain' into develop
Merge pull request #16450 from rallytime/fix_orderedDict_import

Fix OrderedDict import
Fix salt-cloud ec2 requests containing spaces.

salt-cloud receives an error when trying to create an EC2 instance when
any number of argument values contain a space. This happens because
salt-cloud is incorrectly building the url string when calculating the
signature. AWS signature algorithm #2 requires that spaces be encoded
using %20, however python's urlencode method replaces them with a +.
The easy fix is to just search and replace in the encoded string.

I encountered this myself with a security group with a space in it.
This was reported in issue #10181
https://github.com/saltstack/salt/issues/10181

The error looks like this:
someinstancename:
    ----------
    Errors:
        ----------
        Error:
            ----------
            Code:
                SignatureDoesNotMatch
            Message:
                The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
    RequestID:
        12345678-9abc-def0-1234-56789abcdef0
Merge pull request #16452 from markdoliner/develop

Fix salt-cloud ec2 requests containing spaces.
Fix formatting error
Fix again what was supposed to be fixed in PR#14101.

The initial problem was, that the <li> elements for the JS-generated
TOC weren't placed inside <ul></ul>, but after it.
Merge pull request #16474 from eliasp/develop-fix-pr-14101

Fix again what was supposed to be fixed in PR#14101.
Merge pull request #16449 from rallytime/fix_16448

Remove double import
Merge pull request #16461 from rallytime/fix_16408

Fix formatting error