made changes to support impala change and lack of os_maj_version in puppet 3