This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
README
78 lines (70 loc) · 2.77 KB
/
README
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
##########################
### Boto Configuration ###
##########################
* chdir to the 'etc' directory
* copy the dot.boto file to ~/.boto AND /root/.boto and edit the credentials
* see the boto homepage for details: http://code.google.com/p/boto/
############################
### AWS: Security Groups ###
############################
* chdir to the 'aws/bin' directory
* copy the file security_groups_config.py.sample to security_groups_config.py
* edit the file with settings that are relevant to you
* run 'python ./security_groups.py -h' and follow the instructions
###########################
### AWS: Start instance ###
###########################
* chdir to the 'etc' directory
* copy the file 'user-data.yaml.sample' to 'user-data.yaml'
* edit the file with settings that are relevant to you
* chdir to the 'aws/bin' directory
* run 'python ./start_instance.py -h' and follow the instructions
############################
### Puppet: check_csr.py ###
############################
* add the following line to roots crontab, substituting path & bucket as needed:
*/2 * * * * /path/to/puppet/bin/check_csr.py --log-level=debug --bucket=instances
##################################
### Puppet: node_classifier.py ###
##################################
* add the following line to your puppet.conf master section, substituting path & bucket as needed:
external_nodes = /path/to/puppet/bin/node_classifier.py --bucket instances
#############################
### Puppet: update_env.pl ###
#############################
* the code expects a lay out of:
bin/[puppet scripts]
env/
development/[puppet modules]
staging/
production/[puppet modules]
* if your layout is different, please edit the code as needed.
* if not, simply symlink puppet/bin to puppets $confdir/bin
* chdir to '$confdir/bin'
* run 'perl update_env.pl -h' and follow the instructions
################################
### Puppet: new_component.pl ###
################################
* the code expects a lay out of:
bin/[puppet scripts]
env/
development/[puppet modules]
staging/
production/[puppet modules]
* if your layout is different, please edit the code as needed.
* if not, simply symlink puppet/bin to puppets $confdir/bin
* chdir to '$confdir/bin'
* run 'perl new_component.pl' and follow the instructions
############################################
### Puppet: run_puppet_master_locally.pl ###
############################################
* the code expects a lay out of:
bin/[puppet scripts]
env/
development/[puppet modules]
staging/
production/[puppet modules]
* if your layout is different, please edit the code as needed.
* if not, simply symlink puppet/bin to puppets $confdir/bin
* chdir to '$confdir/bin'
* run 'perl run_puppet_master_locally.pl' and follow the instructions