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

Delta Between Two Patch Sets: modules/adblockplus/manifests/web/static.pp

Issue 29689695: #7320 - Introduce helpcenter role (Closed)
Left Patch Set: Created Feb. 5, 2018, 5:59 p.m.
Right Patch Set: Some improvements Created Feb. 9, 2018, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/adblockplus/files/web/static/deploy_script.py ('k') | modules/adblockplus/templates/web/static.conf.erb » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # == Class: adblockplus::web::static 1 # == Class: adblockplus::web::static
2 # 2 #
3 # Manage a simple Nginx-based webserver for static content 3 # Manage a simple Nginx-based webserver for static content
4 # that uses a customizable deployment script to e.g. fetch the content 4 # that uses a customizable deployment script to e.g. fetch the content
5 # from a repository server (ref. http://hub.eyeo.com/issues/4523) 5 # from a repository server (ref. http://hub.eyeo.com/issues/4523)
6 # 6 #
7 # 7 #
8 # === Parameters: 8 # === Parameters:
9 # 9 #
10 # [*domain*] 10 # [*domain*]
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 63
64 adblockplus::user {$deploy_user: 64 adblockplus::user {$deploy_user:
65 authorized_keys => $deploy_user_authorized_keys, 65 authorized_keys => $deploy_user_authorized_keys,
66 ensure => $ensure, 66 ensure => $ensure,
67 password_hash => '*', 67 password_hash => '*',
68 shell => '/bin/bash', 68 shell => '/bin/bash',
69 groups => ['www-data'], 69 groups => ['www-data'],
70 } 70 }
71 71
72 file {"/home/$deploy_user/deploy_script.sh": 72 file {"/home/$deploy_user/deploy_script.py":
73 content => template('adblockplus/web/static_deploy_script.sh.erb'), 73 source => 'puppet:///modules/adblockplus/web/static/deploy_script.py',
74 ensure => $ensure, 74 ensure => $ensure,
75 mode => '0755', 75 mode => '0755',
76 owner => $deploy_user, 76 owner => $deploy_user,
77 } 77 }
78 78
79 } 79 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld