【发布时间】:2019-03-08 07:41:01
【问题描述】:
我正在尝试将我的用户帐户定义为 Hiera 中的哈希,如下所示:
---
accounts::user:
jack:
ensure: present
bashrc_content: file('accounts/shell/bashrc')
bash_profile_content: file('accounts/shell/bash_profile')
如果我在我的 *.pp 文件中定义它们,它就可以正常工作。
请在GistGist上找到有关 hiera.yaml、manifest 和 users.yamal 的更多详细信息
为什么这不起作用?
【问题讨论】:
标签: puppet