style edits to puppet config files
Change-Id: I4f7314bcb1cb58f94ff7a78aebe27ec4591fc11c Reviewed-on: https://review.openstack.org/14187 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
class ssh {
|
class ssh {
|
||||||
package { openssh-server: ensure => present }
|
package { 'openssh-server':
|
||||||
service { ssh:
|
ensure => present,
|
||||||
|
}
|
||||||
|
service { 'ssh':
|
||||||
ensure => running,
|
ensure => running,
|
||||||
hasrestart => true,
|
hasrestart => true,
|
||||||
subscribe => File["/etc/ssh/sshd_config"],
|
subscribe => File['/etc/ssh/sshd_config'],
|
||||||
}
|
}
|
||||||
file { "/etc/ssh/sshd_config":
|
file { '/etc/ssh/sshd_config':
|
||||||
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'root',
|
group => 'root',
|
||||||
mode => 444,
|
mode => '0444',
|
||||||
ensure => 'present',
|
source => [ "puppet:///modules/ssh/sshd_config.${::operatingsystem}",
|
||||||
source => [
|
'puppet:///modules/ssh/sshd_config' ],
|
||||||
"puppet:///modules/ssh/sshd_config.$operatingsystem",
|
replace => true,
|
||||||
"puppet:///modules/ssh/sshd_config"
|
|
||||||
],
|
|
||||||
replace => 'true',
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user