simple_configure 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/bin/simpleconfig +14 -0
- data/lib/simple_configure.rb +3 -1
- data/lib/simple_configure/core_methods.rb +0 -0
- data/lib/simple_configure/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b705d53ac529feb073f833e1c1b79fe13f0e02b
|
4
|
+
data.tar.gz: d5ce06724bf99c071f0da11c6272eb85a63ce546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea870448a4d1125f49d940ce6da49d780a5430d7687f558a4c1e6e32c72d472cc8d874895a9fa03ca8727e5250774344886a09ec128900039c66eb395674ea6
|
7
|
+
data.tar.gz: b38d4d6e050114bf1157202c87a5c999e7edd7223f97ddf62a158292091eabbbb36c54c76b20741efbce86e8e96fc63440499a15bfda8a9c19082255ed1a3b8e
|
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
## simple_configure
|
2
|
-
simple_configure is a simple
|
2
|
+
simple_configure is a simple configuration tool for configuring servers to deploy Rails apps.
|
3
3
|
|
4
4
|
### Why do you need this?
|
5
|
-
Have you ever deployed Rails apps to VPS manually without making mistakes and wasting time? The answer is most probably no. This is because humans are very error prone. We already have a great tool called **Capistrano** which automates most of the tasks involved in deployment of Rails apps. I haven't found a simple tool which performs the same automation for
|
5
|
+
Have you ever deployed Rails apps to VPS manually without making mistakes and wasting time? The answer is most probably no. This is because humans are very error prone. We already have a great tool called **Capistrano** which automates most of the tasks involved in deployment of Rails apps. I haven't found a simple tool which performs the same automation for configuration servers. That's why I wrote this tool. This is another tool extracted from Groupsy/Clubalert.
|
6
6
|
|
7
7
|
#### What about Chef/Puppet/Ansible/SaltStack?
|
8
|
-
I have some experience with Ansible but not a lot. I have never used SaltStack. So I am going to leave it out in this comparison. But I have played around with both Chef and Puppet. They are great at configuration management. But for a less compilated task like
|
8
|
+
I have some experience with Ansible but not a lot. I have never used SaltStack. So I am going to leave it out in this comparison. But I have played around with both Chef and Puppet. They are great at configuration management. But for a less compilated task like configuring a Rails server, they are unnecessarily complicated and it will take a week for getting a person up to speed on the basics of these tools. simple_configure actually rose out my frustration with Chef.
|
9
9
|
|
10
10
|
### Architecture
|
11
11
|
|
12
|
-
`simple_configure` is an agentless
|
12
|
+
`simple_configure` is an agentless configuration tool written in Ruby. All the configuration is done over SSH. `simple_configure` breaks down the configuration of servers into a series of tasks. `simple_configure` exposes those tasks through a DSL. The list of tasks currently available in `simple_configure` are in the tasks section below.
|
13
13
|
|
14
14
|
### Installation
|
15
15
|
|
data/bin/simpleconfig
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# This code was taken from https://github.com/lsegal/yard/blob/master/bin/yard. The code is licensed under the MIT License.
|
4
|
+
|
5
|
+
# We do all this work just to find the proper load path
|
6
|
+
path = __FILE__
|
7
|
+
while File.symlink?(path)
|
8
|
+
path = File.expand_path(File.readlink(path), File.dirname(path))
|
9
|
+
end
|
10
|
+
$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
|
11
|
+
|
12
|
+
require 'simple_configure'
|
13
|
+
|
14
|
+
puts ARGV
|
data/lib/simple_configure.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_configure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adhithya Rajasekaran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -43,7 +43,8 @@ description: simple_configure automates the set up of your Rails deployment serv
|
|
43
43
|
to deploy your Rails apps
|
44
44
|
email:
|
45
45
|
- adhithyan15@gmail.com
|
46
|
-
executables:
|
46
|
+
executables:
|
47
|
+
- simpleconfig
|
47
48
|
extensions: []
|
48
49
|
extra_rdoc_files: []
|
49
50
|
files:
|
@@ -53,7 +54,9 @@ files:
|
|
53
54
|
- LICENSE.txt
|
54
55
|
- README.md
|
55
56
|
- Rakefile
|
57
|
+
- bin/simpleconfig
|
56
58
|
- lib/simple_configure.rb
|
59
|
+
- lib/simple_configure/core_methods.rb
|
57
60
|
- lib/simple_configure/version.rb
|
58
61
|
- simple_configure.gemspec
|
59
62
|
homepage: http://adhithyan15.github.io/simple_configure/
|