Closed Bug 760308 Opened 8 years ago Closed 8 years ago

remove python-psycopg2 and simplejson RPMs from socorro staging

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: cturra)

References

Details

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
Blocks: 760305
Component: Server Operations → Server Operations: Web Operations
QA Contact: phong → cshields
Assignee: server-ops → cturra
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.
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
Closed: 8 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.