puppetlabs/puppet — pull request #2133 by dsn (2013-12-06 22:24:01+00:00)
Title: Added localdelete to optional_commands for forcelocal support

Removing users using forcelocal throws an error Error: No command localdelete defined for provider

Sample
user { 'blah':
forcelocal => true,
ensure => absent
}

This adds the command to the provider useradd