Commit c718d6db authored by Lance Albertson's avatar Lance Albertson
Browse files

Rebuild packages when use flags change

This ensures the package always gets rebuilt after a useflag changes.
parent 35728955
...@@ -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":
......
...@@ -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"],
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment