-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPuppet Install
More file actions
78 lines (43 loc) · 2.3 KB
/
Puppet Install
File metadata and controls
78 lines (43 loc) · 2.3 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
# This is to install puppet
1. download puppet entireprise software to system.
2. add fully qualified domain name to /etc/hosts/ file like below.
127.0.0.1 ravis8291.mylabserver.com localhost.localdomain localhost
3. got to directory where you have downloaded and run below command
``` ./puppet-enterprise-installer ```
4. it provides a url to configure puppet master through brower. us that link and go through with below options
5. Chosed Monolithic installation from Monolithic/split installation
6. puppet master FQDN
ravis8291.mylabserver.com
7. Puppet Master DNS aliases
puppet
8. SSH username
root ( On Puppet master root should be enabled- If it is not enabled got to ssh_config file and eanbled "RemoteRootLogin" attribute)
9. Provide password
10. Select database as PostgreSQL
11. Consloed administrator user
Provide email and password
12. Console mail server
Tyep local host
========================================================
### Client Node side
1. login to clinet and enable root login if it is not enabled.
2. install puppet yum repo puppet packages.
rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
3. Then install puppet client
yum install
4. to check puppet agent installed or not
puppet agent -t
5. we need to tell our client which one is his master. Jump into /etc/puppet/puppet.conf file add below entry
server = ravis8291.mylabserver.com
6. run puppet agent -t
7. puppet agent --waitforcert 60 - it will go and communicate with puppet master and wait for 60 sec to get certification. with in this time
you should accessp this request from puppet master side.
=================================master side====================
8. after this you can go to puppet master side. this list all node which are waiting for certification
puppet cert list
9. to accept client node run below command
puppet cert sign <clinet_FQDN)
Note: we we want to sign all of them " puppet cert sign --all"
----------------------------------- client side -------------------
10. run below command to connect to puppet master. it downloades information from puppet master catlog that defines what state clinet shoud be.
puppet agent -t