use a guard instead of an if block for chef style
Merge pull request #93 from mapleoin/sle12-rsyslog

use a guard instead of an if block for chef style