runcible 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/runcible/extensions/unit.rb +6 -1
- data/lib/runcible/version.rb +1 -1
- metadata +29 -29
@@ -129,7 +129,12 @@ module Runcible
|
|
129
129
|
criteria[:fields] = {:unit => optional[:fields]} if optional[:fields]
|
130
130
|
|
131
131
|
payload = {:criteria => criteria}
|
132
|
-
payload[:override_config] =
|
132
|
+
payload[:override_config] = optional[:override_config] if optional.has_key?(:override_config)
|
133
|
+
|
134
|
+
if optional[:copy_children]
|
135
|
+
payload[:override_config] ||= {}
|
136
|
+
payload[:override_config][:recursive] = true
|
137
|
+
end
|
133
138
|
|
134
139
|
Runcible::Extensions::Repository.new(self.config).unit_copy(destination_repo_id, source_repo_id, payload)
|
135
140
|
end
|
data/lib/runcible/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runcible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
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: 2013-08-
|
12
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -131,42 +131,42 @@ extensions: []
|
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
133
|
- lib/runcible.rb
|
134
|
-
- lib/runcible/
|
135
|
-
- lib/runcible/models/yum_clone_distributor.rb
|
136
|
-
- lib/runcible/models/distributor.rb
|
137
|
-
- lib/runcible/models/export_distributor.rb
|
134
|
+
- lib/runcible/instance.rb
|
138
135
|
- lib/runcible/models/puppet_importer.rb
|
139
|
-
- lib/runcible/models/iso_importer.rb
|
140
|
-
- lib/runcible/models/yum_distributor.rb
|
141
|
-
- lib/runcible/models/nodes_http_distributor.rb
|
142
136
|
- lib/runcible/models/iso_distributor.rb
|
137
|
+
- lib/runcible/models/nodes_http_distributor.rb
|
143
138
|
- lib/runcible/models/yum_importer.rb
|
139
|
+
- lib/runcible/models/yum_distributor.rb
|
140
|
+
- lib/runcible/models/iso_importer.rb
|
144
141
|
- lib/runcible/models/importer.rb
|
145
|
-
- lib/runcible/
|
146
|
-
- lib/runcible/
|
147
|
-
- lib/runcible/
|
148
|
-
- lib/runcible/
|
149
|
-
- lib/runcible/extensions/consumer.rb
|
150
|
-
- lib/runcible/extensions/repository.rb
|
151
|
-
- lib/runcible/extensions/rpm.rb
|
152
|
-
- lib/runcible/extensions/unit.rb
|
153
|
-
- lib/runcible/extensions/package_group.rb
|
154
|
-
- lib/runcible/extensions/yum_repo_metadata_file.rb
|
155
|
-
- lib/runcible/extensions/distribution.rb
|
142
|
+
- lib/runcible/models/export_distributor.rb
|
143
|
+
- lib/runcible/models/yum_clone_distributor.rb
|
144
|
+
- lib/runcible/models/distributor.rb
|
145
|
+
- lib/runcible/models/puppet_distributor.rb
|
156
146
|
- lib/runcible/resources/role.rb
|
147
|
+
- lib/runcible/resources/unit.rb
|
157
148
|
- lib/runcible/resources/consumer_group.rb
|
158
|
-
- lib/runcible/resources/content.rb
|
159
|
-
- lib/runcible/resources/consumer.rb
|
160
|
-
- lib/runcible/resources/repository_schedule.rb
|
161
|
-
- lib/runcible/resources/task.rb
|
162
|
-
- lib/runcible/resources/event_notifier.rb
|
163
|
-
- lib/runcible/resources/repository.rb
|
164
149
|
- lib/runcible/resources/user.rb
|
165
|
-
- lib/runcible/resources/
|
150
|
+
- lib/runcible/resources/task.rb
|
166
151
|
- lib/runcible/resources/repository_group.rb
|
167
|
-
- lib/runcible/
|
168
|
-
- lib/runcible/
|
152
|
+
- lib/runcible/resources/repository.rb
|
153
|
+
- lib/runcible/resources/event_notifier.rb
|
154
|
+
- lib/runcible/resources/consumer.rb
|
155
|
+
- lib/runcible/resources/repository_schedule.rb
|
156
|
+
- lib/runcible/resources/content.rb
|
169
157
|
- lib/runcible/base.rb
|
158
|
+
- lib/runcible/version.rb
|
159
|
+
- lib/runcible/extensions/unit.rb
|
160
|
+
- lib/runcible/extensions/consumer_group.rb
|
161
|
+
- lib/runcible/extensions/repository.rb
|
162
|
+
- lib/runcible/extensions/yum_repo_metadata_file.rb
|
163
|
+
- lib/runcible/extensions/package_category.rb
|
164
|
+
- lib/runcible/extensions/consumer.rb
|
165
|
+
- lib/runcible/extensions/package_group.rb
|
166
|
+
- lib/runcible/extensions/puppet_module.rb
|
167
|
+
- lib/runcible/extensions/rpm.rb
|
168
|
+
- lib/runcible/extensions/distribution.rb
|
169
|
+
- lib/runcible/extensions/errata.rb
|
170
170
|
- LICENSE
|
171
171
|
- Rakefile
|
172
172
|
- Gemfile
|