From 185058d5903683884231bdb5b28f27e0814b49c4 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 12 Sep 2017 09:49:15 +0000 Subject: [PATCH] historical mirror: make rsyncd.conf a template --- modules/roles/manifests/historical_mirror.pp | 2 +- .../rsyncd.conf => templates/historical_mirror/rsyncd.conf.erb} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/roles/{files/historical_mirror/rsyncd.conf => templates/historical_mirror/rsyncd.conf.erb} (100%) diff --git a/modules/roles/manifests/historical_mirror.pp b/modules/roles/manifests/historical_mirror.pp index b6fc7006c..eb3230a37 100644 --- a/modules/roles/manifests/historical_mirror.pp +++ b/modules/roles/manifests/historical_mirror.pp @@ -34,7 +34,7 @@ class roles::historical_mirror { } rsync::site { 'archive': - source => 'puppet:///modules/roles/historical_mirror/rsyncd.conf', + content => template('roles/historical_mirror/rsyncd.conf.erb'), max_clients => 100, sslname => $sslname, binds => $binds, diff --git a/modules/roles/files/historical_mirror/rsyncd.conf b/modules/roles/templates/historical_mirror/rsyncd.conf.erb similarity index 100% rename from modules/roles/files/historical_mirror/rsyncd.conf rename to modules/roles/templates/historical_mirror/rsyncd.conf.erb -- 2.20.1