Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/filtermaster/templates/sshd_rsync.erb

Issue 29329102: Issue 3091 - Integrate contentblockerlists with Puppet (Closed)
Patch Set: Created Oct. 13, 2015, 4:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/filtermaster/manifests/repo_download.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/filtermaster/templates/sshd_rsync.erb
diff --git a/modules/filtermaster/templates/sshd_rsync.erb b/modules/filtermaster/templates/sshd_rsync.erb
new file mode 100644
index 0000000000000000000000000000000000000000..e13a10cd239df9978cda14436b840661aa68b030
--- /dev/null
+++ b/modules/filtermaster/templates/sshd_rsync.erb
@@ -0,0 +1,13 @@
+Match User rsync
+ AllowTcpForwarding no
+ X11Forwarding no
+ AllowAgentForwarding no
+ GatewayPorts no
+ ForceCommand rsync --server --sender -vltprz --delete-excluded .<%
+ @repo_downloads.sort.each do |key,repo|
+ (repo['static_files'] or []).each do |name|
+ %> /home/rsync/subscription/<%= key %>/<%= name %><%
+ end
+ end
+ %> /home/rsync/generated/data/
+
« no previous file with comments | « modules/filtermaster/manifests/repo_download.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld