forked from voxpupuli/puppet-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeb_support.feature
32 lines (28 loc) · 879 Bytes
/
deb_support.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Feature: Support adding Jenkins via Puppet on Debian machines
In order to install Jenkins on a Debian or Ubuntu host
As a sysadmin
I want to include Jenkins in my manifests and have it installed and running
Background:
Given I have a running Ubuntu VM
And I have Puppet installed
And the Jenkins module is on the machine
Scenario: Install Jenkins via Puppet
Given the manifest:
"""
include jenkins
"""
When I provision the machine
Then I should have Jenkins installed
Scenario: Install the git plugin
Given the manifest:
"""
include jenkins
jenkins::plugin {
'git' :
ensure => present,
require => Class['jenkins'];
}
"""
When I provision the machine
Then I should have Jenkins installed
And I should have the "git" plugin installed