Created
June 8, 2015 21:22
-
-
Save sygibson/3bb35eeb2618f2a098a7 to your computer and use it in GitHub Desktop.
global vars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi: set ft=yaml.jinja : | |
{% set cluster = salt['pillar.get']('ceph:cluster_name') -%} | |
{% set conf_file = '/etc/ceph/' + cluster + '.conf' -%} | |
{% set admin_keyring = '/etc/ceph/' + cluster + '.client.admin.keyring' -%} | |
{% set bootstrap_osd_keyring = '/var/lib/ceph/bootstrap-osd/' + cluster + '.keyring' -%} | |
# 'host' does not include fqdn info - and salt is setup w/ fqdn for matching nodes | |
# if we don't use fqdn then all of the states will break | |
{% set host = salt['config.get']('fqdn') -%} | |
{% set mon_interface = salt['pillar.get']('ceph:mon:interface') -%} | |
{% set fsid = salt['pillar.get']('ceph:global:fsid') -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment