auto-admin: Update to lastest, cluster-admin: New pkg for cluster management

This commit is contained in:
Jason Bacon 2016-08-15 16:13:29 -05:00
parent 54fac08007
commit ec8f40cb31
13 changed files with 214 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2015/05/08 14:23:18 outpaddling Exp $
# $NetBSD$
#
DISTNAME= auto-admin-0.3.5
DISTNAME= auto-admin-0.3.8
CATEGORIES= pkgtools
MASTER_SITES= http://acadix.biz/Ports/distfiles/
@ -14,6 +14,12 @@ EXTRACT_SUFX= .tar.xz
USE_LANGUAGES= # none
NO_BUILD= yes
REPLACE_SH= */Scripts/*
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= ${WRKSRC}/Common/Scripts/auto-denyhosts-remove-ip
SUBST_SED.prefix= -e "s|/usr/local|${PREFIX}|g"
.include "../../mk/bsd.prefs.mk"

View File

@ -1 +1 @@
@comment $NetBSD: PLIST,v 1.3 2015/05/06 13:03:25 outpaddling Exp $
@comment $NetBSD$

View File

@ -1,17 +1,30 @@
@comment $NetBSD: PLIST.Darwin,v 1.4 2015/06/25 16:04:55 outpaddling Exp $
@comment $NetBSD$
sbin/auto-adduser
sbin/auto-admin
sbin/auto-append-line
sbin/auto-ask
sbin/auto-backup-file
sbin/auto-clean-pkgsrc
sbin/auto-denyhosts-remove-ip
sbin/auto-denyhosts-setup
sbin/auto-disable-tcp-timestamps
sbin/auto-enable-autologout
sbin/auto-enable-passwdqc
sbin/auto-file-secure
sbin/auto-harden
sbin/auto-insert-line
sbin/auto-ldap-adduser
sbin/auto-ostype
sbin/auto-pkgsrc-add-license
sbin/auto-pkgsrc-setup
sbin/auto-pkgsrc-wip-checkout
sbin/auto-print-make-variable
sbin/auto-pxe-node-discover
sbin/auto-replace-file
sbin/auto-restore-pw
sbin/auto-set-sysctl
sbin/auto-set-umask
sbin/auto-ssh-authorize
sbin/auto-ssh-reverse-authorize
sbin/auto-update-system
sbin/auto-using-pkgsrc

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.FreeBSD,v 1.2 2015/05/17 17:21:40 outpaddling Exp $
@comment $NetBSD$
sbin/auto-append-line
sbin/auto-ask
sbin/auto-backup-file
@ -6,10 +6,14 @@ sbin/auto-clean-pkgsrc
sbin/auto-denyhosts-remove-ip
sbin/auto-denyhosts-setup
sbin/auto-enable-autologout
sbin/auto-enable-passwdqc
sbin/auto-file-secure
sbin/auto-harden
sbin/auto-insert-line
sbin/auto-ldap-adduser
sbin/auto-pkgsrc-setup
sbin/auto-pxe-node-discover
sbin/auto-replace-file
sbin/auto-restore-pw
sbin/auto-ssh-authorize
sbin/auto-update-system

View File

@ -1,22 +1,37 @@
@comment $NetBSD: PLIST.Linux,v 1.8 2015/05/26 15:09:34 outpaddling Exp $
@comment $NetBSD$
sbin/auto-adduser
sbin/auto-admin
sbin/auto-append-line
sbin/auto-ask
sbin/auto-backup-file
sbin/auto-clean-pkgsrc
sbin/auto-cuda-install
sbin/auto-denyhosts-remove-ip
sbin/auto-denyhosts-setup
sbin/auto-disable-file-transfers
sbin/auto-disable-hyperthreading
sbin/auto-disable-tcp-timestamps
sbin/auto-enable-autologout
sbin/auto-enable-passwdqc
sbin/auto-file-secure
sbin/auto-harden
sbin/auto-insert-line
sbin/auto-ldap-adduser
sbin/auto-ldap-client-setup
sbin/auto-ostype
sbin/auto-pkgsrc-add-license
sbin/auto-pkgsrc-setup
sbin/auto-pkgsrc-wip-checkout
sbin/auto-print-make-variable
sbin/auto-pxe-installer-setup
sbin/auto-pxe-node-discover
sbin/auto-register-dhcp-hostname
sbin/auto-replace-file
sbin/auto-restore-pw
sbin/auto-set-memory-limits
sbin/auto-set-sysctl
sbin/auto-set-umask
sbin/auto-ssh-authorize
sbin/auto-ssh-reverse-authorize
sbin/auto-update-system
sbin/auto-using-pkgsrc

View File

@ -1,4 +1,6 @@
@comment $NetBSD: PLIST.NetBSD,v 1.3 2015/05/17 16:15:20 outpaddling Exp $
@comment $NetBSD$
sbin/auto-adduser
sbin/auto-admin
sbin/auto-append-line
sbin/auto-ask
sbin/auto-backup-file
@ -6,17 +8,30 @@ sbin/auto-clean-pkgsrc
sbin/auto-denyhosts-remove-ip
sbin/auto-denyhosts-setup
sbin/auto-desktop-setup
sbin/auto-disable-tcp-timestamps
sbin/auto-enable-autologout
sbin/auto-enable-passwdqc
sbin/auto-file-secure
sbin/auto-harden
sbin/auto-insert-line
sbin/auto-install-packages
sbin/auto-install-packages-from-source
sbin/auto-install-pkgsrc-tree
sbin/auto-ldap-adduser
sbin/auto-ostype
sbin/auto-package-installed
sbin/auto-pkgsrc-add-license
sbin/auto-pkgsrc-setup
sbin/auto-pkgsrc-wip-checkout
sbin/auto-print-make-variable
sbin/auto-pxe-node-discover
sbin/auto-replace-file
sbin/auto-restore-pw
sbin/auto-select-pkgsrc-dist
sbin/auto-set-sysctl
sbin/auto-set-umask
sbin/auto-ssh-authorize
sbin/auto-ssh-reverse-authorize
sbin/auto-update-system
sbin/auto-using-pkgsrc
sbin/install-vuln

View File

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.19 2015/06/19 17:06:14 outpaddling Exp $
$NetBSD$
SHA1 (auto-admin-0.3.5.tar.xz) = 595fd526c9736060a73fbdf8b7faa7d091f92372
RMD160 (auto-admin-0.3.5.tar.xz) = 77e18b0795ed95e12aebfae12d96a9f5e5d2a193
SHA512 (auto-admin-0.3.5.tar.xz) = 06e5be5fd88069c07821d7f3cda86ad7077db96e7b13a5733a1e53364e48aeb979ce07f1433c7920bd6ed66c4d47a03461eaefc98fadef23d14fe73e67c20b1b
Size (auto-admin-0.3.5.tar.xz) = 44820 bytes
SHA1 (auto-admin-0.3.8.tar.xz) = 4e5b2228ea31a26d2830762b165bd04630460814
RMD160 (auto-admin-0.3.8.tar.xz) = 9aecfef508c0994bfb1eff75c4587b3e1c830a6d
SHA512 (auto-admin-0.3.8.tar.xz) = fcb4d4bddae877b3fd2681df1845e05cd609edbbfb7057df3b566e28cdc06a0f39f64d5db288281da17c28284831809d6f532f2b67c31e078304cc2bc13345d0
Size (auto-admin-0.3.8.tar.xz) = 48020 bytes

0
cluster-admin/DESCR Normal file
View File

37
cluster-admin/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $NetBSD$
DISTNAME= cluster-admin-0.3
CATEGORIES= sysutils
MASTER_SITES= http://acadix.biz/Ports/distfiles/
EXTRACT_SUFX= .tar.xz
MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE
HOMEPAGE= http://acadix.biz/Ports/distfiles/
COMMENT= TODO: Short description of the package
#LICENSE= # TODO: (see mk/license.mk)
USE_LANGUAGES= # none
NO_BUILD= yes
DATADIR= ${PREFIX}/share/cluster-admin
SUBST_CLASSES+= datadir
SUBST_STAGE.datadir= post-patch
SUBST_FILES.datadir= ${WRKSRC}/CentOS/Sys-scripts/ganglia-web-setup \
${WRKSRC}/Common/Sys-scripts/slurm-update-idle-nodes
SUBST_SED.datadir= -e 's|%%DATADIR%%|${PREFIX}/share/cluster-admin|g'
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= ${WRKSRC}/Common/User-scripts/slurm-shell
SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g'
DEPENDS+= auto-admin>=0.3.8:../../jb-wip/auto-admin
.include "../../mk/bsd.prefs.mk"
MAKE_ENV+= PREFIX=${PREFIX} DATADIR=${DATADIR}
.include "../../wip/py-hostlist/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

1
cluster-admin/PLIST Normal file
View File

@ -0,0 +1 @@
@comment $NetBSD$

105
cluster-admin/PLIST.Linux Normal file
View File

@ -0,0 +1,105 @@
@comment $NetBSD$
bin/cluster-all-nodes
bin/cluster-backup-login-nodes
bin/cluster-compute-nodes
bin/cluster-down-nodes
bin/cluster-io-nodes
bin/cluster-load
bin/cluster-vis-nodes
bin/condor-build-R-packages
bin/condor-cpus
bin/condor-list-packages
bin/pending-jobs
bin/ppgen
bin/slurm-cluster-load
bin/slurm-job-hist
bin/slurm-job-stats
bin/slurm-job-status
bin/slurm-load-summary
bin/slurm-pending-jobs
bin/slurm-shell
bin/slurm-user-cores
bin/topnode
libexec/add-gecos.awk
sbin/cluster-add-to-group
sbin/cluster-adduser
sbin/cluster-admin
sbin/cluster-backup-sysfiles
sbin/cluster-diagnostics
sbin/cluster-disable-iptables
sbin/cluster-dist-file
sbin/cluster-ganglia-restart
sbin/cluster-get-sync-file
sbin/cluster-groupadd
sbin/cluster-init-all
sbin/cluster-init-node
sbin/cluster-install-rpms
sbin/cluster-iptables
sbin/cluster-lowest-uid
sbin/cluster-munge-enable
sbin/cluster-net-mon
sbin/cluster-node-admin
sbin/cluster-passwd-expiration
sbin/cluster-pkgsrc-admin
sbin/cluster-remove-from-known-hosts
sbin/cluster-restore-pw
sbin/cluster-restore-user
sbin/cluster-rmuser
sbin/cluster-run
sbin/cluster-set-compute-memory-limits
sbin/cluster-set-idmapd-domain
sbin/cluster-setup
sbin/cluster-shutdown
sbin/cluster-slurm-enable
sbin/cluster-sync-all-groups
sbin/cluster-sync-all-pws
sbin/cluster-sync-backup-login-nodes
sbin/cluster-sync-data-nodes
sbin/cluster-sync-files
sbin/cluster-sync-groups
sbin/cluster-sync-node
sbin/cluster-sync-pkgsrc
sbin/cluster-sync-pw
sbin/cluster-sync-sysfiles
sbin/cluster-sync-user
sbin/cluster-sync-yum-packages
sbin/cluster-update-backup-nodes
sbin/cluster-update-io-nodes
sbin/cluster-useradd
sbin/cluster-user-admin
sbin/cluster-users
sbin/compute-node-yum-packages
sbin/enable-icmp-redirects
sbin/enable-x11-forward
sbin/fix-keys
sbin/fix-slurm-log
sbin/ganglia-web-setup
sbin/head-mount-shares
sbin/iptables-config
sbin/munge-setup
sbin/node-sync-all-users
sbin/node-sync-groups
sbin/node-sync-user
sbin/remount-all-nfs
sbin/remount-nfs
sbin/slurm-admin
sbin/slurm-find-strays
sbin/slurm-restart
sbin/slurm-resume-jobs
sbin/slurm-resume-nodes
sbin/slurm-resume-updated-nodes
sbin/slurm-spool-setup
sbin/slurm-suspend-jobs
sbin/slurm-sync-backup-login
sbin/slurm-sync-config
sbin/slurm-update-idle-nodes
sbin/slurm-usage-report
sbin/ssh-keygen.csh
sbin/ssh-keygen-for-user
sbin/ssh-keygen.sh
sbin/update-idle-nodes
sbin/update-yum-pkgs
share/cluster-admin/sys-update.sbatch
share/cluster-admin/WWW/centos-power.jpg
share/cluster-admin/WWW/global_styles.css
share/cluster-admin/WWW/index.php

View File

6
cluster-admin/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (cluster-admin-0.3.tar.xz) = db39cf62bd618865fe59242b47e23eb2af94879b
RMD160 (cluster-admin-0.3.tar.xz) = 9c6ab5f222f3034194aee8263d99dc08c2c08a63
SHA512 (cluster-admin-0.3.tar.xz) = a0e20bf55b74c29c2af0672e4590891f573aae5688bb8ecae34da0b466ac5065f96b97ea4cf4026f1173d158bf94419cb8d36c599c38c3f4d3308b7f7756b674
Size (cluster-admin-0.3.tar.xz) = 91728 bytes