I found that in order to change just some options it is far easier just to write a little ssh module with a template with only the parameters you want yo change.
Regards, El 17/06/2014 10:29, "Alexander Holte-Davidsen" < [email protected]> escribió: > Hi Marco, > > You should take a look at > https://forge.puppetlabs.com/domcleal/augeasproviders . > > Regards, > Alexander > > > On Tue, Jun 17, 2014 at 9:59 AM, <[email protected]> wrote: > >> Hi, >> what's the best module/way to change some options in the sshd_config file? >> >> I just have to change a couple of options from their OS defaults. >> >> I searched in the forge but, apart from the fact that I often find it >> hard to understand how to use some of the contributed modules, it looks >> like ssh-related modules tend to completely rewrite the config file. >> For example, I tried ghoneycutt-ssh but it completely replaces >> sshd_config with its own defaults, so also other options are changed from >> the OS default. >> >> Do I really have to use Augeas? >> >> Thanks. >> Marco >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/9454a535-f6b0-4e77-b267-2005812dc933%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/9454a535-f6b0-4e77-b267-2005812dc933%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAFdJyc3z90imiQtvsXyXYsQBHY9x8q3%3DPO1scY2niWk5SPGWfQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAFdJyc3z90imiQtvsXyXYsQBHY9x8q3%3DPO1scY2niWk5SPGWfQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3ddOapy%2Bd5D7UGvooaBs6g_a%3Du9JGYnpjTJsFsMYFWCm6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
