diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:48 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:05:48 +0000 |
commit | 183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e (patch) | |
tree | 4107c8927a0c20ab33209dd27105d67f30b0a20f /modules/buildsystem/manifests/iurt | |
parent | e7174276a3b010bfd0f3c51e446f1f8dfb946452 (diff) | |
download | puppet-183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e.tar puppet-183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e.tar.gz puppet-183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e.tar.bz2 puppet-183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e.tar.xz puppet-183c68facadc9fc8e4cd4f93581b16cf1ea8cc5e.zip |
buildsystem: remove hardcoded repository hostname
Use $buildsystem::var::repository::hostname to store repository
hostname.
Diffstat (limited to 'modules/buildsystem/manifests/iurt')
-rw-r--r-- | modules/buildsystem/manifests/iurt/config.pp | 1 | ||||
-rw-r--r-- | modules/buildsystem/manifests/iurt/upload.pp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/iurt/config.pp b/modules/buildsystem/manifests/iurt/config.pp index 54bc03ea..32a48a4d 100644 --- a/modules/buildsystem/manifests/iurt/config.pp +++ b/modules/buildsystem/manifests/iurt/config.pp @@ -1,6 +1,7 @@ define buildsystem::iurt::config() { include buildsystem::var::iurt include buildsystem::var::webstatus + include buildsystem::var::repository $distribution = $name # TODO rename the variable too in template $build_login = $buildsystem::var::iurt::login diff --git a/modules/buildsystem/manifests/iurt/upload.pp b/modules/buildsystem/manifests/iurt/upload.pp index 6aaef201..5417d36e 100644 --- a/modules/buildsystem/manifests/iurt/upload.pp +++ b/modules/buildsystem/manifests/iurt/upload.pp @@ -1,6 +1,7 @@ class buildsystem::iurt::upload { include buildsystem::var::iurt include buildsystem::var::webstatus + include buildsystem::var::repository file { '/etc/iurt/upload.conf': require => File['/etc/iurt'], content => template('buildsystem/upload.conf'), |