Match only the uncommented Host *

Change-Id: I2942a184a3b1bed2ab44e5c4529d933fc350a86c
This commit is contained in:
Spencer Krum 2016-01-14 14:50:38 -08:00
parent f960c3b455
commit b436e3f5f7

View File

@ -272,7 +272,7 @@ class openstack_project::template (
}
file_line { 'ensure NoRoaming for ssh clients':
after => 'Host *',
after => '^Host *',
path => '/etc/ssh/ssh_config',
line => ' UseRoaming no',
}