Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pillar: implement *_source as an alternative to *_content #105

Open
alxwr opened this issue Jun 4, 2019 · 0 comments
Open

Pillar: implement *_source as an alternative to *_content #105

alxwr opened this issue Jun 4, 2019 · 0 comments
Assignees

Comments

@alxwr
Copy link
Member

alxwr commented Jun 4, 2019

There's no need to funnel data through ca_content, ta_content and others. This just slows down Pillar.

In my Pillar definitions I have do to stunts like this which are just not needed if a source file is provided:

       ta_content: |
         {{ __salt__['cp.get_file_str']('/path/to/predefined/openvpn_tls_auth/'+name+'.ta.key')|indent(8) }}
@alxwr alxwr self-assigned this Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant