projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start an onion module
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
init.pp
diff --git
a/modules/roles/manifests/init.pp
b/modules/roles/manifests/init.pp
index
e535a62
..
441e20c
100644
(file)
--- a/
modules/roles/manifests/init.pp
+++ b/
modules/roles/manifests/init.pp
@@
-351,4
+351,12
@@
class roles {
if has_role('ports-master') {
include roles::ports-master
}
+
+ if $::hostname in [klecker] {
+ onion::service { 'ftp.debian.org':
+ port => 80,
+ target_address => '130.89.148.12',
+ target_port => 81,
+ }
+ }
}