summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2014-08-28 12:58:31 -0300
committerdrebs <drebs@riseup.net>2014-08-28 12:58:31 -0300
commit0cf3860bccc2491fc1650eef2f288120eea6f0dd (patch)
tree5b665b5ee70be9fd6e74c8429b72581da5800829
parent347a70abc035e85efa142241ffa4b9a4ea728560 (diff)
downloadpuppet-puppet-0cf3860bccc2491fc1650eef2f288120eea6f0dd.tar.gz
puppet-puppet-0cf3860bccc2491fc1650eef2f288120eea6f0dd.tar.bz2
Add update script to puppet repo definition.
-rw-r--r--manifests/repo.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/repo.pp b/manifests/repo.pp
index 4b69c98..9a22e97 100644
--- a/manifests/repo.pp
+++ b/manifests/repo.pp
@@ -45,4 +45,8 @@ class puppet::repo(
ensure => present,
}
}
+
+ class { 'puppet::repo::update':
+ method => $method,
+ }
}