mofa 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +45 -45
- data/lib/mofa/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -3,51 +3,51 @@ a lightweight remote chef-solo runner
|
|
3
3
|
|
4
4
|
Before you can start using mofa please create a config file:
|
5
5
|
|
6
|
-
mkdir ~/.mofa
|
7
|
-
|
8
|
-
cat <<EOF > ~/.mofa/config.yaml
|
9
|
-
# global mofa settings
|
10
|
-
|
11
|
-
# Admin User Account that should be used for all mofa tasks.
|
12
|
-
# The user has to be able to login passwordless
|
13
|
-
# and has tohave passwordless sudo permissions.
|
14
|
-
ssh_user: vagrant
|
15
|
-
ssh_port: 2222
|
16
|
-
ssh_keyfile: ~/.ssh/id_rsa_vagrant_insecure
|
17
|
-
|
18
|
-
# A REST-Webservice that returns a list of hosts that are potentially
|
19
|
-
# manageable with this mofa.
|
20
|
-
#service_hostlist_url: http://a-real-server:9292/hosts
|
21
|
-
service_hostlist_url: file:///Users/<yourname>/workspaces/mofa/example_hostlist.json
|
22
|
-
service_hostlist_default_filter: "localhost"
|
23
|
-
service_hostlist_api_key: <a api key used to access the above service>
|
24
|
-
|
25
|
-
# where to build tmporary cookbook packages and so on
|
26
|
-
tmp_dir: /var/tmp
|
27
|
-
|
28
|
-
# The cookbook architectural pattern should becodified by following
|
29
|
-
# a cookbook naming schema:
|
30
|
-
# * Cookbooks beginning with "env_*" are Envrionment Cookbooks
|
31
|
-
# * Cookbooks haven a prefix like "<organisation_name>_*" are
|
32
|
-
# so-called Wrapper Cookbooks
|
33
|
-
# * Cookbooks having a "base_" Prefix are Base Cookbooks
|
34
|
-
|
35
|
-
cookbook_type_indicator:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
# Binrepo for released cookbooks
|
41
|
-
binrepo_base_url: http://binrepo-server/cookbooks/
|
42
|
-
|
43
|
-
# Releasing into binrepo
|
44
|
-
binrepo_host: localhost
|
45
|
-
binrepo_ssh_user: berkshelf
|
46
|
-
binrepo_ssh_port: 2222
|
47
|
-
binrepo_ssh_keyfile: ~/.ssh/id_rsa_vagrant_insecure
|
48
|
-
binrepo_import_dir: /var/berks-api-binrepo/cookbooks
|
49
|
-
|
50
|
-
EOF
|
6
|
+
mkdir ~/.mofa
|
7
|
+
|
8
|
+
cat <<EOF > ~/.mofa/config.yaml
|
9
|
+
# global mofa settings
|
10
|
+
|
11
|
+
# Admin User Account that should be used for all mofa tasks.
|
12
|
+
# The user has to be able to login passwordless
|
13
|
+
# and has tohave passwordless sudo permissions.
|
14
|
+
ssh_user: vagrant
|
15
|
+
ssh_port: 2222
|
16
|
+
ssh_keyfile: ~/.ssh/id_rsa_vagrant_insecure
|
17
|
+
|
18
|
+
# A REST-Webservice that returns a list of hosts that are potentially
|
19
|
+
# manageable with this mofa.
|
20
|
+
#service_hostlist_url: http://a-real-server:9292/hosts
|
21
|
+
service_hostlist_url: file:///Users/<yourname>/workspaces/mofa/example_hostlist.json
|
22
|
+
service_hostlist_default_filter: "localhost"
|
23
|
+
service_hostlist_api_key: <a api key used to access the above service>
|
24
|
+
|
25
|
+
# where to build tmporary cookbook packages and so on
|
26
|
+
tmp_dir: /var/tmp
|
27
|
+
|
28
|
+
# The cookbook architectural pattern should becodified by following
|
29
|
+
# a cookbook naming schema:
|
30
|
+
# * Cookbooks beginning with "env_*" are Envrionment Cookbooks
|
31
|
+
# * Cookbooks haven a prefix like "<organisation_name>_*" are
|
32
|
+
# so-called Wrapper Cookbooks
|
33
|
+
# * Cookbooks having a "base_" Prefix are Base Cookbooks
|
34
|
+
|
35
|
+
cookbook_type_indicator:
|
36
|
+
env: "^env_.*"
|
37
|
+
wrapper: "^(<your_org>_|<another_pattern>_).*"
|
38
|
+
base: ".*_base$"
|
39
|
+
|
40
|
+
# Binrepo for released cookbooks
|
41
|
+
binrepo_base_url: http://binrepo-server/cookbooks/
|
42
|
+
|
43
|
+
# Releasing into binrepo
|
44
|
+
binrepo_host: localhost
|
45
|
+
binrepo_ssh_user: berkshelf
|
46
|
+
binrepo_ssh_port: 2222
|
47
|
+
binrepo_ssh_keyfile: ~/.ssh/id_rsa_vagrant_insecure
|
48
|
+
binrepo_import_dir: /var/berks-api-binrepo/cookbooks
|
49
|
+
|
50
|
+
EOF
|
51
51
|
|
52
52
|
|
53
53
|
|
data/lib/mofa/version.rb
CHANGED