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

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

Issue 29323178: Issue 2849 - Drop HTTP trac-hacks.org downloads in favour of HTTPS (Closed)
Patch Set: Created Aug. 3, 2015, 12:50 p.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 trac( 1 class trac(
2 $domain, 2 $domain,
3 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $fcgi_config_dir = '/etc/nginx/trac.d', 5 $fcgi_config_dir = '/etc/nginx/trac.d',
6 $is_default = false) inherits private::trac { 6 $is_default = false) inherits private::trac {
7 7
8 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: 8 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']:
9 ensure => present 9 ensure => present
10 } 10 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin', 42 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
43 } 43 }
44 44
45 exec { 'install_trac': 45 exec { 'install_trac':
46 command => "pip install Trac==1.0.1", 46 command => "pip install Trac==1.0.1",
47 require => Package['python-pip'], 47 require => Package['python-pip'],
48 unless => "python -c 'import trac,sys;sys.exit(0 if trac.__version__ == \"1. 0.1\" else 1)'", 48 unless => "python -c 'import trac,sys;sys.exit(0 if trac.__version__ == \"1. 0.1\" else 1)'",
49 } 49 }
50 50
51 exec { 'install_BlackMagicTicketTweaks': 51 exec { 'install_BlackMagicTicketTweaks':
52 command => "pip install svn+http://trac-hacks.org/svn/blackmagictickettweaks plugin/0.12/", 52 command => "pip install svn+https://trac-hacks.org/svn/blackmagictickettweak splugin/0.12/",
53 require => Package['subversion', 'python-pip'], 53 require => Package['subversion', 'python-pip'],
54 unless => "python -c 'import blackmagic'", 54 unless => "python -c 'import blackmagic'",
55 } 55 }
56 56
57 exec { 'install_SensitiveTickets': 57 exec { 'install_SensitiveTickets':
58 command => "pip install svn+http://trac-hacks.org/svn/sensitiveticketsplugin /trunk/", 58 command => "pip install svn+https://trac-hacks.org/svn/sensitiveticketsplugi n/trunk/",
59 require => Package['subversion', 'python-pip'], 59 require => Package['subversion', 'python-pip'],
60 unless => "python -c 'import sensitivetickets'", 60 unless => "python -c 'import sensitivetickets'",
61 } 61 }
62 62
63 exec { 'install_AccountManager': 63 exec { 'install_AccountManager':
64 command => "pip install svn+http://trac-hacks.org/svn/accountmanagerplugin/t ags/acct_mgr-0.4.4/", 64 command => "pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/ tags/acct_mgr-0.4.4/",
65 require => Package['subversion', 'python-pip'], 65 require => Package['subversion', 'python-pip'],
66 unless => "python -c 'import acct_mgr'", 66 unless => "python -c 'import acct_mgr'",
67 } 67 }
68 68
69 exec { 'install_TicketTemplate': 69 exec { 'install_TicketTemplate':
70 command => "pip install svn+http://trac-hacks.org/svn/tractickettemplateplug in/0.11/", 70 command => "pip install svn+https://trac-hacks.org/svn/tractickettemplateplu gin/0.11/",
71 require => Package['subversion', 'python-pip'], 71 require => Package['subversion', 'python-pip'],
72 unless => "python -c 'import tickettemplate'", 72 unless => "python -c 'import tickettemplate'",
73 } 73 }
74 74
75 exec { 'install_AutocompleteUsers': 75 exec { 'install_AutocompleteUsers':
76 command => "pip install svn+http://trac-hacks.org/svn/autocompleteusersplugi n/trunk/", 76 command => "pip install svn+https://trac-hacks.org/svn/autocompleteusersplug in/trunk/",
77 require => Package['subversion', 'python-pip'], 77 require => Package['subversion', 'python-pip'],
78 unless => "python -c 'import autocompleteusers'", 78 unless => "python -c 'import autocompleteusers'",
79 } 79 }
80 80
81 exec { 'install_MasterTickets': 81 exec { 'install_MasterTickets':
82 command => "pip install svn+http://trac-hacks.org/svn/masterticketsplugin/tr unk/", 82 command => "pip install svn+https://trac-hacks.org/svn/masterticketsplugin/t runk/",
83 require => Package['subversion', 'python-pip', 'graphviz'], 83 require => Package['subversion', 'python-pip', 'graphviz'],
84 unless => "python -c 'import mastertickets'", 84 unless => "python -c 'import mastertickets'",
85 } 85 }
86 86
87 exec { 'install_NeverNotifyUpdater': 87 exec { 'install_NeverNotifyUpdater':
88 command => "pip install svn+http://trac-hacks.org/svn/nevernotifyupdaterplug in/1.0/", 88 command => "pip install svn+https://trac-hacks.org/svn/nevernotifyupdaterplu gin/1.0/",
89 require => Package['subversion', 'python-pip'], 89 require => Package['subversion', 'python-pip'],
90 unless => "python -c 'import nevernotifyupdaterplugin'", 90 unless => "python -c 'import nevernotifyupdaterplugin'",
91 } 91 }
92 92
93 exec { 'install_ThemeEngine': 93 exec { 'install_ThemeEngine':
94 command => "pip install TracThemeEngine", 94 command => "pip install TracThemeEngine",
95 require => Package['python-pip'], 95 require => Package['python-pip'],
96 unless => "python -c 'import themeengine'", 96 unless => "python -c 'import themeengine'",
97 } 97 }
98 98
99 package { 'spambayes': 99 package { 'spambayes':
100 ensure => "installed" 100 ensure => "installed"
101 } 101 }
102 102
103 exec { 'install_TracSpamFilter': 103 exec { 'install_TracSpamFilter':
104 command => "pip install svn+http://svn.edgewall.com/repos/trac/plugins/1.0/s pam-filter", 104 command => "pip install svn+http://svn.edgewall.com/repos/trac/plugins/1.0/s pam-filter",
105 require => Package[ 105 require => Package[
106 'spambayes', 106 'spambayes',
107 'python-pip'], 107 'python-pip'],
108 unless => "python -c 'import tracspamfilter'", 108 unless => "python -c 'import tracspamfilter'",
109 } 109 }
110 110
111 exec { 'install_Tractags': 111 exec { 'install_Tractags':
112 command => "pip install svn+http://trac-hacks.org/svn/tagsplugin/tags/0.7/", 112 command => "pip install svn+https://trac-hacks.org/svn/tagsplugin/tags/0.7/" ,
113 require => Package['python-pip'], 113 require => Package['python-pip'],
114 unless => "python -c 'import tractags'", 114 unless => "python -c 'import tractags'",
115 } 115 }
116 116
117 exec { 'install_PrivateTickets': 117 exec { 'install_PrivateTickets':
118 command => "pip install svn+http://trac-hacks.org/svn/privateticketsplugin/t ags/2.0.2/", 118 command => "pip install svn+https://trac-hacks.org/svn/privateticketsplugin/ tags/2.0.2/",
119 require => Package['subversion', 'python-pip'], 119 require => Package['subversion', 'python-pip'],
120 unless => "python -c 'import privatetickets'", 120 unless => "python -c 'import privatetickets'",
121 } 121 }
122 122
123 file { '/home/trac/trac.ini': 123 file { '/home/trac/trac.ini':
124 ensure => present, 124 ensure => present,
125 source => 'puppet:///modules/trac/trac.ini', 125 source => 'puppet:///modules/trac/trac.ini',
126 owner => 'trac', 126 owner => 'trac',
127 mode => 644, 127 mode => 644,
128 } 128 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 fcgi_app => "/home/trac/htdocs-$name/cgi-bin/trac.fcgi", 237 fcgi_app => "/home/trac/htdocs-$name/cgi-bin/trac.fcgi",
238 socket => "/tmp/${name}-fastcgi.sock", 238 socket => "/tmp/${name}-fastcgi.sock",
239 mode => "0666", 239 mode => "0666",
240 user => trac, 240 user => trac,
241 children => 1, 241 children => 1,
242 require => Exec["deploy_$name"], 242 require => Exec["deploy_$name"],
243 } 243 }
244 } 244 }
245 } 245 }
246 246
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