Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purpleidea-puppetmatlab
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rane Squires
purpleidea-puppetmatlab
Commits
4ab27b50
Commit
4ab27b50
authored
Jun 20, 2019
by
Rane Squires
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have 'main' class contain other classes
parent
4497e947
Pipeline
#25
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
manifests/init.pp
manifests/init.pp
+10
-7
No files found.
manifests/init.pp
View file @
4ab27b50
...
@@ -54,13 +54,6 @@ class matlab::vardir { # module vardir snippet
...
@@ -54,13 +54,6 @@ class matlab::vardir { # module vardir snippet
}
}
}
}
class
matlab
()
{
# dependencies for matlab to work
package
{[
'libXp'
,
'libXt'
,
'libXpm'
,
'libXmu'
]:
ensure
=>
present
,
}
}
define
matlab::install
(
# $namevar matlab release version
define
matlab::install
(
# $namevar matlab release version
$iso
,
# matlab iso for installation
$iso
,
# matlab iso for installation
$licensekey
,
# format: #####-#####-#####-#####
$licensekey
,
# format: #####-#####-#####-#####
...
@@ -167,3 +160,13 @@ define matlab::install( # $namevar matlab release version
...
@@ -167,3 +160,13 @@ define matlab::install( # $namevar matlab release version
}
}
}
}
class
matlab
()
{
# dependencies for matlab to work
package
{[
'libXp'
,
'libXt'
,
'libXpm'
,
'libXmu'
]:
ensure
=>
present
,
}
# other module classes
contain
matlab::vardir
contain
matlab::install
}
\ No newline at end of file
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