foreman_setup 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/foreman_setup/engine.rb +14 -0
- data/lib/foreman_setup/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 108b7d028caf95892e9856dd30375168c0c9ae16
|
4
|
+
data.tar.gz: ba67990cf75080f773c8dbef65e9032979d02577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fedee3f1c689216802fead638c898245f7e402bc9e8d9b650f8f162400db04e287038aa8d8abd2410fb6629e0109ab85c61b9fb0806fcf74c0ce001983367e27
|
7
|
+
data.tar.gz: e2ff682c30a5fbb28aeb1669475df93e50eab3c048c9675b901c1d722ab7bbe12bbb411251d41613a914f0b5cb8cb21d32cc753dc36357a1c645db7af89d2c92
|
data/CHANGES.md
CHANGED
data/lib/foreman_setup/engine.rb
CHANGED
@@ -13,6 +13,20 @@ module ForemanSetup
|
|
13
13
|
app.config.paths['db/migrate'] += ForemanSetup::Engine.paths['db/migrate'].existent
|
14
14
|
end
|
15
15
|
|
16
|
+
initializer 'foreman_setup.register_plugin', :after=> :finisher_hook do |app|
|
17
|
+
Foreman::Plugin.register :foreman_setup do
|
18
|
+
menu :top_menu, :provisioners, :url_hash => {:controller=> :'foreman_setup/provisioners', :action=>:index},
|
19
|
+
:caption=> N_('Provisioning setup'),
|
20
|
+
:parent => :infrastructure_menu,
|
21
|
+
:first => true
|
22
|
+
|
23
|
+
security_block :provisioning do
|
24
|
+
permission :edit_provisioning, {:'foreman_setup/provisioners' => [:index, :new, :update, :create, :show, :destroy, :step1, :step2, :step2_update, :step3, :step4, :step4_update, :step5] }
|
25
|
+
end
|
26
|
+
role "Provisioning setup", [:edit_provisioning]
|
27
|
+
end if defined? Foreman::Plugin
|
28
|
+
end
|
29
|
+
|
16
30
|
config.to_prepare do
|
17
31
|
begin
|
18
32
|
::HomeHelper.send :include, ForemanSetup::HomeHelperExt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_setup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.1.11
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Helps set up Foreman for provisioning
|