diff --git a/manifests/role/webhost/htvm/test.pp b/manifests/role/webhost/htvm/test.pp index 740a3a6bf..f611a1f42 100644 --- a/manifests/role/webhost/htvm/test.pp +++ b/manifests/role/webhost/htvm/test.pp @@ -33,4 +33,12 @@ include nebula::role::webhost::htvm include nebula::profile::hathitrust::apache::test + file { '/etc/sudoers.d/htprod-systemctl-imgsrv': + ensure => 'present', + content => @("SUDOERS") + %htprod ALL=(root) NOPASSWD: /bin/journalctl + %htprod ALL=(root) NOPASSWD: /bin/systemctl start imgsrv,/bin/systemctl stop imgsrv,/bin/systemctl restart imgsrv,/bin/systemctl status imgsrv + | SUDOERS + } + }