{{% macro check_db_is_up_to_date(db_name) %}} /etc/dconf/db/{{{ db_name }}}

^/etc/dconf/db/{{{ db_name }}}.d/.*
var_dconf_{{{ db_name }}}_db_modified_time
{{% endmacro %}}

{{% macro check_db_criterion(db_name) %}} {{% endmacro %}}

{{{ oval_metadata("Make sure that the dconf databases are up-to-date with regards to respective keyfiles.") }}} {{{ check_db_criterion(dconf_gdm_dir.split(".")[0]) }}} {{% if dconf_gdm_dir.split(".")[0] != "local" %}} {{{ check_db_criterion("local") }}} {{% endif %}}

{{{ check_db_is_up_to_date(dconf_gdm_dir.split(".")[0]) }}} {{% if dconf_gdm_dir.split(".")[0] != "local" %}} {{{ check_db_is_up_to_date("local") }}} {{% endif %}}