From 38cef08ecbd030a4344b74e0b9521dfb561855b6 Mon Sep 17 00:00:00 2001 From: Javier Ruiz Bosch Date: Mon, 18 Feb 2019 16:26:07 -0500 Subject: [PATCH] make easybuild.d dir and config.cfg file --- manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 621810a..e8dc3f0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,4 +5,12 @@ # @example # include easybuild class easybuild { + file { '/etc/easybuild.d': + ensure => 'directory', + } + file { '/etc/easybuild.d/config.cfg': + ensure => 'present', + source => 'puppet:///modules/easybuild/config.cfg', + require => File['/etc/easybuild.d'], + } } -- GitLab