Commit graph

4 commits

Author SHA1 Message Date
Imran Iqbal
06e5944133 Allow port to be configurable
Regex:

- `^`        Line start
- `#*\s*`    Find line even if commented out
- `(port)`   'port' -- capture as backreference `\1`
- `\s*=\s*`  Equals sign, whether or not surrounded by whitespace
- `\d{4,5}`  Existing port value, expected at 4/5 digits
- `(.*)`     Remainder (i.e. comment) -- capture as backreference `\2`
- `$`        Line end
2018-06-09 00:21:40 +01:00
Denys Havrysh
e62d137351 Do not fail states during mock test mode 2018-02-22 17:54:52 +02:00
Denys Havrysh
b4edec9f43 Ensure upstream repo is configured or absent depending on use_upstream_repo 2016-09-22 17:05:25 +03:00
Denys Havrysh
8c4dc07467 Map Pillar dicts for PostgreSQL entities to the Salt state arguments 2016-09-09 18:02:47 +03:00