Code Review
/
packages
/
precise
/
mcollective.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update version according to OSCI-883
[packages/precise/mcollective.git]
/
plugins
/
mcollective
/
pluginpackager
/
ospackage_packager.rb
diff --git
a/plugins/mcollective/pluginpackager/ospackage_packager.rb
b/plugins/mcollective/pluginpackager/ospackage_packager.rb
index 7641198cbf812409aa99ed4531228240cd007174..f8ae4448b57ebd8a81b1f0132128c030f59c128c 100644
(file)
--- a/
plugins/mcollective/pluginpackager/ospackage_packager.rb
+++ b/
plugins/mcollective/pluginpackager/ospackage_packager.rb
@@
-7,13
+7,13
@@
module MCollective
# Create packager object with package parameter containing list of files,
# dependencies and package metadata.
# Create packager object with package parameter containing list of files,
# dependencies and package metadata.
- def initialize(package, pluginpath = nil, signature = nil, verbose = false, keep_artifacts = false)
+ def initialize(package, pluginpath = nil, signature = nil, verbose = false, keep_artifacts = false
, module_template = nil
)
if File.exists?("/etc/redhat-release")
if File.exists?("/etc/redhat-release")
- @packager = PluginPackager["RpmpackagePackager"].new(package, pluginpath, signature, verbose, keep_artifacts)
+ @packager = PluginPackager["RpmpackagePackager"].new(package, pluginpath, signature, verbose, keep_artifacts
, module_template
)
@package_type = "RPM"
elsif File.exists?("/etc/debian_version")
@package_type = "RPM"
elsif File.exists?("/etc/debian_version")
- @packager = PluginPackager["DebpackagePackager"].new(package, pluginpath, signature, verbose, keep_artifacts)
+ @packager = PluginPackager["DebpackagePackager"].new(package, pluginpath, signature, verbose, keep_artifacts
, module_template
)
@package_type = "Deb"
else
raise "cannot identify operating system."
@package_type = "Deb"
else
raise "cannot identify operating system."