Browse Source

Remove AFS puppet

This has all been replaced by Ansible roles and is no longer used

Change-Id: Ic807498ad3ca4f305b168464b86fe197a61b4d13
changes/42/771342/2
Ian Wienand 6 months ago
parent
commit
61e9d0948a
  1. 5
      doc/source/afs.rst
  2. 27
      manifests/site.pp
  3. 11
      modules/openstack_project/manifests/afsdb.pp
  4. 19
      modules/openstack_project/manifests/afsfs.pp
  5. 17
      modules/openstack_project/templates/mirror-update/afsmon.cfg.erb

5
doc/source/afs.rst

@ -27,11 +27,8 @@ At a Glance
* afs02.dfw.openstack.org (a second fileserver in DFW)
* afs01.ord.openstack.org (a fileserver in ORD)
* mirror-update.opendev.org (host running mirror update jobs)
:Puppet:
* https://opendev.org/opendev/puppet-openafs
* :git_file:`modules/openstack_project/manifests/afsdb.pp`
* :git_file:`modules/openstack_project/manifests/afsfs.pp`
:Ansible:
* :git_file:`playbooks/service-afs.yaml`
* :git_file:`playbooks/service-mirror.yaml`
* :git_file:`playbooks/service-mirror-update.yaml`
:Projects:

27
manifests/site.pp

@ -482,33 +482,6 @@ node /^kdc04\.open.*\.org$/ {
}
}
# Node-OS: xenial
node /^afsdb01\.open.*\.org$/ {
$group = "afsdb"
class { 'openstack_project::server': }
include openstack_project::afsdb
}
# Node-OS: xenial
node /^afsdb.*\.open.*\.org$/ {
$group = "afsdb"
class { 'openstack_project::server': }
include openstack_project::afsdb
}
# Node-OS: xenial
node /^afs.*\..*\.open.*\.org$/ {
$group = "afs"
class { 'openstack_project::server': }
include openstack_project::afsfs
}
# Node-OS: xenial
node /^ask\d*\.open.*\.org$/ {

11
modules/openstack_project/manifests/afsdb.pp

@ -1,11 +0,0 @@
# AFS DB Server
class openstack_project::afsdb (
) {
class { '::openstack_project::afsfs': }
class { '::openafs::dbserver':
require => Class['Openstack_project::Afsfs'],
}
}

19
modules/openstack_project/manifests/afsfs.pp

@ -1,19 +0,0 @@
# AFS Fileserver/BOS
class openstack_project::afsfs (
$cell = 'openstack.org',
) {
class { '::openafs::fileserver':
cell => $cell,
dbservers => [
{
name => 'afsdb01.openstack.org',
ip => '104.130.136.20',
},
{
name => 'afsdb02.openstack.org',
ip => '23.253.200.228',
},
],
}
}

17
modules/openstack_project/templates/mirror-update/afsmon.cfg.erb

@ -1,17 +0,0 @@
[main]
# Enable debugging output
debug = True
# If specified, all fileservers in this cell will be queried
cell = openstack.org
# You can specify a specific list of fileservers. This is appended to
# the cell fileservers if present, otherwise is the canonical list
#fileservers = afs01.dfw.openstack.org
# fileserver02.afs.company.com
# fileserver03.afs.company.com
# Options for remote statsd host if required
[statsd]
host = graphite.opendev.org
port = 8125
Loading…
Cancel
Save