##########################################################################
#                                                                        #
# Master MySQL-Astrad DB3                                                #
# Switzernet(c)2011                                                      #
#                                                                        #
##########################################################################

conventions:
 '#' : should be root
 '>' : STDOUT
 '<' : STDIN

- You must change the hostname of your Astrad server before starting the installation:

 # echo "dbX.switzernet.com" > /etc/hostname

 # vi /etc/hosts
 < 91.121.XXX.XXX   stradX.switzernet.com

 # /etc/init.d/hostname.sh
 # hostname
 > astradX.switzernet.com

 # /etc/init.d/networking restart
 > Reconfiguring network interfaces...done.

 # sed -i -e '$d' /etc/motd;sed -i -e '/^hostname/d' /etc/motd; echo -e "hostname  : `hostname`\ncompany   : Switzernet@2011\n" >> /etc/motd

 # aptitude update
 # aptitude install -y puppet 
 # /etc/init.d/puppet stop
 > Stopping puppet configuration management tool.

 # vi /etc/puppet/puppet.conf
 < pluginsync=false
 
 # puppetd --server puppet.switzernet.com --waitforcert 60 --test
 > warning: peer certificate won't be verified in this SSL session
 > notice: Did not receive certificate
 > notice: Set to run 'one time'; exiting with no certificate

On the puppet master:

 # puppetca --list
 > dbX.switzernet.com
 # puppetca --sign dbX.switzernet.com

On your Astrad server

 # puppetd --server puppet.switzernet.com --waitforcert 60 --test
 # /etc/init.d/puppet start

