Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
salt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
salt
Compare Revisions
04d7db270c28782e96076f757b08df173803f6eb...4c4d3144cd38eec7bcaf000119320cd5852bfc33
Source
4c4d3144cd38eec7bcaf000119320cd5852bfc33
Select Git revision
...
Target
04d7db270c28782e96076f757b08df173803f6eb
Select Git revision
Compare
Commits (2)
Include check for alfresco partition
· 021c9450
root
authored
Jun 01, 2020
021c9450
Merge branch 'master' of
https://gitlab.parashift.com.au/open/salt
· 4c4d3144
root
authored
Jun 01, 2020
4c4d3144
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
lorikeet/files/test.yml
lorikeet/files/test.yml
+14
-3
lorikeet/init.sls
lorikeet/init.sls
+1
-1
No files found.
lorikeet/files/test.yml
View file @
4c4d3144
...
...
@@ -9,9 +9,12 @@ System Load:
less_than
:
{{
grains
[
'
num_cpus'
]
*
0.8
}}
Disk Free
:
description
:
Checks to see whether there is more than 10gb free
system
:
disk_free
greater_than
:
10480000
description
:
Checks to see whether there is at least 10% free disk on the root `/` partition
disk
:
mount
:
/
type
:
free
output_type
:
percent
greater_than
:
10
{
%
- for role in salt
[
'
pillar.get'
]
('roles'
,
[]
) -%
}
{
%
- if role == "alfresco" %
}
...
...
@@ -51,6 +54,14 @@ Tomcat7 Uptime:
matches
:
"
uptime:
(?P<val>
\\
d+)"
group
:
val
Alfresco Disk Free
:
description
:
Checks to see whether there is at least 10% free disk where alfresco is mounted
disk
:
mount
:
{{
salt
[
'
pillar.get'
]
('alfresco_dir'
,
'
/srv/alfresco'
)
}}
type
:
free
output_type
:
percent
greater_than
:
10
Alfresco Running
:
description
:
Checks if Alfresco is running at `{{url}}`, and the user `{{user.user}}` can login
http
:
...
...
lorikeet/init.sls
View file @
4c4d3144
{% set lorikeet_version = salt['pillar.get']('lorikeet:version', '0.11.
2
') %}
{% set lorikeet_version = salt['pillar.get']('lorikeet:version', '0.11.
4
') %}
{% set hsperf_version = salt['pillar.get']('hsperf:version', '0.1.1') %}
openssl:
...
...