simple manifest to create a .htaccess
uses jamtur01/puppet-httpauth to create a .htpasswd
usage:
htaccess::file {"authentication":
directory => 'PATH_TO_DIRECTORY',
user => "USERNAME",
password => 'PASSWORD',
realm => 'realm',
mechanism => basic,
owner => "root",
group => "root"
}