From 89df62feb89ca3a9c275d9f9059355d559f9d2c2 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 6 May 2024 12:52:51 +0200 Subject: [PATCH] drop stagingyum from rsync config --- puppet/modules/profiles/manifests/web.pp | 3 --- puppet/modules/web/manifests/vhost/stagingyum.pp | 12 ------------ 2 files changed, 15 deletions(-) diff --git a/puppet/modules/profiles/manifests/web.pp b/puppet/modules/profiles/manifests/web.pp index 3683e1226..185115037 100644 --- a/puppet/modules/profiles/manifests/web.pp +++ b/puppet/modules/profiles/manifests/web.pp @@ -61,8 +61,5 @@ } contain web::vhost::yum - class { 'web::vhost::stagingyum': - rsync_max_connections => $rsync_max_connections, - } contain web::vhost::stagingyum } diff --git a/puppet/modules/web/manifests/vhost/stagingyum.pp b/puppet/modules/web/manifests/vhost/stagingyum.pp index 938cc60e2..c44b0e79f 100644 --- a/puppet/modules/web/manifests/vhost/stagingyum.pp +++ b/puppet/modules/web/manifests/vhost/stagingyum.pp @@ -5,7 +5,6 @@ Stdlib::Absolutepath $yum_directory = '/var/www/vhosts/stagingyum/htdocs', String $user = 'yumrepostage', Stdlib::Absolutepath $home = "/home/${user}", - Integer[0] $rsync_max_connections = 5, Array[String[1]] $usernames = ['ehelms', 'evgeni', 'ekohl', 'Odilhao', 'pcreech', 'zhunting'], ) { $yum_directory_config = [ @@ -51,17 +50,6 @@ directories => $yum_directory_config, } - include rsync::server - rsync::server::module { 'stagingyum': - path => $yum_directory, - list => true, - read_only => true, - comment => $servername, - uid => 'nobody', - gid => 'nobody', - max_connections => $rsync_max_connections, - } - ['HEADER.html', 'robots.txt'].each |$filename| { file { "${yum_directory}/${filename}": ensure => file,