diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/sympa.pp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index 04c166e..3c25d5d 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -28,7 +28,16 @@ class mail::sympa inherits mail::regexps { # Database configuration # database::instance { "$sympa_database_name": - password => "$sympa_database_password", + password => "$sympa_database_password", + privileges => $lsbdistcodename ? { + 'lenny' => 'all'. + default => [ 'alter_priv', 'alter_routine_priv', 'create_priv', + 'create_routine_priv', 'create_tmp_table_priv', + 'create_view_priv', 'delete_priv', 'drop_priv', + 'event_priv', 'execute_priv', 'grant_priv', + 'index_priv', 'insert_priv', 'lock_tables_priv', + 'references_priv', 'select_priv', 'show_view_priv', + 'trigger_priv', 'update_priv' ], } group { 'sympa': |