summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/manifests/sftponly
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apache/manifests/sftponly')
-rw-r--r--puppet/modules/apache/manifests/sftponly/centos.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/apache/manifests/sftponly/centos.pp b/puppet/modules/apache/manifests/sftponly/centos.pp
new file mode 100644
index 00000000..0f2a43d8
--- /dev/null
+++ b/puppet/modules/apache/manifests/sftponly/centos.pp
@@ -0,0 +1,10 @@
+# manage sftponly group and apache
+# user for access
+class apache::sftponly::centos {
+ require user::groups::sftponly
+ user::groups::manage_user{'apache':
+ group => 'sftponly',
+ require => Package['apache'],
+ notify => Service['apache'],
+ }
+}