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

Side by Side Diff: modules/rietveld/manifests/init.pp

Issue 5767755395497984: Noissue - Fix git reset command in module rietveld (Closed)
Patch Set: Created June 9, 2015, 10:36 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class rietveld( 1 class rietveld(
2 $domain, 2 $domain,
3 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $is_default = false, 5 $is_default = false,
6 $secret_key = hiera('rietveld::secret_key', ''), 6 $secret_key = hiera('rietveld::secret_key', ''),
7 $admins = hiera('rietveld::admins', []), 7 $admins = hiera('rietveld::admins', []),
8 $oauth2_client_id = hiera('rietveld::oauth2_client_id', ''), 8 $oauth2_client_id = hiera('rietveld::oauth2_client_id', ''),
9 $oauth2_client_secret = hiera('rietveld::oauth2_client_secret', ''), 9 $oauth2_client_secret = hiera('rietveld::oauth2_client_secret', ''),
10 ) { 10 ) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 exec {'install_appengine': 44 exec {'install_appengine':
45 command => 'unzip /home/rietveld/google_appengine.zip -d /opt', 45 command => 'unzip /home/rietveld/google_appengine.zip -d /opt',
46 user => 'root', 46 user => 'root',
47 creates => '/opt/google_appengine', 47 creates => '/opt/google_appengine',
48 require => [Exec['download_appengine'], Package['unzip']], 48 require => [Exec['download_appengine'], Package['unzip']],
49 } 49 }
50 50
51 exec {'get_rietveld': 51 exec {'get_rietveld':
52 command => "git clone https://github.com/rietveld-codereview/rietveld.git $r ietveld_home && cd $rietveld_home && git reset --HARD 87257f5", 52 command => "git clone https://github.com/rietveld-codereview/rietveld.git $r ietveld_home && cd $rietveld_home && git reset --hard 87257f5",
53 user => 'root', 53 user => 'root',
54 require => Package['git'], 54 require => Package['git'],
55 creates => $rietveld_home, 55 creates => $rietveld_home,
56 } 56 }
57 57
58 exec {'setup_rietveld': 58 exec {'setup_rietveld':
59 command => 'make update_revision mapreduce', 59 command => 'make update_revision mapreduce',
60 cwd => $rietveld_home, 60 cwd => $rietveld_home,
61 user => root, 61 user => root,
62 require => [Exec['get_rietveld'], Package['make', 'patch', 'subversion']], 62 require => [Exec['get_rietveld'], Package['make', 'patch', 'subversion']],
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 command => "/opt/wrappers/dev_appserver.py \ 108 command => "/opt/wrappers/dev_appserver.py \
109 --enable_sendmail --skip_sdk_update_check 109 --enable_sendmail --skip_sdk_update_check
110 --port 8080 ${rietveld_home}", 110 --port 8080 ${rietveld_home}",
111 user => 'rietveld', 111 user => 'rietveld',
112 require => [ 112 require => [
113 Exec['install_appengine', 'setup_rietveld'], 113 Exec['install_appengine', 'setup_rietveld'],
114 File['dev_appserver.py', '_python_runtime.py', 'config.ini'], 114 File['dev_appserver.py', '_python_runtime.py', 'config.ini'],
115 ], 115 ],
116 } 116 }
117 } 117 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld