
Add acceptance tests for puppet-jenkins module so that once the module is applied we check if files were created, packages were installed and services were started. Change-Id: Ib69055af29de08902aba8a9e1b12d716584a2e3d Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com> Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com> Co-Authored-By: Maitê Balhester <mbalhest@thoughtworks.com>
11 lines
343 B
Puppet
11 lines
343 B
Puppet
class { '::jenkins::jenkinsuser':
|
|
ssh_key => 'sshkey',
|
|
}
|
|
|
|
class { '::jenkins::master':
|
|
vhost_name => '127.0.0.1',
|
|
jenkins_ssh_private_key => file('/tmp/jenkins-ssh-keys/ssh_rsa_key'),
|
|
jenkins_ssh_public_key => file('/tmp/jenkins-ssh-keys/ssh_rsa_key.pub'),
|
|
require => Class['::jenkins::jenkinsuser'],
|
|
}
|