Closed rubo77 closed 8 years ago
you can add this to your own gateway.pp
$SSH_Port = 22 augeas { '/etc/ssh/sshd_config': context => '/files/etc/ssh/sshd_config', changes => [ "set Port ${SSH_Port}", ], }
until someone adds this as parameter
for simple test safe that as sshport.pp and do a test run with puppet apply --test --noop sshport.pp This will show you a diff of the change without applying it
puppet apply --test --noop sshport.pp
you can add this to your own gateway.pp
until someone adds this as parameter
for simple test safe that as sshport.pp and do a test run with
puppet apply --test --noop sshport.pp
This will show you a diff of the change without applying it