7 |
# - setup maintainers database (with web interface) |
# - setup maintainers database (with web interface) |
8 |
# |
# |
9 |
include common::default_mageia_server |
include common::default_mageia_server |
10 |
timezone::timezone { "Europe/Paris": } |
timezone::timezone { 'Europe/Paris': } |
11 |
include main_mirror |
include main_mirror |
12 |
include openldap::master |
include openldap::master |
13 |
include subversion::client |
include subversion::client |
33 |
include restrictshell::allow_upload_bin |
include restrictshell::allow_upload_bin |
34 |
# disabled the ldap key here instead of disabling for the |
# disabled the ldap key here instead of disabling for the |
35 |
# whole module ( see r698 ) |
# whole module ( see r698 ) |
36 |
class { "openssh::ssh_keys_from_ldap": |
class { 'openssh::ssh_keys_from_ldap': |
37 |
symlink_users => ['schedbot', 'iurt'] |
symlink_users => ['schedbot', 'iurt'] |
38 |
} |
} |
39 |
|
|
45 |
|
|
46 |
include websites::svn |
include websites::svn |
47 |
|
|
48 |
subversion::snapshot { "/etc/puppet": |
subversion::snapshot { '/etc/puppet': |
49 |
source => "svn://svn.mageia.org/svn/adm/puppet/" |
source => 'svn://svn.mageia.org/svn/adm/puppet/' |
50 |
} |
} |
51 |
|
|
52 |
mirror_cleaner::orphans { "cauldron": |
mirror_cleaner::orphans { 'cauldron': |
53 |
base => "/distrib/bootstrap/distrib/", |
base => '/distrib/bootstrap/distrib/', |
54 |
} |
} |
55 |
|
|
56 |
# TODO use a dns zone for that |
# TODO use a dns zone for that |
57 |
host { 'arm1': |
host { 'arm1': |
58 |
ip => '10.10.10.11', |
ip => '10.10.10.11', |
59 |
host_aliases => [ "arm1.$domain" ], |
host_aliases => [ "arm1.$::domain" ], |
60 |
ensure => present, |
ensure => present, |
61 |
} |
} |
62 |
|
|
63 |
host { 'arm2': |
host { 'arm2': |
64 |
ip => '10.10.10.12', |
ip => '10.10.10.12', |
65 |
host_aliases => [ "arm2.$domain" ], |
host_aliases => [ "arm2.$::domain" ], |
66 |
ensure => present, |
ensure => present, |
67 |
} |
} |
|
|
|
|
|
|
68 |
} |
} |