Puppet von puppetlabs: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
 
  mysql> create database puppet_dashboard;
 
  mysql> create database puppet_dashboard;
 
  Query OK, 1 row affected (0.00 sec)
 
  Query OK, 1 row affected (0.00 sec)
*User anlegen mit entsprechenden Rechten auf der DB
+
*User anlegen mit entsprechenden Rechten auf der DB (in mysql Console)
 
  mysql> grant all on puppet_dashboard.* to puppet@localhost identified by 'geheim';
 
  mysql> grant all on puppet_dashboard.* to puppet@localhost identified by 'geheim';
 
  Query OK, 0 rows affected (0.00 sec)
 
  Query OK, 0 rows affected (0.00 sec)

Version vom 10. Juni 2015, 13:41 Uhr

install puppetlabs repo


Installation ueber github

apt-get install ruby 
apt-get install bundler
apt-get install mysql
  • DB anlegen
mysql> create database puppet_dashboard;
Query OK, 1 row affected (0.00 sec)
  • User anlegen mit entsprechenden Rechten auf der DB (in mysql Console)
mysql> grant all on puppet_dashboard.* to puppet@localhost identified by 'geheim';
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
  • mysql Konfiguration anpassen:
vi /etc/mysql/my.cnf
max_allowed_packet      = 32M
service mysql restart
  • entpacken (/usr/share/)
unzip puppet-dashboard-master.zip