fix if puppet syntax