Closed baby-gnu closed 4 years ago
Best reviewed: commit by commit
Powered by Pull Assistant. Last update a8d61f4 ... e4ab335. Read the comment docs.
@baby-gnu Merged! Really appreciate all of the iterations you went through to get this ready. One of my favourite PRs for a long time!
As a little afterthought (perhaps consider for the next PR after discussing with the others): should we use _mapdata
everywhere or is it OK to stick with mapdata
in some places? For example, the sub-directory name.
:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
As a little afterthought (perhaps consider for the next PR after discussing with the others): should we use
_mapdata
everywhere or is it OK to stick withmapdata
in some places? For example, the sub-directory name.
That's an interesting question and I didn't even thought about it when creating the mapdata
directory in InSpec profile directory.
I consider the underscore in _mapdata
as a notice to users this is something you shouldn't bother, like in Python policy. So outside of user purpose directory the underscore as little meaning to me.
But we could also make it coherent everywhere and it could be renamed quickly to _mapdata
. There is no much to do for it ;-)
PR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?No.
Related issues and/or pull requests
Describe the changes you're proposing
This PR permits to validate the values gathered by
map.jinja
by:openssh._mapdata
state, used only for the CI (and the developpers), to generate a/tmp/salt_mapdata_dump.yaml
file/tmp/salt_mapdata_dump.yaml
file against a canonical sourcePillar / config required to test the proposed changes
N/A
Debug log showing how the proposed changes work
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context