foreman_packages 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,6 @@ class ForemanPackages::Sypackage < ActiveRecord::Base
|
|
11
11
|
#目前用 "/home/stdtnt/app/"代替 "/etc/puppet/environments/production/modules/packages"
|
12
12
|
#该处需要注意权限问题,当前用户是否具有该目录的操作权限
|
13
13
|
root_dir_name = "/etc/puppet/environments/production/modules/packages/"
|
14
|
-
/etc/puppet/environments/production/modules/packages
|
15
14
|
#self.destory_dir #默认删除该目录,然后重新创建
|
16
15
|
dir_exist_status = File.exist?(root_dir_name) #判断该目录是否存在
|
17
16
|
if !dir_exist_status
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_packages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -50,34 +50,34 @@ executables: []
|
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
-
- app/models/foreman_packages/sypackage.rb
|
54
|
-
- app/overrides/dashboard/index/sample_override.html.erb.deface
|
55
|
-
- app/helpers/foreman_packages/hosts_helper_extensions.rb
|
56
|
-
- app/helpers/foreman_packages/sypackages_helper.rb
|
57
|
-
- app/uploaders/attachment_uploader.rb
|
58
|
-
- app/uploaders/avatar_uploader.rb
|
59
|
-
- app/views/dashboard/_foreman_packages_widget.html.erb
|
60
53
|
- app/views/foreman_packages/layouts/layouts/new_layout.html.erb
|
61
54
|
- app/views/foreman_packages/layouts/new_layout.html.erb
|
55
|
+
- app/views/foreman_packages/sypackages/edit.html.erb
|
62
56
|
- app/views/foreman_packages/sypackages/new.html.erb
|
63
57
|
- app/views/foreman_packages/sypackages/show.html.erb
|
64
58
|
- app/views/foreman_packages/sypackages/index.html.erb
|
65
|
-
- app/views/foreman_packages/sypackages/_form.html.erb
|
66
|
-
- app/views/foreman_packages/sypackages/edit.html.erb
|
67
59
|
- app/views/foreman_packages/sypackages/_list.html.erb
|
60
|
+
- app/views/foreman_packages/sypackages/_form.html.erb
|
68
61
|
- app/views/foreman_packages/sypackages/upload.html.erb
|
69
|
-
- app/views/foreman_packages/hosts/new_action.html.erb
|
70
62
|
- app/views/foreman_packages/hosts/hosts/new_action.html.erb
|
63
|
+
- app/views/foreman_packages/hosts/new_action.html.erb
|
64
|
+
- app/views/dashboard/_foreman_packages_widget.html.erb
|
65
|
+
- app/uploaders/avatar_uploader.rb
|
66
|
+
- app/uploaders/attachment_uploader.rb
|
67
|
+
- app/overrides/dashboard/index/sample_override.html.erb.deface
|
71
68
|
- app/controllers/foreman_packages/sypackages_controller.rb
|
72
69
|
- app/controllers/foreman_packages/hosts_controller.rb
|
70
|
+
- app/helpers/foreman_packages/hosts_helper_extensions.rb
|
71
|
+
- app/helpers/foreman_packages/sypackages_helper.rb
|
72
|
+
- app/models/foreman_packages/sypackage.rb
|
73
73
|
- config/routes.rb
|
74
|
-
- db/migrate/20150921011935_create_sypackages.rb
|
75
|
-
- db/migrate/20150921050518_add_file_cache_to_sypackage.rb
|
76
74
|
- db/migrate/20150921023709_add_filename_to_sypackage.rb
|
77
|
-
-
|
75
|
+
- db/migrate/20150921050518_add_file_cache_to_sypackage.rb
|
76
|
+
- db/migrate/20150921011935_create_sypackages.rb
|
77
|
+
- lib/tasks/foreman_packages_tasks.rake
|
78
78
|
- lib/foreman_packages/version.rb
|
79
|
+
- lib/foreman_packages/engine.rb
|
79
80
|
- lib/foreman_packages.rb
|
80
|
-
- lib/tasks/foreman_packages_tasks.rake
|
81
81
|
- locale/gemspec.rb
|
82
82
|
- locale/foreman_packages.pot
|
83
83
|
- locale/en/foreman_packages.po
|
@@ -85,9 +85,9 @@ files:
|
|
85
85
|
- LICENSE
|
86
86
|
- Rakefile
|
87
87
|
- README.md
|
88
|
-
- test/factories/foreman_packages_factories.rb
|
89
|
-
- test/unit/foreman_packages_test.rb
|
90
88
|
- test/test_plugin_helper.rb
|
89
|
+
- test/unit/foreman_packages_test.rb
|
90
|
+
- test/factories/foreman_packages_factories.rb
|
91
91
|
homepage: https://github.com/stdtnt/foreman-users
|
92
92
|
licenses: []
|
93
93
|
post_install_message:
|
@@ -108,11 +108,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 1.8.23
|
111
|
+
rubygems_version: 1.8.23.2
|
112
112
|
signing_key:
|
113
113
|
specification_version: 3
|
114
114
|
summary: 创建packages,/etc/puppet/environments/production/modules/users
|
115
115
|
test_files:
|
116
|
-
- test/factories/foreman_packages_factories.rb
|
117
|
-
- test/unit/foreman_packages_test.rb
|
118
116
|
- test/test_plugin_helper.rb
|
117
|
+
- test/unit/foreman_packages_test.rb
|
118
|
+
- test/factories/foreman_packages_factories.rb
|