openshift/puppet-openshift_origin — pull request #117 by mikeSGman (2013-11-15 22:20:04+00:00)
Title: Updated to create /etc/openshift/htpasswd if it doesn't exist already.

Wasn't creating it with batch only flag set because it was attempting to batch add on a non-existent file. Adding the -c creates the file if it doesn't exist, and still allows for the batch processing to occur. (-b in this case accepts it from stdout of the .pp instead of from a file.) For users who are on minimal install systems, it will fail (even if httpd-tools are installed as per the guide) because that package set don't create that file.