Skip to content

Instantly share code, notes, and snippets.

@m87carlson
Last active December 16, 2015 00:38
Show Gist options
  • Select an option

  • Save m87carlson/5348798 to your computer and use it in GitHub Desktop.

Select an option

Save m87carlson/5348798 to your computer and use it in GitHub Desktop.
{% if grains['kernel'] == 'FreeBSD' %}
pkg:
pkg.installed
{{ pillar.etc_prefix}}/pkg.conf:
file.managed:
- require:
- pkg: pkg
- source: salt://basepkgs/pkg.conf.jinja
- template: jinja
- context:
role: {{ pillar['role']['host'] }}
{{ pillar.etc_prefix }}/pkg/ssl/pkgng.pub:
file.managed:
- require:
- pkg: pkg
- source: salt://basepkgs/pkgng.pub
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment