remove python-psycopg2 and simplejson RPMs from socorro staging

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: rhelmer, Assigned: cturra)

Tracking

Details

(Reporter)

Description

6 years ago
As of bug 751654, Socorro ships along with the Python deps it needs, instead of depending on system packages.

Can we please remove these two packges from Socorro staging?:

python-psycopg2
simplejson
(Reporter)

Updated

6 years ago
Blocks: 760305
Component: Server Operations → Server Operations: Web Operations
QA Contact: phong → cshields
(Assignee)

Updated

6 years ago
Assignee: server-ops → cturra
(Assignee)

Comment 1

6 years ago
going to need to break out a stage.pp puppet module to ensure these packages are absent versus present like they currently are across all environments.
(Assignee)

Comment 2

6 years ago
added new python/socorro-stage.pp file for package definitions and removed requirement for python-psycopg2 and simplejson for stage as requested (commit revision 39903). 

$ svn diff 
Index: python.pp
===================================================================
--- python.pp	(revision 39896)
+++ python.pp	(working copy)
@@ -1,20 +1,9 @@
 class webapp::socorro::python (
     $cluster = socorro
     ){
+    
+    class { "webapp::socorro::python::$cluster": }
 
-    package {
-        'python-psycopg2':
-            ensure => present;
-        'python-simplejson':
-            ensure => present;
-        'python-isodate':
-            ensure => latest;
-        'python-poster':
-            ensure => latest;
-        'lxml':
-            ensure => latest;
-    }
-
     ssh_authorized_key {
         'socorro@sp-admin01.phx1.mozilla.com':
             ensure => present,
Index: python/socorro-stage.pp
===================================================================
--- python/socorro-stage.pp	(revision 0)
+++ python/socorro-stage.pp	(revision 0)
@@ -0,0 +1,16 @@
+class webapp::socorro::python::socorro-stage {
+
+	package {
+	  'python-psycopg2':
+		ensure => absent;
+	  'python-simplejson':
+		ensure => absent;
+	  'python-isodate':
+		ensure => latest;
+	  'python-poster':
+		ensure => latest;
+	  'lxml':
+		ensure => latest;
+	} 
+
+}
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.