瀏覽代碼

Make decisions

Users expect role authors to make decisions.  The role author is
supposed to be the expert who knows what choices to make on behalf of
the user.
Mike Ashley 9 年之前
父節點
當前提交
fc28baf6b8
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      CONTRIBUTING.md

+ 4
- 0
CONTRIBUTING.md 查看文件

@@ -14,6 +14,10 @@ You'll want to set up a [local development environment](https://github.com/sover
14 14
 
15 15
 Sovereign is an Ansible playbook that uses the modules in this repository to configure a server. Modules should conform to the following design principles.
16 16
 
17
+### Making decisions
18
+
19
+A module exists to make decisions about how a service should be installed and configured. Make these decisions and minimize or eliminate configuration options exposed to the user. When in doubt, make a decision, and if the community feedback is vocal enough, only then expose an option.
20
+
17 21
 ### Idempotency
18 22
 
19 23
 A module must be idempotent. If it's run once or many times, the result should be the same. This means that in some cases the user will be left with post-installation finalization work to do. Post-install finalization should be reduced or eliminated if possible, but not at the cost of idempotency.

Loading…
取消
儲存