Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aim_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
liu-puppet-modules
aim_control
Commits
7a590d75
Commit
7a590d75
authored
9 months ago
by
Saga Norén Karlsson
Browse files
Options
Downloads
Patches
Plain Diff
Moved remirepo class
parent
483107b5
No related branches found
Branches containing commit
No related tags found
3 merge requests
!67
Test
,
!66
Devel
,
!46
Added own definition for remi
Pipeline
#131291
passed
9 months ago
Stage: puppet
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/init.pp
+1
-20
1 addition, 20 deletions
manifests/init.pp
manifests/remirepo.pp
+17
-0
17 additions, 0 deletions
manifests/remirepo.pp
with
18 additions
and
20 deletions
manifests/init.pp
+
1
−
20
View file @
7a590d75
...
...
@@ -71,27 +71,8 @@ class aim_control (
}
include
aim_control::firewall
class
aim_control::remi
{
# Ensure the Remi release package is installed
package
{
'remi-release'
:
ensure
=>
installed
,
provider
=>
'rpm'
,
source
=>
'https://rpms.remirepo.net/enterprise/remi-release-9.rpm'
,
before
=>
Exec
[
'enable remi-php74'
],
}
# Enable PHP 7.4 module
exec
{
'enable remi-php74'
:
command
=>
'dnf module enable php:remi-7.4 -y'
,
path
=>
[
'/bin'
,
'/usr/bin'
],
refreshonly
=>
true
,
require
=>
Package
[
'remi-release'
],
}
}
include
apache
include
aim_control::remi
include
aim_control::remi
repo
class
{
'apache::mod::php'
:
package_name
=>
'php74'
,
...
...
This diff is collapsed.
Click to expand it.
manifests/remirepo.pp
0 → 100644
+
17
−
0
View file @
7a590d75
class
aim_control::remirepo
{
# Ensure the Remi release package is installed
package
{
'remi-release'
:
ensure
=>
installed
,
provider
=>
'rpm'
,
source
=>
'https://rpms.remirepo.net/enterprise/remi-release-9.rpm'
,
before
=>
Exec
[
'enable remi-php74'
],
}
# Enable PHP 7.4 module
exec
{
'enable remi-php74'
:
command
=>
'dnf module enable php:remi-7.4 -y'
,
path
=>
[
'/bin'
,
'/usr/bin'
],
refreshonly
=>
true
,
require
=>
Package
[
'remi-release'
],
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment