saltstack-formulas/openssh-formula — pull request #7 by kennydo (2014-01-09 13:19:18+00:00)
Title: Generate sshd_config from pillar

I've changed the ``openssh.config`` state to generate a ``sshd_config`` file based on configuration in pillar instead of just copying the static file to the minion. I've commented out the rest of the ``sshd_config`` file so that the only actual config lines are from pillar.

I also fixed the bug where the file is trying to be watched by a service with a name that doesn't exist. (I had previously referred to the actual name of the service, ``ssh`` or ``sshd``, instead of the ID declaration.)