Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
Puppet Portage
Commits
c718d6db
Commit
c718d6db
authored
Aug 24, 2011
by
Lance Albertson
Browse files
Rebuild packages when use flags change
This ensures the package always gets rebuilt after a useflag changes.
parent
35728955
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
manifests/init.pp
manifests/init.pp
+4
-3
manifests/use.pp
manifests/use.pp
+1
-0
No files found.
manifests/init.pp
View file @
c718d6db
...
@@ -39,9 +39,10 @@ class gentoo (
...
@@ -39,9 +39,10 @@ class gentoo (
# make.conf
# make.conf
concat
{
"/etc/make.conf"
:
concat
{
"/etc/make.conf"
:
owner
=>
root
,
owner
=>
root
,
group
=>
root
,
group
=>
root
,
mode
=>
644
,
mode
=>
644
,
notify
=>
Exec
[
"emerge_changed_use"
],
}
}
concat::fragment
{
"makeconf_base"
:
concat::fragment
{
"makeconf_base"
:
...
...
manifests/use.pp
View file @
c718d6db
...
@@ -4,6 +4,7 @@ define gentoo::use ($source, $ensure=present) {
...
@@ -4,6 +4,7 @@ define gentoo::use ($source, $ensure=present) {
path
=>
"/etc/portage/package.use/
${name}
"
,
path
=>
"/etc/portage/package.use/
${name}
"
,
source
=>
$source
,
source
=>
$source
,
ensure
=>
$ensure
,
ensure
=>
$ensure
,
notify
=>
Exec
[
"emerge_changed_use"
],
# require => File["/etc/portage/package.use"],
# require => File["/etc/portage/package.use"],
}
}
}
}
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