}in my profile manifest it works just fine...
if instead I try to specify the same value in hiera, vis:
apache::mod::php::php_version: '7.2'
in either the bionic.yaml
or the nodes definition yaml
it gets ignored
puppet run fails with a package libapache2-mod-php7.0 not found error,
or the link reverted, thus;
Notice: /Stage[main]/Apache/File[/etc/apache2/mods-enabled/php7.2.conf]/ensure: removed
Notice: /Stage[main]/Apache/File[/etc/apache2/mods-enabled/php7.2.load]/ensure: removed