Use facter's osfamily instead of operatingsystem.

The osfamily fact is more flexible when we want to support more
GNU/Linux distributions while avoiding unnecessary code duplication.

Change-Id: Iea4c73c19e7f94df8daccf25c764b6a4539a1ea0
Reviewed-on: https://review.openstack.org/27400
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2013-04-24 03:32:06 +00:00 committed by Jenkins
parent 6bc6ff891d
commit dcdaa62f9b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class ssh {
group => 'root',
mode => '0444',
source => [
"puppet:///modules/ssh/sshd_config.${::operatingsystem}",
"puppet:///modules/ssh/sshd_config.${::osfamily}",
'puppet:///modules/ssh/sshd_config',
],
replace => true,