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

optional string

parent 23b0cb45
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