Refactored jenkins user def.
This commit is contained in:
parent
048f615a32
commit
b41acf292f
@ -1,10 +1,8 @@
|
||||
import "openstack_ci_admins_users"
|
||||
import "static_users"
|
||||
import "jenkins_slave"
|
||||
|
||||
node default {
|
||||
include openstack_ci_admins_users
|
||||
include static_users
|
||||
include jenkins_slave
|
||||
|
||||
package { "python-eventlet":
|
||||
|
@ -1,10 +1,8 @@
|
||||
import "openstack_ci_admins_users"
|
||||
import "static_users"
|
||||
import "jenkins_slave"
|
||||
|
||||
node default {
|
||||
include openstack_ci_admins_users
|
||||
include static_users
|
||||
include jenkins_slave
|
||||
|
||||
package { "maven2":
|
||||
|
@ -1,10 +1,8 @@
|
||||
import "openstack_ci_admins_users"
|
||||
import "static_users"
|
||||
import "jenkins_slave"
|
||||
|
||||
node default {
|
||||
include openstack_ci_admins_users
|
||||
include static_users
|
||||
include jenkins_slave
|
||||
|
||||
package { "python-argparse":
|
||||
|
@ -1,10 +1,8 @@
|
||||
import "openstack_ci_admins_users"
|
||||
import "static_users"
|
||||
import "jenkins_slave"
|
||||
|
||||
node default {
|
||||
include openstack_ci_admins_users
|
||||
include static_users
|
||||
include jenkins_slave
|
||||
|
||||
package { "build-essential":
|
||||
|
@ -1,9 +1,7 @@
|
||||
import "openstack_ci_admins_users"
|
||||
import "static_users"
|
||||
import "jenkins_slave"
|
||||
|
||||
node default {
|
||||
include openstack_ci_admins_users
|
||||
include static_users
|
||||
include jenkins_slave
|
||||
}
|
||||
|
@ -1,8 +1,10 @@
|
||||
class jenkins_slave {
|
||||
|
||||
jenkins_user { "jenkins" }
|
||||
|
||||
slavecirepo { "openstack-ci":
|
||||
ensure => present,
|
||||
require => Package[git]
|
||||
require => [ Package[git], Jenkinsuser[jenkins] ]
|
||||
}
|
||||
|
||||
package { "python-software-properties":
|
||||
|
@ -1,4 +1,4 @@
|
||||
class static_users {
|
||||
class jenkinsuser {
|
||||
|
||||
group { 'jenkins':
|
||||
ensure => 'present'
|
Loading…
x
Reference in New Issue
Block a user