Resource Type: htpasswd

Defined in:
lib/puppet/type/htpasswd.rb
Providers:
parsed

Overview

Manage an Apache style htpasswd file

htpasswd { ‘user’:

ensure      => present,
cryptpasswd => 'encrypted password',
target      => '/etc/httpd/conf/htpasswd',

}

Properties

  • cryptpasswd

    The encrypted password for the given user

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • target

    Location of the htpasswd file

  • username

    The user name. Defaults to the resource title if not provided

Parameters

  • name (namevar)

    The resource name

  • provider

    The specific backend to use for this ‘htpasswd` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.