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

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

Issue 5962684784705536: Issue 1176 - Don`t include the apt module from nginx (Closed)
Patch Set: Created Aug. 6, 2014, 7:03 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 nginx ( 1 class nginx (
2 $worker_processes = $nginx::params::worker_processes, 2 $worker_processes = $nginx::params::worker_processes,
3 $worker_connections = $nginx::params::worker_connections, 3 $worker_connections = $nginx::params::worker_connections,
4 $ssl_session_cache = $nginx::params::ssl_session_cache 4 $ssl_session_cache = $nginx::params::ssl_session_cache
5 ) inherits nginx::params { 5 ) inherits nginx::params {
6 6
7 include apt
8
9 apt::source {'nginx': 7 apt::source {'nginx':
10 location => "http://nginx.org/packages/ubuntu", 8 location => "http://nginx.org/packages/ubuntu",
11 repos => "nginx", 9 repos => "nginx",
12 key => "ABF5BD827BD9BF62", 10 key => "ABF5BD827BD9BF62",
13 key_source => "http://nginx.org/keys/nginx_signing.key" 11 key_source => "http://nginx.org/keys/nginx_signing.key"
14 } 12 }
15 13
16 # Ensures that nginx is not installed from the Ubuntu sources 14 # Ensures that nginx is not installed from the Ubuntu sources
17 package {'nginx-common': 15 package {'nginx-common':
18 ensure => purged, 16 ensure => purged,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 120 }
123 121
124 service {'nginx': 122 service {'nginx':
125 ensure => running, 123 ensure => running,
126 enable => true, 124 enable => true,
127 restart => '/etc/init.d/nginx reload', 125 restart => '/etc/init.d/nginx reload',
128 hasstatus => true, 126 hasstatus => true,
129 require => File['/etc/nginx/nginx.conf'] 127 require => File['/etc/nginx/nginx.conf']
130 } 128 }
131 } 129 }
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