fix puppet run on bromine
Closed, ResolvedPublic

Description

@Dzahn changed puppet things re: install server, reprepro / aptrepo and tested them on carbon where things are fine, but then found that we use it on bromine for releases.wm in a different way and there are issues to fix that need a closer look. this is my reminder to do that

currently puppet fails on bromine but i will fix it

Dzahn created this task.Jun 2 2016, 5:24 AM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 2 2016, 5:24 AM

Change 292489 had a related patch set uploaded (by Dzahn):
releases: don't define incomingdir, duplicate def

https://gerrit.wikimedia.org/r/292489

Change 292489 merged by Dzahn:
releases: don't define incomingdir, duplicate def

https://gerrit.wikimedia.org/r/292489

Change 292491 had a related patch set uploaded (by Dzahn):
aptrepo: re-add distributions.erb template

https://gerrit.wikimedia.org/r/292491

Change 292491 merged by Dzahn:
aptrepo: re-add distributions.erb template

https://gerrit.wikimedia.org/r/292491

Change 292500 had a related patch set uploaded (by Dzahn):
aptrepo: mv wikimedia-specific distributions file to role

https://gerrit.wikimedia.org/r/292500

Change 292500 merged by Dzahn:
aptrepo: mv wikimedia-specific distributions file to role

https://gerrit.wikimedia.org/r/292500

Change 292502 had a related patch set uploaded (by Dzahn):
endowment: remove duplicate Apache site definition

https://gerrit.wikimedia.org/r/292502

Change 292502 merged by Dzahn:
endowment: remove duplicate Apache site definition

https://gerrit.wikimedia.org/r/292502

Change 292504 had a related patch set uploaded (by Dzahn):
endowment: comment out git:clone until repo exists

https://gerrit.wikimedia.org/r/292504

Change 292504 merged by Dzahn:
endowment: comment out git:clone until repo exists

https://gerrit.wikimedia.org/r/292504

Dzahn added a comment.Jun 3 2016, 1:48 AM

puppet run is fixed but the following things need to be changed, because they need to be different on bromine vs. carbon

25 Notice: /Stage[main]/Aptrepo/File[/srv/org/wikimedia/reprepro/incoming]/owner: owner changed 'reprepro' to 'root'
26 Notice: /Stage[main]/Aptrepo/File[/srv/org/wikimedia/reprepro/incoming]/group: group changed 'reprepro' to 'wikidev'
27 Notice: /Stage[main]/Aptrepo/File[/srv/org/wikimedia/reprepro/conf/incoming]/content:
28
29 Notice: /Stage[main]/Aptrepo/File[/srv/org/wikimedia/reprepro/db]/mode: mode changed '0775' to '0755'
30 Notice: /Stage[main]/Aptrepo/File[/srv/org/wikimedia/reprepro/logs]/mode: mode changed '0775' to '0755'

Dzahn closed this task as Resolved.Jun 3 2016, 1:49 AM

18:53 < icinga-wm> RECOVERY - puppet last run on bromine is OK: OK: Puppet is currently enabled, last run 54 seconds ago with 0 failures