bog 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +17 -15
- data/etc/assets/toilet-icons-69981.png +0 -0
- data/lib/bog/command/list.rb +1 -1
- data/lib/bog/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODQ4YWY2ZWUzZDEwZDVjM2M5NjIyYWM5NjNjNTE1N2U0MjMzYTU1ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWViMjAyNzg4YjJmNzFlODVhMjE0NjczYTkwZmQ1NzVlODU2M2RhOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjZlODBhZTg0M2IyYTc3OWU2NWQxMGQ2NzhkYzk0ZTJiNTdkNzM5YjRkMGY4
|
10
|
+
MzQ3M2JlMjk3MzQ3NzEwODBjODRkNjdmM2FlOTJlZDFiYjY5ZWZmMDU5Nzc5
|
11
|
+
NDNjNDM4MWExOTQwYWI0YTQ3NTk2Nzc4MGY3ZjRkNTM5MGM2NzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjljMzc5MjhiNTdhNTJkMWE4N2JhYTNkNTJjYWZjZDlhZDQ1NGViNGYyZDYx
|
14
|
+
MGFkZDM0ZmM1OGQwMDcwYmE5Y2VlNTZjOGJmM2M4ZmFlNTE1YjE5YWQwMjgz
|
15
|
+
ZDVkNTIyNGM3MmEyYjM4ZGFiNjNiZWQ0ZDgwNGE1NWFhYWYwYjI=
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
# bog [](https://travis-ci.org/opsunit/bog) [](http://badge.fury.io/rb/bog) 
|
2
|
-
|
3
|
-
![OpsUnit Logo][99]
|
1
|
+
# bog [](https://travis-ci.org/opsunit/bog) [](http://badge.fury.io/rb/bog)  <img align="right" width="185" height="40" src="http://opsunit.com/assets/images/opsunit-logo-large.png" alt="opsunit" />
|
4
2
|
|
3
|
+
<img align="right" width="160" height="160" src="etc/assets/toilet-icons-69981.png" alt="bog" />
|
5
4
|
A tool for managing cloud API and configuration management credentials. rbenv for dotfiles.
|
6
5
|
|
7
|
-
|
6
|
+
Brought to you by the folks at [OpsUnit][1].
|
8
7
|
|
9
8
|
## Introduction
|
10
9
|
In a modern operations team it is common to have many different sets of credentials and dotfile configurations.
|
@@ -15,18 +14,19 @@ work with collections of dotfile configurations and to swap between those sets.
|
|
15
14
|
The traditional form, where you manually switch profiles:
|
16
15
|
|
17
16
|
```bash
|
18
|
-
$ bog myclient init --aws
|
17
|
+
$ bog myclient init --aws # Configure ~/.bog with a stub for AWS under profile 'myclient'
|
19
18
|
Enter your Amazon Secret Access Key:
|
20
19
|
...
|
21
|
-
$ bog myclient
|
20
|
+
$ bog myclient # Switch to profile 'myclient'
|
22
21
|
$ knife client list
|
23
22
|
$ aws s3 ls
|
24
23
|
...
|
25
|
-
$ bog personal
|
24
|
+
$ bog personal # Switch to another profile
|
26
25
|
...
|
27
|
-
$ bog
|
26
|
+
$ bog # Show the current profile
|
28
27
|
personal
|
29
|
-
|
28
|
+
...
|
29
|
+
$ bog -l # List available profiles - * indicates current profile
|
30
30
|
myclient
|
31
31
|
personal*
|
32
32
|
```
|
@@ -58,10 +58,12 @@ $ bog myclient exec knife client list # switch back to previous profile
|
|
58
58
|
|
59
59
|
```
|
60
60
|
.bog
|
61
|
-
├──
|
62
|
-
├──
|
61
|
+
├── bog.sh
|
62
|
+
├── current -> /home/me/.bog/profiles/myclient
|
63
|
+
├── default
|
63
64
|
└── profiles
|
64
65
|
└── myclient
|
66
|
+
|
65
67
|
```
|
66
68
|
`bog` will never touch your `~/.aws` and similar directories. You will need to:
|
67
69
|
|
@@ -89,9 +91,9 @@ There are plenty out there. `bog` aims to fit a modern operational workflow and
|
|
89
91
|
The gem and its dependencies are tested against the following ruby versions:
|
90
92
|
|
91
93
|
* 1.9.3
|
92
|
-
* 2.0
|
93
|
-
* 2.1
|
94
|
-
* 2.2
|
94
|
+
* 2.0
|
95
|
+
* 2.1
|
96
|
+
* 2.2
|
97
|
+
* 2.3.1
|
95
98
|
|
96
99
|
[1]: http://www.opsunit.com
|
97
|
-
[99]: http://opsunit.com/assets/images/opsunit-logo-large.png
|
Binary file
|
data/lib/bog/command/list.rb
CHANGED
data/lib/bog/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sam
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- Rakefile
|
99
99
|
- bin/bog
|
100
100
|
- bog.gemspec
|
101
|
+
- etc/assets/toilet-icons-69981.png
|
101
102
|
- lib/bog.rb
|
102
103
|
- lib/bog/command.rb
|
103
104
|
- lib/bog/command/default.rb
|