From 2f3956198ad19361d26c5d5525bb69c31e479d06 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 17 Apr 2014 10:40:52 -0700 Subject: [PATCH] Remove activity-dev server It is not in use currently. Change-Id: Iac53d2af79249448f14211a0f4a4972e46e10703 --- doc/source/activity.rst | 6 +- manifests/site.pp | 9 --- .../manifests/activity_dev.pp | 56 ------------------- 3 files changed, 2 insertions(+), 69 deletions(-) delete mode 100644 modules/openstack_project/manifests/activity_dev.pp diff --git a/doc/source/activity.rst b/doc/source/activity.rst index af9007e961..be75f39c5e 100644 --- a/doc/source/activity.rst +++ b/doc/source/activity.rst @@ -12,7 +12,6 @@ At a glance: :Hosts: * http://activity.openstack.org - * http://activity-dev.openstack.org :Bugs: * https://bugs.launchpad.net/openstack-community @@ -25,6 +24,5 @@ At a glance: Overview ======== -At the moment only the staging server activity-dev is managed via -puppet. It runs Apache. Eventually we'll have activity.openstack.org run -fully on the official OpenStack Infrastructure. +Eventually we'll have activity.openstack.org run fully on the official +OpenStack Infrastructure. diff --git a/manifests/site.pp b/manifests/site.pp index 6fc551fc8b..40ab62513a 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -221,15 +221,6 @@ node 'etherpad-dev.openstack.org' { } } -node 'activity-dev.openstack.org' { - class { 'openstack_project::activity_dev': - sysadmins => hiera('sysadmins'), - site_admin_password => hiera('activity_dev_site_admin_password'), - site_mysql_host => hiera('activity_dev_site_mysql_host'), - site_mysql_password => hiera('activity_dev_site_mysql_password'), - } -} - node 'wiki.openstack.org' { class { 'openstack_project::wiki': mysql_root_password => hiera('wiki_db_password'), diff --git a/modules/openstack_project/manifests/activity_dev.pp b/modules/openstack_project/manifests/activity_dev.pp deleted file mode 100644 index 6eadd817f9..0000000000 --- a/modules/openstack_project/manifests/activity_dev.pp +++ /dev/null @@ -1,56 +0,0 @@ -# Server for activity board - staging -class openstack_project::activity_dev ( - $site_admin_password = '', - $site_mysql_password = '', - $site_mysql_host = '', - $sysadmins = [], -) { - - - class { 'openstack_project::server': - iptables_public_tcp_ports => [22, 80], - sysadmins => $sysadmins, - } - - realize ( - User::Virtual::LocalUser['smaffulli'], - ) - - include apache - - a2mod { 'rewrite': - ensure => present, - } - a2mod { 'proxy': - ensure => present, - } - a2mod { 'proxy_http': - ensure => present, - } - - apache::vhost {'activity-dev.openstack.org': - port => 80, - priority => '50', - docroot => '/srv/static/dash', - require => File['/srv/static/dash'], - } - - file { '/srv/static/dash': - ensure => directory, - owner => 'www-data', - group => 'www-data', - mode => '0775', - require => [ - File['/srv/static'], - Package['apache2'], - ] - } - - file { '/srv/static': - ensure => directory, - owner => 'root', - group => 'root', - mode => '0755', - } - -}