OK, sorted - PEBKAC...

in removing the config in the profile I removed mod php completely... doh

On Thursday, 20 June 2019 02:39:34 UTC+10, Paul van den Bergen wrote:
>
> Hey folks,
>
> working with an older apache puppet module - 3.1.0 - that doesn't have use 
> cases for bionic so I need to set my php version manually.
>
> if I include
>
>   class { '::apache::mod::php':
>     php_version => '7.2'  # bionic
>   }
>
> 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
>
>
> Any suggestions for other things to try or what  I'm missing gratefully 
> appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4d75278f-b9b0-454b-9711-bab832bfe318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to