class sshd { package {"openssh-server": ensure => latest, } service { "ssh": ensure => running, enable => true, require => Package['openssh-server'], } }