Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
abrt
Commits
b5eb3a9d
Commit
b5eb3a9d
authored
Jan 09, 2015
by
mh
Browse files
manage things properly as we won't use it just for disabling
parent
107aa3e1
Changes
2
Show whitespace changes
Inline
Side-by-side
manifests/base.pp
View file @
b5eb3a9d
# base tools
class
abrt::base
{
class
abrt::base
{
package
{
'abrt'
:
package
{
'abrt
-cli
'
:
ensure
=>
present
,
ensure
=>
present
,
}
}
->
service
{[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]:
service
{[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]:
ensure
=>
running
,
ensure
=>
running
,
enable
=>
true
,
enable
=>
true
,
require
=>
Package
[
'abrt'
],
}
}
}
}
manifests/disable/base.pp
View file @
b5eb3a9d
# remove all the necessary packages
class
abrt::disable::base
inherits
abrt::base
{
class
abrt::disable::base
inherits
abrt::base
{
package
{
Package
[
'abrt-cli'
]{
'abrt-cli'
:
ensure
=>
absent
;
[
'abrt-addon-kerneloops'
,
'abrt-addon-ccpp'
,
'abrt-addon-python'
]:
require
=>
Package
[
'abrt-cli'
],
ensure
=>
absent
;
}
Package
[
'abrt'
]{
ensure
=>
absent
,
ensure
=>
absent
,
requi
re
=>
[
Service
[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]
,
Package
[
'abrt-addon-kerneloops'
,
'abrt-addon-ccpp'
,
'abrt-addon-python'
]],
befo
re
=>
Service
[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]
}
}
Service
[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]{
Service
[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
]{
ensure
=>
stopped
,
ensure
=>
stopped
,
enable
=>
false
,
enable
=>
false
,
require
=>
undef
,
require
=>
undef
}
package
{
[
'abrt-addon-kerneloops'
,
'abrt-addon-ccpp'
,
'abrt-addon-python'
,
'abrt'
]:
ensure
=>
absent
,
require
=>
Service
[
'abrtd'
,
'abrt-oops'
,
'abrt-ccpp'
];
}
}
}
}
Write
Preview
Supports
Markdown
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