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

Add optional {{ source }} to config files #97

Merged
merged 2 commits into from
Jun 22, 2017

Conversation

0xf10e
Copy link
Contributor

@0xf10e 0xf10e commented Jun 21, 2017

As proposed in the "{{ source }} in formulas" thread on [salt-users] with the __formulas pillar-key suggested by @whiteinge.

By default (if pillar[__formulas:print_template_url] and pillar[openssh-formula:print_template_url] are left unset) a block like the following will be added to the config files:

# Template used to generate this file:         
# salt://openssh/files/ssh_config

The preference can be set pillar[__formulas:print_template_url] for cross-formula purposes with pillar[openssh-formula:print_template_url] as a local override.

@whiteinge whiteinge merged commit 8dbb1e9 into saltstack-formulas:master Jun 22, 2017
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

Successfully merging this pull request may close these issues.

2 participants