diff options
| author | Pascal Terjan <pterjan@mageia.org> | 2026-02-21 20:44:36 +0000 |
|---|---|---|
| committer | Pascal Terjan <pterjan@mageia.org> | 2026-02-21 21:23:57 +0000 |
| commit | e39155d4d5e21c385d4f9acbb632fae742f91a49 (patch) | |
| tree | 26a69db21fd0e604a2ab350146a990025867d9ac /modules | |
| parent | 87f75393fce3dc885a0606557bdc995a1dd82fc3 (diff) | |
| download | puppet-e39155d4d.tar puppet-e39155d4d.tar.gz puppet-e39155d4d.tar.bz2 puppet-e39155d4d.tar.xz puppet-e39155d4d.zip | |
Rename some classes to work with Puppet >= 4
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/apache/manifests/cve-2011-3192.pp | 9 | ||||
| -rwxr-xr-x | modules/bugzilla-dev/manifests/init.pp | 2 | ||||
| -rw-r--r-- | modules/mga-advisories/manifests/init.pp | 2 | ||||
| -rw-r--r-- | modules/mga-mirrors/manifests/init.pp | 2 | ||||
| -rw-r--r-- | modules/mga-treasurer/manifests/init.pp | 2 | ||||
| -rw-r--r-- | modules/spec-tree-reports/manifests/init.pp | 2 |
6 files changed, 5 insertions, 14 deletions
diff --git a/modules/apache/manifests/cve-2011-3192.pp b/modules/apache/manifests/cve-2011-3192.pp deleted file mode 100644 index 1e39ac04..00000000 --- a/modules/apache/manifests/cve-2011-3192.pp +++ /dev/null @@ -1,9 +0,0 @@ -class apache::cve-2011-3192 { - include apache::base - # temporary protection against CVE-2011-3192 - # https://httpd.apache.org/security/CVE-2011-3192.txt - apache::config { - "${apache::base::conf_d}/CVE-2011-3192.conf": - content => template('apache/CVE-2011-3192.conf'), - } -} diff --git a/modules/bugzilla-dev/manifests/init.pp b/modules/bugzilla-dev/manifests/init.pp index c6623872..b59cbdb7 100755 --- a/modules/bugzilla-dev/manifests/init.pp +++ b/modules/bugzilla-dev/manifests/init.pp @@ -1,4 +1,4 @@ -class bugzilla-dev { +class bugzilla_dev { $bugzilla_dev_location = '/usr/share/bugzilla/' diff --git a/modules/mga-advisories/manifests/init.pp b/modules/mga-advisories/manifests/init.pp index 1937bb62..8e64b516 100644 --- a/modules/mga-advisories/manifests/init.pp +++ b/modules/mga-advisories/manifests/init.pp @@ -1,4 +1,4 @@ -class mga-advisories( +class mga_advisories( $advisories_svn = "svn://svn.${::domain}/svn/advisories", $vhost ){ diff --git a/modules/mga-mirrors/manifests/init.pp b/modules/mga-mirrors/manifests/init.pp index 4b8b5552..b7b27741 100644 --- a/modules/mga-mirrors/manifests/init.pp +++ b/modules/mga-mirrors/manifests/init.pp @@ -1,4 +1,4 @@ -class mga-mirrors { +class mga_mirrors { $vhost = "mirrors.${::domain}" $mirrors_dir = '/var/www/mirrors' diff --git a/modules/mga-treasurer/manifests/init.pp b/modules/mga-treasurer/manifests/init.pp index d092e982..a0a63aa0 100644 --- a/modules/mga-treasurer/manifests/init.pp +++ b/modules/mga-treasurer/manifests/init.pp @@ -1,4 +1,4 @@ -class mga-treasurer( +class mga_treasurer( $grisbi_git = "git://git.${::domain}/org/accounts", $grisbi_filename = 'mageia-accounts.gsb', $vhost, diff --git a/modules/spec-tree-reports/manifests/init.pp b/modules/spec-tree-reports/manifests/init.pp index dc78ea72..6fa409e2 100644 --- a/modules/spec-tree-reports/manifests/init.pp +++ b/modules/spec-tree-reports/manifests/init.pp @@ -2,7 +2,7 @@ # in the repository versus the versions created by the latest spec files and # shows those that don't match. -class spec-tree-reports( +class spec_tree_reports( $report = '/var/www/bs/spec-rpm-mismatch.html', $srpms = 'file:///distrib/bootstrap/distrib/{version}/SRPMS/{media}/{section}/', $release = "mga${buildsystem::var::distros::distros['cauldron']['version']}", |
