Update network.py
Merge pull request #9114 from itnihao/master

Update network.py [New function] Add get and mod hostname in network module
How to use pillar maps as environments

Example of how to use a pillar map as an environment for a command.
Merge pull request #9191 from 1mentat/patch-1

How to use pillar maps as environments