https://github.com/deric/puppet-zookeeper/blob/master/manifests/config.pp#L81 Uses a flag to check if the data directory needs to be initialized. This is unnecessary because the "creates" flag on the exec will automatically know if it needs to run based on the presence of that file.