lib/hiera/backend.rb
# Data lives in /var/lib/hiera by default.  If a backend
# supplies a datadir in the config it will be used and
# subject to variable expansion based on scope
Data lives in /var/lib/hiera by default.  If a backend
supplies a datadir in the config it will be used and
subject to variable expansion based on scope
Data lives in / var / lib / hiera by default . If a backend supplies a datadir in the config it will be used and subject to variable expansion based on scope
def datadir(backend, scope)
        backend = backend.to_sym
        default = Hiera::Util.var_dir
        if Config.include?(backend)
          parse_string(Config[backend][:datadir] || default, scope)
        else
          parse_string(default, scope)
        end
      end
def datadir ( backend , scope ) backend = backend . to_sym default = Hiera :: Util . var_dir if Config . include? ( backend ) parse_string ( Config [ backend ] [ :datadir ] || default , scope ) else parse_string ( default , scope ) end end
Data lives in /var/lib/hiera by default.
Data lives in / var / lib / hiera by default .
backend
<not_specific>
scope
<not_specific>