3 |
class base { |
class base { |
4 |
$build_login = "iurt" |
$build_login = "iurt" |
5 |
$build_home_dir = "/home/iurt/" |
$build_home_dir = "/home/iurt/" |
6 |
|
|
7 |
|
include ssh::auth |
8 |
|
ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits |
9 |
} |
} |
10 |
|
|
11 |
class mainnode inherits base { |
class mainnode inherits base { |
12 |
include iurtuser |
include iurtuser |
13 |
|
ssh::auth::server { $build_login: } |
14 |
|
|
15 |
package { "task-bs-cluster-main": |
package { "task-bs-cluster-main": |
16 |
ensure => "installed" |
ensure => "installed" |
49 |
gid => $build_login, |
gid => $build_login, |
50 |
shell => "/bin/bash", |
shell => "/bin/bash", |
51 |
} |
} |
|
|
|
|
include ssh::auth |
|
|
ssh::auth::key { $build_login: } # declare a key for build bot: RSA, 2048 bits |
|
|
ssh::auth::client { $build_login: } |
|
52 |
} |
} |
53 |
|
|
54 |
class iurt { |
class iurt { |
55 |
include sudo |
include sudo |
56 |
include iurtuser |
include iurtuser |
57 |
|
ssh::auth::client { $build_login: } |
58 |
|
|
59 |
# build node common settings |
# build node common settings |
60 |
# we could have the following skip list to use less space: |
# we could have the following skip list to use less space: |