solokit 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/HISTORY +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/MANIFEST +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/README +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/README.euc +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/depend +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/extconf.rb +0 -0
- data/cookbooks/{upstream → site}/ruby-shadow/files/default/shadow-1.4.1/shadow.c +0 -0
- data/cookbooks/site/ruby-shadow/recipes/default.rb +17 -0
- data/lib/solokit/version.rb +1 -1
- metadata +12 -13
- data/cookbooks/upstream/ruby-shadow/attributes/ruby-shadow.rb +0 -1
- data/cookbooks/upstream/ruby-shadow/recipes/default.rb +0 -15
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
site_ruby = "/usr/local/lib/ruby/site_ruby/1.8"
|
2
|
+
|
3
|
+
remote_directory "/usr/local/src/shadow-1.4.1" do
|
4
|
+
source 'shadow-1.4.1'
|
5
|
+
not_if { File.exists?(site_ruby, "#{node[:languages][:ruby][:platform]}/shadow.so")) }
|
6
|
+
end
|
7
|
+
|
8
|
+
bash "install ruby shadow library" do
|
9
|
+
user "root"
|
10
|
+
cwd "/usr/local/src"
|
11
|
+
code <<-EOH
|
12
|
+
cd shadow-1.4.1
|
13
|
+
ruby extconf.rb
|
14
|
+
make install
|
15
|
+
EOH
|
16
|
+
not_if { File.exists?(site_ruby, "/#{node[:languages][:ruby][:platform]}/shadow.so")) }
|
17
|
+
end
|
data/lib/solokit/version.rb
CHANGED
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 11
|
10
|
+
version: 0.1.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Joakim Kolsj\xC3\xB6"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-02-11 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -69,6 +69,14 @@ files:
|
|
69
69
|
- chef/roles/base.json
|
70
70
|
- chef/server.json
|
71
71
|
- chef/solo.rb
|
72
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/HISTORY
|
73
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/MANIFEST
|
74
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/README
|
75
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/README.euc
|
76
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/depend
|
77
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/extconf.rb
|
78
|
+
- cookbooks/site/ruby-shadow/files/default/shadow-1.4.1/shadow.c
|
79
|
+
- cookbooks/site/ruby-shadow/recipes/default.rb
|
72
80
|
- cookbooks/site/sudo/templates/default/sudoers.erb
|
73
81
|
- cookbooks/site/users/definitions/add_keys.rb
|
74
82
|
- cookbooks/site/users/recipes/default.rb
|
@@ -82,15 +90,6 @@ files:
|
|
82
90
|
- cookbooks/upstream/apt/recipes/cacher.rb
|
83
91
|
- cookbooks/upstream/apt/recipes/default.rb
|
84
92
|
- cookbooks/upstream/apt/resources/repository.rb
|
85
|
-
- cookbooks/upstream/ruby-shadow/attributes/ruby-shadow.rb
|
86
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/HISTORY
|
87
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/MANIFEST
|
88
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/README
|
89
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/README.euc
|
90
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/depend
|
91
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/extconf.rb
|
92
|
-
- cookbooks/upstream/ruby-shadow/files/default/shadow-1.4.1/shadow.c
|
93
|
-
- cookbooks/upstream/ruby-shadow/recipes/default.rb
|
94
93
|
- cookbooks/upstream/sudo/attributes/sudoers.rb
|
95
94
|
- cookbooks/upstream/sudo/metadata.json
|
96
95
|
- cookbooks/upstream/sudo/metadata.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
set_unless[:ruby_shadow][:site_ruby] = "/usr/local/lib/ruby/site_ruby/1.8"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
remote_directory "/usr/local/src/shadow-1.4.1" do
|
2
|
-
source 'shadow-1.4.1'
|
3
|
-
not_if { File.exists?(File.join(node[:ruby_shadow][:site_ruby], "#{node[:languages][:ruby][:platform]}/shadow.so")) }
|
4
|
-
end
|
5
|
-
|
6
|
-
bash "install ruby shadow library" do
|
7
|
-
user "root"
|
8
|
-
cwd "/usr/local/src"
|
9
|
-
code <<-EOH
|
10
|
-
cd shadow-1.4.1
|
11
|
-
ruby extconf.rb
|
12
|
-
make install
|
13
|
-
EOH
|
14
|
-
not_if { File.exists?(File.join(node[:ruby_shadow][:site_ruby], "/#{node[:languages][:ruby][:platform]}/shadow.so")) }
|
15
|
-
end
|