Module jamtur01/httpauth
| Download |
|
Module description
Puppet HTTP Authentication type
This provides a HTTP Authentication type for Puppet that support Basic and Digest authentication.
Copyright - James Turnbull james@lovedthanlost.net
License: GPLv3
Requirements
- webrick
Usage
httpauth { 'user':
file => '/path/to/password/file',
password => 'password',
realm => 'realm',
mechanism => basic,
ensure => present,
}
Release notes for version 0.0.1
Initial release.
Types
httpauth
Description
Manage HTTP Basic or Digest password files. httpauth { 'user': file => '/path/to/password/file', password => 'password', mechanism => basic, ensure => present, }
Parameters
- name
The name of the user to be managed.
- file
The HTTP password file to be managed. If it doesn’t exist it is created.
- password
The password in plaintext.
- realm
The realm - defaults to nil and mainly used for Digest authentication.
- mechanism
The authentication mechanism to use - either basic or digest. Default to basic. Valid values are
basic,digest.
Properties
- ensure
Valid values are
present,absent.
Providers
- httpauth
Manage HTTP Basic and Digest authentication files