salt/www/nginx/init.sls in salted-rails-0.0.7 vs salt/www/nginx/init.sls in salted-rails-0.0.8

- old
+ new

@@ -98,22 +98,6 @@ cmd.run: - name: htpasswd -b {{ pillar['etc_dir'] }}/nginx/admin.d/htpasswd 'admin' '{{ pillar['admin_password'] }}' - require: - file: {{ pillar['etc_dir'] }}/nginx/admin.d/htpasswd -# module.run: -# - name: apache.useradd -# - pwfile: {{ pillar['etc_dir'] }}/nginx/admin.d/htpasswd -# - user: 'admin' -# - password: '{{ pillar['admin_password'] }}' -# - require: -# - file: {{ pillar['etc_dir'] }}/nginx/admin.d/htpasswd -# -# Unfortunately this produces an error even when htpasswd is present: -# State: - module -# Name: apache.useradd -# Function: run -# Result: False -# Comment: Module function apache.useradd is not available -# Changes: - {%- endif %}