Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/265183
Change subject: toollabs: Add cronrunner role ...................................................................... toollabs: Add cronrunner role Splitting up submit_host to clearer sub-roles Bug: T123873 Change-Id: Ic1e0e1d593974dca1979034acfb84b97e86db94f --- M manifests/role/labstools.pp A modules/toollabs/manifests/cronrunner.pp 2 files changed, 25 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/83/265183/1 diff --git a/manifests/role/labstools.pp b/manifests/role/labstools.pp index c4098ea..e1d71be 100644 --- a/manifests/role/labstools.pp +++ b/manifests/role/labstools.pp @@ -51,6 +51,14 @@ } } + class cronrunner { + include ::toollabs::cronrunner + + system::role { 'role::labs::tools::cronrunner': + description => 'Tool Labs cron starter host', + } + } + class submit { include ::toollabs::submit diff --git a/modules/toollabs/manifests/cronrunner.pp b/modules/toollabs/manifests/cronrunner.pp new file mode 100644 index 0000000..66a1f6e --- /dev/null +++ b/modules/toollabs/manifests/cronrunner.pp @@ -0,0 +1,17 @@ +class toollabs::cronrunner { + include gridengine::submit_host, + toollabs::hba + + file { '/etc/ssh/ssh_config': + ensure => file, + mode => '0444', + owner => 'root', + group => 'root', + source => 'puppet:///modules/toollabs/submithost-ssh_config', + } + + motd::script { 'submithost-banner': + ensure => present, + source => "puppet:///modules/toollabs/40-${::labsproject}-submithost-banner", + } +} -- To view, visit https://gerrit.wikimedia.org/r/265183 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic1e0e1d593974dca1979034acfb84b97e86db94f Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits