aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-12 12:14:14 -0700
committerDan Fandrich <danf@mageia.org>2024-10-12 12:17:52 -0700
commitd713ad19dd8e80e49c39ec36362ebbc440f8bcf3 (patch)
tree730b41347a623f4f8247d6290a4c8662fb78e784 /modules/blog
parent533ee08b901438fb2f64f4dabfe03448755cadb1 (diff)
downloadpuppet-d713ad19dd8e80e49c39ec36362ebbc440f8bcf3.tar
puppet-d713ad19dd8e80e49c39ec36362ebbc440f8bcf3.tar.gz
puppet-d713ad19dd8e80e49c39ec36362ebbc440f8bcf3.tar.bz2
puppet-d713ad19dd8e80e49c39ec36362ebbc440f8bcf3.tar.xz
puppet-d713ad19dd8e80e49c39ec36362ebbc440f8bcf3.zip
Ensure the s-nail package is installed
The check_new-blog-post.sh script uses this to send mails. Also make sure wget is there. Drop blog support for <mga8.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/manifests/init.pp12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp
index acd4516f..fb0ea146 100644
--- a/modules/blog/manifests/init.pp
+++ b/modules/blog/manifests/init.pp
@@ -15,14 +15,18 @@ class blog {
}
class files_bots inherits base {
-if versioncmp($::lsbdistrelease, '7') < 0 {
- package { ['php-mysql',
+if versioncmp($::lsbdistrelease, '9') < 0 {
+ package { ['php-mysqlnd',
'php-ldap',
- 'unzip']: }
+ 'unzip',
+ 'wget',
+ 'nail']: }
} else {
package { ['php-mysqlnd',
'php-ldap',
- 'unzip']: }
+ 'unzip',
+ 'wget',
+ 's-nail']: }
}
mga_common::local_script { 'check_new-blog-post.sh':