Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
60e61035
Commit
60e61035
authored
Jul 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm prescription: add glusterfs10, glusterfs11
parent
dde9fe8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
+48
-0
glusterfs10.sh
prescription.d/glusterfs10.sh
+24
-0
glusterfs11.sh
prescription.d/glusterfs11.sh
+24
-0
No files found.
prescription.d/glusterfs10.sh
0 → 100755
View file @
60e61035
#!/bin/sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs10 (or upgrade from glusterfs9)"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs9
GFSNEW
=
glusterfs10
if
epmqp
--quiet
${
GFSOLD
}
-
;
then
# Upgrade if was installed
epmi
$(
epmqp
--short
$GFSOLD
|
grep
-v
rdma |
grep
-v
devel |
sed
-e
"s|
$GFSOLD
|
$GFSNEW
|"
)
${
GFSOLD
}
-
${
GFSOLD
}
-client-
python3-module-
${
GFSOLD
}
-
epm installed
$GFSNEW
-server
&&
serv glusterd on
else
# Install all packages
epmi
${
GFSNEW
}
-cli
${
GFSNEW
}
-client
${
GFSNEW
}
||
exit
echo
"You can install also '
${
GFSNEW
}
-server' if it is needed for this host"
epme
$(
epmqp
${
GFSOLD
})
fi
prescription.d/glusterfs11.sh
0 → 100755
View file @
60e61035
#!/bin/sh
[
"
$1
"
!=
"--run"
]
&&
echo
"Install glusterfs11 (or upgrade from glusterfs10)"
&&
exit
.
$(
dirname
$0
)
/common.sh
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
{
echo
"Only ALTLinux is supported"
;
exit
1
;
}
GFSOLD
=
glusterfs10
GFSNEW
=
glusterfs11
if
epmqp
--quiet
${
GFSOLD
}
-
;
then
# Upgrade if was installed
epmi
$(
epmqp
--short
$GFSOLD
|
grep
-v
rdma |
grep
-v
devel |
sed
-e
"s|
$GFSOLD
|
$GFSNEW
|"
)
${
GFSOLD
}
-
${
GFSOLD
}
-client-
python3-module-
${
GFSOLD
}
-
epm installed
$GFSNEW
-server
&&
serv glusterd on
else
# Install all packages
epmi
${
GFSNEW
}
-cli
${
GFSNEW
}
-client
${
GFSNEW
}
||
exit
echo
"You can install also '
${
GFSNEW
}
-server' if it is needed for this host"
epme
$(
epmqp
${
GFSOLD
})
fi
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