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

gentoo: exec for rebuilding packages on use flag changes

parent 3156d68c
...@@ -31,6 +31,12 @@ class gentoo ( ...@@ -31,6 +31,12 @@ class gentoo (
ensure => directory; ensure => directory;
} }
exec { "emerge_changed_use":
command => "/usr/bin/emerge --reinstall=changed-use @world",
require => Concat["/etc/make.conf"],
refreshonly => true,
}
# make.conf # make.conf
concat { "/etc/make.conf": concat { "/etc/make.conf":
owner => root, owner => root,
......
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