Skip to content
Snippets Groups Projects
Commit d42d1c21 authored by Christophe Haen's avatar Christophe Haen
Browse files

Merge branch 'messy' into 'qa'

optional string

See merge request ai/it-puppet-module-dirac!113
parents 23b0cb45 93a7b01a
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class dirac (String $dirac_user = 'dirac', String $dirac_group = 'dirac',
String $nginx_tpl_path = 'dirac/nginx.conf.erb',
String $install_tpl_path = 'dirac/install.cfg.erb',
String $rpm_repo = 'http://cern.ch/diracproject/rpm/$releasever',
String $cloud_tpl_path = undef,
Optional[String] $cloud_tpl_path = undef,
Array $teigi_keys = [],
Hash $dirac_config_args = {},
Boolean $oracle_support = false,
......@@ -252,7 +252,7 @@ class dirac (String $dirac_user = 'dirac', String $dirac_group = 'dirac',
}
if $cloud_tpl_path != '' {
if $cloud_tpl_path {
teigi::secret::sub_file{'/opt/dirac/etc/cloud.auth':
teigi_keys => $teigi_keys,
content => template($cloud_tpl_path),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment