Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
HPC UCLV
puppet-easybuild
Commits
f87ba9ec
Commit
f87ba9ec
authored
Feb 18, 2019
by
Javier
Browse files
adding arch variable
parent
39306e7c
Pipeline
#457
failed with stages
in 1 minute and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
manifests/init.pp
manifests/init.pp
+2
-1
No files found.
manifests/init.pp
View file @
f87ba9ec
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
# @example
# @example
# include easybuild
# include easybuild
class
easybuild
{
class
easybuild
{
$arch
=
''
file
{
'/etc/easybuild.d'
:
file
{
'/etc/easybuild.d'
:
ensure
=>
'directory'
,
ensure
=>
'directory'
,
}
}
file
{
'/etc/easybuild.d/config.cfg'
:
file
{
'/etc/easybuild.d/config.cfg'
:
ensure
=>
'present'
,
ensure
=>
'present'
,
content
=>
epp
(
'easybuild/config.cfg.epp'
,
{
'architecture'
=>
'prueba'
}),
content
=>
epp
(
'easybuild/config.cfg.epp'
,
{
'architecture'
=>
$arch
}),
require
=>
File
[
'/etc/easybuild.d'
],
require
=>
File
[
'/etc/easybuild.d'
],
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment