summaryrefslogtreecommitdiff
path: root/manifests/htpasswd.pp
blob: 2bd24cc5c32a754fe8b40b881db4477214a8ee04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class check_mk::htpasswd (
  $password,
  $username = 'omdadmin',
  $path = '/opt/omd/sites/monitoring/etc/htpasswd' ) {

  apache::htpasswd_user { $username:
    ensure   => present,
    username => $username,
    password => $password,
    path     => $path
  }
}