projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f12a5
)
rebuild onion website if things change
author
Peter Palfrader
<peter@palfrader.org>
Fri, 29 Jul 2016 20:05:06 +0000
(20:05 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 29 Jul 2016 20:05:06 +0000
(20:05 +0000)
modules/roles/manifests/static_master.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/static_master.pp
b/modules/roles/manifests/static_master.pp
index
457c558
..
c2aec64
100644
(file)
--- a/
modules/roles/manifests/static_master.pp
+++ b/
modules/roles/manifests/static_master.pp
@@
-23,7
+23,13
@@
class roles::static_master {
ensure => directory
}
concat { '/srv/puppet.debian.org/puppet-facts/onionbalance-services.yaml':
+ notify => Exec["rebuild-onion-website"],
}
Concat::Fragment <<| tag == "onionbalance-services.yaml" |>>
+
+ exec { 'rebuild-onion-website':
+ command => '/bin/su - staticsync -c \'make -C /srv/onion-master.debian.org\'',
+ refreshonly => true,
+ }
}
}