From f87ba9ec6ea81dfba7cead701ef27a22518c7344 Mon Sep 17 00:00:00 2001 From: Javier Ruiz Bosch Date: Mon, 18 Feb 2019 16:54:25 -0500 Subject: [PATCH] adding arch variable --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index e3b91d3..608ae0b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,12 +5,13 @@ # @example # include easybuild class easybuild { + $arch = '' file { '/etc/easybuild.d': ensure => 'directory', } file { '/etc/easybuild.d/config.cfg': ensure => 'present', - content => epp('easybuild/config.cfg.epp', {'architecture' => 'prueba'}), + content => epp('easybuild/config.cfg.epp', {'architecture' => $arch}), require => File['/etc/easybuild.d'], } } -- GitLab