solokit 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -10,15 +10,15 @@ Solokit
10
10
  Cookbooks and configuration
11
11
  ---
12
12
 
13
- Solokit includes some defaults so that you don't have to repeat the same things for each server. Any "cookbook" or "chef" directories in the root of your project will be copied over the defaults (but not replace them entierly). The same goes for any "cookbook" or "chef" directories for a specific environment.
13
+ Solokit includes some defaults so that you don't have to repeat the same things for each server. Any "cookbook" or "chef" directories in the root of your project will be copied over the defaults. The same goes for any "cookbook" or "chef" directories for a specific environment.
14
14
 
15
15
  An environment can be anything from one server to a staging cluster. Within an environment you can run specific configuration for each server, but Solokit defaults to "server.json".
16
16
 
17
17
  For each layer, Solokit looks for a directory structure like this:
18
18
 
19
- cookbooks/upstream # Unchanged cookbooks downloaded from opscode, or simular.
19
+ cookbooks/upstream # Unchanged cookbooks downloaded from opscode or other upstream source.
20
20
  cookbooks/site # Changes or entierly new cookbooks for Solokit, your project or env.
21
- chef/solo.rb # Specifies where to find files.
21
+ chef/solo.rb # Specifies where chef solo should look for files.
22
22
  chef/server.json # Default config, just calls roles/base.rb.
23
23
  chef/roles/base.rb # Base configuration
24
24
 
@@ -50,7 +50,7 @@ Add user configuration to users.yml (optional, but you need to provide a chef/ro
50
50
  # User data used to setup user accounts using chef.
51
51
  # The hash is generated with "openssl passwd -1".
52
52
 
53
- # Random PWgen password
53
+ # Random pwgen password that is used when you don't specify a password for a user.
54
54
  default_hash: $1$8jLGWmPB$yFGmUThzbL0DMarc1CIY1/
55
55
 
56
56
  groups:
@@ -59,7 +59,7 @@ Add user configuration to users.yml (optional, but you need to provide a chef/ro
59
59
  users:
60
60
  user:
61
61
  hash: $1$8jLGWmPB$yFGmUThzbL0DMarc1CIY1/
62
- keys: jocke@keymaker
62
+ keys: user@computer
63
63
 
64
64
  ## -- Shared users --
65
65
  deploy:
@@ -69,6 +69,11 @@ Add user configuration to users.yml (optional, but you need to provide a chef/ro
69
69
  test:
70
70
  users: group/developers deploy
71
71
  sudo: group/developers
72
+
73
+ And keys below "public_keys" that have names ending in ".pub".
74
+
75
+ mkdir -p public_keys
76
+ echo "your key" > public_keys/your_key@computer.pub
72
77
 
73
- By default this setup assumes that you can login to root on the server using your ssh key.
78
+ By default this setup assumes that you can login to root on the server using your ssh key but Solokit also supports running chef as a normal user (with some modifications to solo.rb).
74
79
 
@@ -1,3 +1,3 @@
1
1
  module Solokit
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/solokit.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Joakim Kolsjö"]
10
10
  s.email = ["joakim.kolsjo@gmail.com"]
11
11
  s.homepage = ""
12
- s.summary = %q{}
13
- s.description = %q{}
12
+ s.summary = %q{A toolkit for provisioning (ubuntu-)servers using chef-solo.}
13
+ s.description = %q{A toolkit for provisioning (ubuntu-)servers using chef-solo.}
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solokit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"
@@ -48,7 +48,7 @@ dependencies:
48
48
  version: "0"
49
49
  type: :development
50
50
  version_requirements: *id002
51
- description: ""
51
+ description: A toolkit for provisioning (ubuntu-)servers using chef-solo.
52
52
  email:
53
53
  - joakim.kolsjo@gmail.com
54
54
  executables: []
@@ -139,6 +139,6 @@ rubyforge_project:
139
139
  rubygems_version: 1.6.2
140
140
  signing_key:
141
141
  specification_version: 3
142
- summary: ""
142
+ summary: A toolkit for provisioning (ubuntu-)servers using chef-solo.
143
143
  test_files: []
144
144