public
Description: p@rdalys provides the full configuration set for the Kolab Server (http://www.kolab.org) and is based on puppet (http://reductivelabs.com/trac/puppet). Besides the configuration data it provides Ruby extensions to puppet.
Homepage: http://pardalys.sourceforge.net/
Clone URL: git://github.com/wrobel/pardalys.git
pardalys / pardalys / INSTALL
100644 156 lines (98 sloc) 4.11 kb
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
====================
INSTALL instructions
====================
 
:Last update: $Date: 2007-12-18 14:32:42 +0100 (Di, 18 Dez 2007) $
:Revision: $Revision: 10 $
:Contact: p@rdus.de
 
Obtaining the software
----------------------
 
Download the software at
 
  http://sourceforge.net/project/showfiles.php?group_id=226506
 
Prerequisites
-------------
 
  p@rdalys requires the following to work:
 
    - >=puppet-0.24.5 (http://reductivelabs.com/trac/puppet)
    - ruby-ldap (http://ruby-ldap.sourceforge.net/)
 
 
Installing the software on Gentoo
---------------------------------
 
The primary focus of p@rdalys is Gentoo and installation is automated
on this platform.
 
  1) Install the kolab overlay
 
     You can install the overlay by running:
 
       layman -f -a kolab
 
     Currently p@rdalys is still purely experimental and not
     maintained within the main Gentoo portage tree. The package
     definitions are only available via the Kolab overlay at the
     moment.
 
  2) Unmask the package
 
     Tell portage to accept the experimental packages by running:
 
       echo "app-admin/pardalys" >> /etc/portage/package.unmask
       echo "app-admin/pardalys ~x86" >> /etc/portage/package.keywords
       echo "app-admin/puppet ~x86" >> /etc/portage/package.keywords
       echo "dev-ruby/facter ~x86" >> /etc/portage/package.keywords
 
     As mentioned above the package is still experimental. As it is
     still masked you need to unmask it and accept the unstable
     keyword on the package.
 
     p@rdalys depends on puppet and puppet in turn depends on
     facter. Both packages are still marked unstable and need to be
     accepted in that form.
 
  3) Install the package
 
     Now you can run emerge to install the package:
 
       emerge pardalys
 
     If you want to use p@rdalys in developers mode you should ensure
     that you activated the "develop" USE flag for this package.
 
  Optional:
  ~~~~~~~~~
 
   - Switching to developers mode
 
     You can easily switch to p@rdalys developers mode. Refer to the
     instructions in the HACKING file in this directory.
 
 
Installing the software on other systems
----------------------------------------
 
  Download the package, unpack it and include the unpacked "modules"
  directory in your puppet modules.
 
 
Configuring the software
------------------------
 
  1) Edit /etc/kolab/kolab.bootstrap
 
 
  Optional:
  ~~~~~~~~~
 
   - Embedding a host in an already existing Kolab network
 
     If you run a network of Kolab hosts you will have a central LDAP
     master server. Your initial setup for a new host requires the
     following steps:
 
       mkdir /etc/pardalys
 
     This creates an alternative p@rdalys configuration
     directory. First we copy the default configuration:
 
       cp /usr/share/pardalys/etc/puppet.conf /etc/pardalys/
 
         or
 
       cp /usr/share/pardalys/dev-pardalys/pardalys/etc/puppet.conf /etc/pardalys/
 
     Now add the details for the LDAP master server to the copied
     file. The followin assumes the master cares for the domain
     example.com and is named smtp.example.com:
 
       node_terminus = ldap
       ldapserver = smtp.example.com
       ldapbase = dc=example,dc=com
       ldapstackedattrs = puppetvar
       ldapuser = cn=nobody,cn=internal,dc=example,dc=com
       ldappassword = xyz
 
     Copy the parameters ldap_master_uri, ldap_uri, base_dn, bind_dn,
     bind_pw, bind_pw_hash, bind_dn_restricted, bind_pw_restricted
     from /etc/kolab/kolab.conf on your master server to
     /etc/kolab/kolab.bootstrap on your slave host.
     (FIXME: This should be easier!)
 
     Now run p@rdalys to setup the new host:
 
       pardalys
 
Upgrading the software
----------------------
 
  Simply download and install a newer version following the
  instructions given above.
 
 
Obtaining support
-----------------
 
  You can either
 
   - Post to the mailing list
     (http://groups.google.com/group/pardalys)
 
  or
 
   - Post a bug report
     (http://sourceforge.net/tracker/?group_id=226506)
 
  or
 
   - Ask for help at the Kolab2/Gentoo forum
     (http://forum.pardus.de)