diff --git a/manifests/module/ini.pp b/manifests/module/ini.pp index 67c775b..9f1cd34 100644 --- a/manifests/module/ini.pp +++ b/manifests/module/ini.pp @@ -20,6 +20,7 @@ $prefix = undef, $settings = {}, $zend = false, + $priority = '20', ) { include '::php::params' diff --git a/templates/module.ini.erb b/templates/module.ini.erb index 3c23dde..30314b8 100644 --- a/templates/module.ini.erb +++ b/templates/module.ini.erb @@ -1,5 +1,8 @@ ; NOTICE : File auto-generated by puppet, do not edit ; Enable <%= @modname %> extension module +<% if @osfamily == 'Debian' and @priority -%> +; priority=<%= @priority %> +<% end -%> <% if @zend == true -%> zend_extension=<%= @modname %>.so <% elsif @zend -%>