Untitled

From Silly Dove, 8 Years ago, written in Plain Text, viewed 638 times.
URL https://p.gaa.st/view/62414646 Embed
Download Paste or View Raw
  1. root@appie:~/puppet# bzr diff
  2. === modified file 'manifests/site.pp'
  3. --- manifests/site.pp   2016-01-10 00:11:06 +0000
  4. +++ manifests/site.pp   2016-01-10 00:53:00 +0000
  5. @@ -232,9 +232,11 @@
  6.                         "code.bitlbee.org",
  7.                         "get.bitlbee.org",
  8.                         "wiki.bitlbee.org",
  9. +                       "bugs.bitlbee.org",
  10.                 ],
  11.                 uwsgi_apps => [
  12.                         "moin.ini",
  13. +                       "trac.ini",
  14.                 ],
  15.         }
  16.        
  17. @@ -242,7 +244,7 @@
  18.                 source => "puppet:///modules/files/moin/mywiki.py",
  19.         }
  20.        
  21. -       package { "trac":
  22. +       package { "trac", "git":
  23.                 ensure => installed,
  24.         }
  25.  }
  26.  
  27. === added file 'site/modules/nginx/files/sites/bugs.bitlbee.org'
  28. --- site/modules/nginx/files/sites/bugs.bitlbee.org     1970-01-01 00:00:00 +0000
  29. +++ site/modules/nginx/files/sites/bugs.bitlbee.org     2016-01-10 00:50:57 +0000
  30. @@ -0,0 +1,35 @@
  31. +server {
  32. +       listen 80;
  33. +       listen [::]:80;
  34. +
  35. +       # SSL configuration
  36. +       # And this one's the default/fallback server
  37. +       #
  38. +       listen 443 ssl;
  39. +       listen [::]:443 ssl;
  40. +
  41. +       ssl_certificate /etc/letsencrypt/live/bitlbee.org/fullchain.pem;
  42. +       ssl_certificate_key /etc/letsencrypt/live/bitlbee.org/privkey.pem;
  43. +
  44. +       root /var/www/org/bitlbee/bugs;
  45. +
  46. +       index index.html index.htm index.nginx-debian.html;
  47. +
  48. +       server_name bugs.bitlbee.org;
  49. +
  50. +       location / {
  51. +               uwsgi_pass unix:/var/tmp/trac.sock;
  52. +               include uwsgi_params;
  53. +       }
  54. +      
  55. +       location /chrome {
  56. +               alias /var/www/org/bitlbee/bugs/bitlbee/chrome;
  57. +       }
  58. +
  59. +       # deny access to .htaccess files, if Apache's document root
  60. +       # concurs with nginx's one
  61. +       #
  62. +       location ~ /\.ht {
  63. +               deny all;
  64. +       }
  65. +}
  66.  
  67. === added file 'site/modules/nginx/files/uwsgi/trac.ini'
  68. --- site/modules/nginx/files/uwsgi/trac.ini     1970-01-01 00:00:00 +0000
  69. +++ site/modules/nginx/files/uwsgi/trac.ini     2016-01-10 00:20:42 +0000
  70. @@ -0,0 +1,14 @@
  71. +[uwsgi]
  72. +uid = www-data
  73. +gid = www-data
  74. +socket = /var/tmp/trac.sock
  75. +chmod-socket = 660
  76. +
  77. +chdir = /var/www/org/bitlbee/bugs/
  78. +wsgi-file = /var/www/org/bitlbee/bugs/trac.wsgi
  79. +
  80. +[master]
  81. +workers = 3
  82. +max-requests = 200
  83. +harakiri = 30
  84. +die-on-term
  85.  
  86.  

Reply to "Untitled"

Here you can reply to the paste above