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
c40acf1c
Verified
Commit
c40acf1c
authored
Jul 20, 2017
by
Adam Lewenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more puppet4 cleanups
parent
f0bf1edb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
manifests/iptables/fragment.pp
manifests/iptables/fragment.pp
+5
-3
manifests/tripwireclient.pp
manifests/tripwireclient.pp
+3
-3
No files found.
manifests/iptables/fragment.pp
View file @
c40acf1c
...
...
@@ -3,9 +3,11 @@
# Install or remove an iptables fragment. All fragments should be located in
# the iptables module so that we have some central management of them.
define
base::iptables::fragment
(
$ensure
,
$source
=
NOSRC
,
$content
=
NOCONTENT
)
{
define
base::iptables::fragment
(
$ensure
,
$source
=
'NOSRC'
,
$content
=
'NOCONTENT'
)
{
$realname
=
"/etc/iptables.d/
$name
"
$codename
=
"iptables::fragment"
$basefile
=
"puppet:///modules/base/iptables/fragments/
$name
"
...
...
manifests/tripwireclient.pp
View file @
c40acf1c
...
...
@@ -6,13 +6,13 @@ class base::tripwireclient {
file
{
'/etc/cron.daily/tripwire'
:
source
=>
'puppet:///modules/base/tripwireclient/etc/cron.daily/tripwire'
,
mode
=>
755
;
mode
=>
'0755'
;
'/etc/filter-syslog/tripwire'
:
source
=>
'puppet:///modules/base/tripwireclient/etc/filter-syslog/tripwire'
;
'/etc/tripwire'
:
ensure
=>
directory
,
mode
=>
755
;
mode
=>
'0755'
;
'/etc/tripwire/config'
:
source
=>
'puppet:///modules/base/tripwireclient/etc/tripwire/config'
;
}
}
\ 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