Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lonlone Lee
base
Commits
e3f40a08
Commit
e3f40a08
authored
May 21, 2015
by
Adam Lewenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release/004.044
parent
845b084b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
NEWS
NEWS
+4
-1
templates/os/motd.erb
templates/os/motd.erb
+3
-3
templates/syslog/rsyslog.conf.erb
templates/syslog/rsyslog.conf.erb
+3
-3
No files found.
NEWS
View file @
e3f40a08
UNRELEASED
release
/
004.044
(
2015
-
05
-
21
)
[
vmguest
]
Add
a
parameter
to
allow
the
non
-
installation
of
the
tripwire
client
.
(
adamhl
)
Add
some
@
's to some instance variables in a couple of template
files. (adamhl)
release/004.043 (2015-05-15)
[dns] Remove the legacy "C" DNS servers from resolv.conf. Networking is
...
...
templates/os/motd.erb
View file @
e3f40a08
...
...
@@ -21,9 +21,9 @@
product
.
gsub!
(
/Precision WorkStation /i
,
''
)
product
.
gsub!
(
/ MODULE/i
,
''
)
end
sn
=
serialnumber
rescue
nil
if
virtual
==
'physical'
and
(
!
sn
.
nil?
)
product
+=
", "
+
serialnumber
sn
=
@
serialnumber
rescue
nil
if
@
virtual
==
'physical'
and
(
!
sn
.
nil?
)
product
+=
", "
+
@
serialnumber
end
memory
=
@memorysize
...
...
templates/syslog/rsyslog.conf.erb
View file @
e3f40a08
...
...
@@ -20,9 +20,9 @@ $DirCreateMode 0755
$WorkDirectory /var/spool/rsyslog
<%# Disable rate limiting on >= Debian Wheezy, Ubuntu Precise and RHEL6. -%>
<%
if
(
@operatingsystem
==
'Ubuntu'
&&
lsbmajdistrelease
.
to_i
()
>=
12
)
||
(
@operatingsystem
==
'Debian'
&&
lsbmajdistrelease
.
to_i
()
>=
7
)
||
(
@osfamily
==
'RedHat'
&&
lsbmajdistrelease
.
to_i
()
>=
6
)
then
-%>
<%
if
(
@operatingsystem
==
'Ubuntu'
&&
@
lsbmajdistrelease
.
to_i
()
>=
12
)
||
(
@operatingsystem
==
'Debian'
&&
@
lsbmajdistrelease
.
to_i
()
>=
7
)
||
(
@osfamily
==
'RedHat'
&&
@
lsbmajdistrelease
.
to_i
()
>=
6
)
then
-%>
# Turn off rate limiting to syslog. If there are too many messages
# being written to syslog something is wrong that should be examined
# and not hidden. This works only on wheezy and precise and better.
...
...
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