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

Setup postsync files for portage

parent 83d6b920
define gentoo::postsync ($content="", $ensure=present) {
file {
"gentoo_postsync_${name}":
path => "/etc/portage/postsync.d/${name}",
content => template("gentoo/postsync.sh.erb"),
mode => 755,
ensure => $ensure,
require => File["/etc/portage/postsync.d"];
"/etc/portage/postsync.d":
ensure => directory;
}
}
#!/bin/sh
<% content %>
:
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