Skip to content

Commit cf1d331

Browse files
committed
Basic loading
1 parent 468c9df commit cf1d331

File tree

5 files changed

+112
-9
lines changed

5 files changed

+112
-9
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ See How_to_Install_a_Smart-Proxy_Plugin for how to install Smart Proxy plugins.
77
```
88
git clone https://github.com/martencassel/smart_proxy_realm_ad_plugin
99
cd smart_proxy_realm_ad_plugin
10-
bundle install
11-
gem build smart_proxy_realm_ad_plugin.gemspec
12-
sudo gem install smart_proxy_realm_ad_plugin-0.1.gem
10+
bundle install && gem build smart_proxy_realm_ad_plugin.gemspec && sudo gem install smart_proxy_realm_ad_plugin-0.1.gem
11+
1312
```
1413

1514
## Configuration

lib/smart_proxy_realm_ad/configuration_loader.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def load_classes
55
end
66

77
def load_dependency_injection_wirings(container_instance, settings)
8-
container_instance.depedency : realm_provider_impl,
8+
container_instance.dependency:realm_provider_impl,
99
lambda {
1010
::Proxy::AdRealm::Provider.new(
1111
settings[:realm],

lib/smart_proxy_realm_ad/plugin.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
require 'smart_proxy_realm_ad/version'
2+
13
module Proxy::AdRealm
24
class Plugin < Proxy::Provider
35
load_classes ::Proxy::AdRealm::ConfigurationLoader
46
load_dependency_injection_wirings ::Proxy::AdRealm::ConfigurationLoader
57

68
validate_presence :realm, :keytab_path, :principal, :domain_controller
79

8-
plugin :realm_ad, ::Proxy::VERSION
10+
plugin :realm_ad, ::Proxy::AdRealm::VERSION
911
end
1012
end

lib/smart_proxy_realm_ad/version.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Proxy
2-
module AdRealm
3-
VERSION = '0.1'
4-
end
5-
end
2+
module AdRealm
3+
VERSION = '0.1'
4+
end
5+
end

local

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
addressable (2.5.1)
2+
ast (2.3.0)
3+
benchmark-ips (2.7.2)
4+
bigdecimal (1.2.8)
5+
builder (3.2.3)
6+
bundler (1.15.3, 1.13.6)
7+
CFPropertyList (2.2.8)
8+
chef-api (0.7.0)
9+
childprocess (0.5.9)
10+
ci_reporter (1.9.3)
11+
coderay (1.1.1)
12+
concurrent-ruby (1.0.5)
13+
crack (0.4.3)
14+
debase (0.2.2.beta10, 0.2.1)
15+
debase-ruby_core_source (0.9.9)
16+
dhcpsapi (0.0.11)
17+
did_you_mean (1.0.0)
18+
diff-lcs (1.3)
19+
domain_name (0.5.20160216)
20+
erubis (2.7.0)
21+
facter (2.5.0)
22+
fast_gettext (1.1.0)
23+
ffi (1.9.18, 1.9.10)
24+
gettext (3.2.3)
25+
gettext-setup (0.26)
26+
gssapi (1.2.0)
27+
hashdiff (0.3.4)
28+
hiera (3.4.0)
29+
http-cookie (1.0.2)
30+
i18n (0.7.0)
31+
io-console (0.4.5)
32+
json (2.1.0, 1.8.3)
33+
json_pure (1.8.6)
34+
listen (3.0.3)
35+
locale (2.1.2)
36+
log4r (1.1.10)
37+
logify (0.2.0)
38+
metaclass (0.0.4)
39+
method_source (0.8.2)
40+
mime-types (2.6.1)
41+
minitest (5.9.0)
42+
mocha (1.2.1)
43+
molinillo (0.5.0)
44+
mustermann (1.0.0)
45+
net-http-persistent (2.9.4)
46+
net-scp (1.2.1)
47+
net-sftp (2.1.2)
48+
net-ssh (3.2.0)
49+
net-telnet (0.1.1)
50+
netrc (0.10.3)
51+
nokogiri (1.6.8.1)
52+
parser (2.4.0.0)
53+
pkg-config (1.1.7)
54+
power_assert (1.0.2, 0.2.7)
55+
powerpack (0.1.1)
56+
pry (0.10.4)
57+
psych (2.1.0)
58+
public_suffix (2.0.5)
59+
puppet (4.10.4)
60+
rack (2.0.3)
61+
rack-protection (2.0.0)
62+
rack-test (0.7.0)
63+
radcli (0.1.0)
64+
rainbow (2.2.2)
65+
rake (12.0.0, 10.5.0)
66+
rake-compiler (1.0.4)
67+
rb-inotify (0.9.10, 0.9.7)
68+
rb-kqueue (0.2.5)
69+
rdoc (5.1.0, 4.2.1)
70+
rest-client (1.8.0)
71+
rkerberos (0.1.5)
72+
rsec (0.4.2)
73+
rspec (3.6.0)
74+
rspec-core (3.6.0)
75+
rspec-expectations (3.6.0)
76+
rspec-mocks (3.6.0)
77+
rspec-support (3.6.0)
78+
rubocop (0.38.0)
79+
rubocop-checkstyle_formatter (0.4.0)
80+
ruby-augeas (0.5.0)
81+
ruby-debug-ide (0.6.0)
82+
ruby-libvirt (0.7.0)
83+
ruby-prof (0.16.2)
84+
ruby-progressbar (1.8.1)
85+
rubyipmi (0.10.0)
86+
safe_yaml (1.0.4)
87+
sinatra (2.0.0)
88+
single_test (0.6.0)
89+
slop (3.6.0)
90+
smart_proxy_chef (0.2.0)
91+
smart_proxy_pulp (1.3.0)
92+
smart_proxy_realm_ad_plugin (0.1)
93+
sqlite3 (1.3.11)
94+
test-unit (3.2.5, 3.1.7)
95+
text (1.3.1)
96+
thor (0.19.1)
97+
tilt (2.0.8)
98+
unf (0.1.4)
99+
unf_ext (0.0.7.2)
100+
unicode-display_width (1.3.0)
101+
vagrant (1.9.1)
102+
webmock (3.0.1)

0 commit comments

Comments
 (0)