adapted module to the new Salt version where SaltSample is completely
replaced by SampleGenerator.