summaryrefslogtreecommitdiff
path: root/manifests/puppetagent.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetagent.pp')
-rw-r--r--manifests/puppetagent.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/puppetagent.pp b/manifests/puppetagent.pp
index 56e76c9..0d568fa 100644
--- a/manifests/puppetagent.pp
+++ b/manifests/puppetagent.pp
@@ -5,6 +5,12 @@ class profiles::puppetagent (
fail('Can only either be puppetagent or puppetserver (which is also a puppetagent), not both')
}
+ case $facts['os']['family'] {
+ 'RedHat': {
+ ensure_packages(['cronie'])
+ }
+ }
+
class { 'puppet':
server => false,
agent => true,