Catch empty arrays.
Fix condition expression in krb5 template

Signed-off-by: Lukas Bednar <lbednar@redhat.com>
Use "at" to address variables inside of templates

Addressing variables inside of template is depricated.
It also caused parse failure inside of /etc/sysconfig/nfs template,
on 'debug' variable because is has conflict with build-in function.

Signed-off-by: Lukas Bednar <lbednar@redhat.com>
Adding support for hiera data lookup

This patch adds option to use hiera in order to make this module
OS independent using data-in-modules technique.

Signed-off-by: Lukas Bednar <lbednar@redhat.com>