Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: modules/buildbot/manifests/slave.pp

Issue 29325436: Issue 1281 - Introduce module buildbot (Closed)
Left Patch Set: Issue 1281 - Rebase branch buildbot on top of upstream Created Sept. 5, 2015, 11:27 p.m.
Right Patch Set: Issue 1281 - Fix documentation, improve configuration parameter handling Created Jan. 20, 2016, 4:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 # == Type: buildbot::slave 1 # == Type: buildbot::slave
2 # 2 #
3 # Manage Buildbot (http://buildbot.net/) slave instances. 3 # Manage Buildbot (http://buildbot.net/) slave instances.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*basedir*] 7 # [*basedir*]
8 # The base directory of the slave, which can be configured elsewhere or, 8 # The base directory of the slave, which can be configured elsewhere or,
9 # if it's anchestors are present, relied upon the builtin defaults. 9 # if its ancestors are present, relied upon the builtin defaults.
Felix Dahlke 2015/10/02 12:39:43 Typo.
mathias 2015/10/02 13:47:41 Acknowledged.
10 # 10 #
11 # [*ensure*] 11 # [*ensure*]
12 # Whether to setup the slave (anything but 'absent' or 'purged') or 12 # Whether to set up the slave (anything but 'absent' or 'purged') or
13 # remove the associated resources. Note that only 'purged' implies the 13 # remove the associated resources. Note that only 'purged' implies the
14 # removal of $basedir. 14 # removal of $basedir.
15 # 15 #
16 # [*master*] 16 # [*master*]
17 # The "$hostname:$port" combination of the build master. 17 # The "$hostname:$port" combination of the build master.
18 # 18 #
19 # [*name*] 19 # [*name*]
20 # The build slave's name. 20 # The build slave's name.
21 # 21 #
22 # [*password*] 22 # [*password*]
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 Service['buildslave'] <~ Exec <|creates == "$basedir/buildbot.tac"|> 101 Service['buildslave'] <~ Exec <|creates == "$basedir/buildbot.tac"|>
102 102
103 Service['buildslave'] <~ File <|path == "$basedir"|> 103 Service['buildslave'] <~ File <|path == "$basedir"|>
104 Service['buildslave'] <~ File <|path == "$basedir/info/admin"|> 104 Service['buildslave'] <~ File <|path == "$basedir/info/admin"|>
105 } 105 }
106 106
107 if $ensure == 'purged' { 107 if $ensure == 'purged' {
108 file {$basedir: ensure => 'absent'} 108 file {$basedir: ensure => 'absent'}
109 } 109 }
110 } 110 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld