foreman_acd 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -19
- data/app/controllers/ui_acd_controller.rb +1 -1
- data/db/migrate/20210503122809_add_git_url_to_ansible_playbooks.rb +1 -1
- data/lib/foreman_acd/engine.rb +4 -10
- data/lib/foreman_acd/plugin.rb +1 -1
- data/lib/foreman_acd/version.rb +1 -1
- data/test/controllers/ui_acd_controller_test.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e8dc2917de1aa5ada0252edd2c3fb14615b804f3e39f58d237ef7b97ec52266
|
4
|
+
data.tar.gz: d38e9a064751be62eab34a5537ecce21f288535e42bd96934ac9047b4238630e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e6b683a22c4554d476d5a51908aa00906f0351b5d0e7ca098a2184fd8c209444f3105cb1216156a2f496f51cb032b51c7b96b84df718f5892b7cf4734de5acb
|
7
|
+
data.tar.gz: 0b353179ccc1844bb71864dbf2af3e672563249a780ff8237f96639851fdb2bc14bf505bc0db5f50e96fa5a23fc1133e1f7c0f59fe19a7ec53b07fcdcac92e6d
|
data/README.md
CHANGED
@@ -59,26 +59,12 @@ See [Deploying Hosts using Application Centric Deployment](https://docs.theforem
|
|
59
59
|
|
60
60
|
## Installation
|
61
61
|
|
62
|
-
|
63
|
-
|
64
|
-
### TL;DR:
|
65
|
-
|
66
|
-
yum install tfm-rubygem-foreman_acd
|
67
|
-
foreman-maintain service restart
|
68
|
-
|
69
|
-
In some cases, you need to manually run
|
70
|
-
|
71
|
-
foreman-rake db:migrate
|
72
|
-
foreman-rake db:seed
|
62
|
+
Check out the [Foreman documentation](https://docs.theforeman.org/nightly/Deploying_Hosts_AppCentric/index-katello.html#Installing_ACD_on_Server_application_centric_deployment) on how to install the foreman_acd plugin.
|
73
63
|
|
74
64
|
### Smart Proxy Installation
|
75
65
|
|
76
|
-
You
|
77
|
-
|
78
|
-
yum install tfm-rubygem-smart_proxy_acd tfm-rubygem-smart_proxy_acd_core
|
79
|
-
foreman-maintain service restart
|
80
|
-
|
81
|
-
You need to refresh the smart proxy features in *Infrastructure > Smart Proxies > Your Smart-Proxy > Actions > Refresh* after the installation of the Smart Proxy ACD components.
|
66
|
+
You need to install [Smart Proxy ACD](https://github.com/ATIX-AG/smart_proxy_acd), too.
|
67
|
+
Check out the [Foreman documentation](https://docs.theforeman.org/nightly/Deploying_Hosts_AppCentric/index-katello.html#Installing_ACD_on_Smart_Proxy_application_centric_deployment) on how to install the smart_proxy_acd plugin.
|
82
68
|
|
83
69
|
### Tips
|
84
70
|
|
@@ -98,7 +84,7 @@ Store it in `/var/lib/foreman/foreman_acd/ansible-playbooks/` so that SELinux is
|
|
98
84
|
### Application Definition (for Admins)
|
99
85
|
|
100
86
|
* Create an Application Definition via *Applications > Application Definitions*.
|
101
|
-
* Select the Ansible Playbook you want to use.
|
87
|
+
* Select the Ansible Playbook you want to use.
|
102
88
|
* Add new services and specify the host group you want to use.
|
103
89
|
* Specify any values a user will be allowed to overwrite.
|
104
90
|
You may also set a default value.
|
@@ -128,7 +114,7 @@ Fork and send a Pull Request. Thank you.
|
|
128
114
|
|
129
115
|
## Copyright
|
130
116
|
|
131
|
-
Copyright (c)
|
117
|
+
Copyright (c) 2024 ATIX AG
|
132
118
|
|
133
119
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
134
120
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Add git_url column to ansible_playbook
|
4
|
-
class
|
4
|
+
class AddGitURLToAnsiblePlaybooks < ActiveRecord::Migration[6.0]
|
5
5
|
def change
|
6
6
|
add_column :acd_ansible_playbooks, :git_url, :string
|
7
7
|
end
|
data/lib/foreman_acd/engine.rb
CHANGED
@@ -9,14 +9,6 @@ module ForemanAcd
|
|
9
9
|
class Engine < ::Rails::Engine
|
10
10
|
engine_name 'foreman_acd'
|
11
11
|
|
12
|
-
config.autoload_paths += Dir["#{config.root}/app/controllers/foreman_acd/concerns"]
|
13
|
-
config.autoload_paths += Dir["#{config.root}/app/models"]
|
14
|
-
config.autoload_paths += Dir["#{config.root}/app/services"]
|
15
|
-
config.autoload_paths += Dir["#{config.root}/app/helpers"]
|
16
|
-
config.autoload_paths += Dir["#{config.root}/app/overrides"]
|
17
|
-
config.autoload_paths += Dir["#{config.root}/app/lib"]
|
18
|
-
config.autoload_paths += Dir["#{config.root}/lib"]
|
19
|
-
|
20
12
|
# Add any db migrations
|
21
13
|
initializer 'foreman_acd.load_app_instance_data' do |app|
|
22
14
|
ForemanAcd::Engine.paths['db/migrate'].existent.each do |path|
|
@@ -40,8 +32,10 @@ module ForemanAcd
|
|
40
32
|
Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
|
41
33
|
end
|
42
34
|
|
43
|
-
initializer 'foreman_acd.register_plugin', :before => :finisher_hook do
|
44
|
-
|
35
|
+
initializer 'foreman_acd.register_plugin', :before => :finisher_hook do |app|
|
36
|
+
app.reloader.to_prepare do
|
37
|
+
require 'foreman_acd/plugin'
|
38
|
+
end
|
45
39
|
end
|
46
40
|
|
47
41
|
initializer 'foreman_acd.register_actions', :before => :finisher_hook do |_app|
|
data/lib/foreman_acd/plugin.rb
CHANGED
data/lib/foreman_acd/version.rb
CHANGED
@@ -13,7 +13,7 @@ module Katello
|
|
13
13
|
end
|
14
14
|
|
15
15
|
# UI Controller tests
|
16
|
-
class
|
16
|
+
class UIAcdControllerTest < ActionController::TestCase
|
17
17
|
test 'get app json' do
|
18
18
|
app_def = FactoryBot.create(:app_definition)
|
19
19
|
get :app, :params => { :id => app_def.id }, :session => set_session_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_acd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ATIX AG
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -364,7 +364,7 @@ homepage: https://www.orcharhino.com
|
|
364
364
|
licenses:
|
365
365
|
- GPL-3.0
|
366
366
|
metadata: {}
|
367
|
-
post_install_message:
|
367
|
+
post_install_message:
|
368
368
|
rdoc_options: []
|
369
369
|
require_paths:
|
370
370
|
- lib
|
@@ -383,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
383
383
|
version: '0'
|
384
384
|
requirements: []
|
385
385
|
rubygems_version: 3.3.27
|
386
|
-
signing_key:
|
386
|
+
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: Foreman plugin to provide application centric deployment and self service
|
389
389
|
portal
|