Dzahn has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/346924 )
Change subject: delete netmon::migration class, not needed anymore ...................................................................... delete netmon::migration class, not needed anymore This was a temporary setup to migrate netmon1001 to jessie. It has done the job and can be removed now. Gerrit2001 was just a random place to temp. store data since it is not in prod yet. Change-Id: I1c77a0f01a3da1cc2e2e723a226df18ae731e83b --- M manifests/site.pp D modules/role/manifests/netmon/migration.pp 2 files changed, 0 insertions(+), 64 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/24/346924/1 diff --git a/manifests/site.pp b/manifests/site.pp index a7a729d..4dfe31f 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1094,7 +1094,6 @@ # upcoming gerrit server in codfw (T152525) node 'gerrit2001.wikimedia.org' { - role('netmon::migration') include ::standard interface::add_ip6_mapped { 'main': } } diff --git a/modules/role/manifests/netmon/migration.pp b/modules/role/manifests/netmon/migration.pp deleted file mode 100644 index 0308bd7..0000000 --- a/modules/role/manifests/netmon/migration.pp +++ /dev/null @@ -1,63 +0,0 @@ -# temp. role to copy netmon1001 data for migration -class role::netmon::migration { - - $sourceip='208.80.154.159' - - ferm::service { 'netmon-migration-rsync': - proto => 'tcp', - port => '873', - srange => "${sourceip}/32", - } - - include rsync::server - - file { [ '/srv/netmon1001', - '/srv/netmon1001/librenms', - '/srv/netmon1001/librenms/var', - '/srv/netmon1001/librenms/var/lib', - '/srv/netmon1001/librenms/var/lib/librenms', - '/srv/netmon1001/smokeping', - '/srv/netmon1001/smokeping/var', - '/srv/netmon1001/smokeping/var/lib', - '/srv/netmon1001/smokeping/var/lib/smokeping', - '/srv/netmon1001/smokeping/var/cache', - '/srv/netmon1001/smokeping/var/cache/smokeping', - '/srv/netmon1001/torrus', - '/srv/netmon1001/torrus/var', - '/srv/netmon1001/torrus/var/cache', - '/srv/netmon1001/torrus/var/cache/torrus', - '/srv/netmon1001/torrus/var/lib', - '/srv/netmon1001/torrus/var/lib/torrus', ]: - ensure => 'directory', - } - - rsync::server::module { 'librenms-lib': - path => '/srv/netmon1001/librenms/var/lib/librenms', - read_only => 'no', - hosts_allow => $sourceip, - } - - rsync::server::module { 'smokeping-lib': - path => '/srv/netmon1001/smokeping/var/lib/smokeping', - read_only => 'no', - hosts_allow => $sourceip, - } - - rsync::server::module { 'smokeping-cache': - path => '/srv/netmon1001/smokeping/var/cache/smokeping', - read_only => 'no', - hosts_allow => $sourceip, - } - - rsync::server::module { 'torrus-lib': - path => '/srv/netmon1001/torrus/var/lib/torrus', - read_only => 'no', - hosts_allow => $sourceip, - } - - rsync::server::module { 'torrus-cache': - path => '/srv/netmon1001/torrus/var/cache/torrus', - read_only => 'no', - hosts_allow => $sourceip, - } -} -- To view, visit https://gerrit.wikimedia.org/r/346924 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1c77a0f01a3da1cc2e2e723a226df18ae731e83b Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits