updates params
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -9,11 +9,11 @@ gem 'facter'
|
|||||||
gem 'rspec-puppet'
|
gem 'rspec-puppet'
|
||||||
gem 'yard'
|
gem 'yard'
|
||||||
gem 'puppet-strings', '< 2.0.0'
|
gem 'puppet-strings', '< 2.0.0'
|
||||||
gem 'rake'
|
|
||||||
gem 'semantic_puppet'
|
gem 'semantic_puppet'
|
||||||
gem 'rgen'
|
gem 'rgen'
|
||||||
gem 'public_suffix', '<= 2.0.5'
|
gem 'public_suffix', '<= 2.0.5'
|
||||||
gem 'parallel', '<= 1.13.0'
|
gem 'parallel', '<= 1.13.0'
|
||||||
|
gem 'rake', '~> 12.3', '>= 12.3.3'
|
||||||
|
|
||||||
# rspec must be v2 for ruby 1.8.7
|
# rspec must be v2 for ruby 1.8.7
|
||||||
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
||||||
|
|||||||
34
manifests/main/install.pp
Normal file
34
manifests/main/install.pp
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
## cd_clamav ::main::install.pp
|
||||||
|
# Module name: cd_clamav
|
||||||
|
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
||||||
|
# # License:
|
||||||
|
# This file is part of cd_clamav.
|
||||||
|
#
|
||||||
|
# cd_clamav is used for providing automatic configuration of
|
||||||
|
# <service / purpose>
|
||||||
|
# Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
# @summary Class manage all aspects of installing binaries required for
|
||||||
|
# cd_clamav
|
||||||
|
###############################################################################
|
||||||
|
class cd_clamav::main::install (
|
||||||
|
|
||||||
|
) inherits cd_clamav::params {
|
||||||
|
|
||||||
|
require cd_clamav::main::yumrepo
|
||||||
|
|
||||||
|
package {$reqpackages:
|
||||||
|
ensure => $pkg_ensure,
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
class cd_clamav::params (
|
class cd_clamav::params (
|
||||||
|
|
||||||
# installation
|
# installation
|
||||||
$reqpackages = ''
|
$reqpackages = ['clamav','clamd'],
|
||||||
$pkg_ensure = 'latest',
|
$pkg_ensure = 'latest',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user