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
d792224b
Commit
d792224b
authored
Aug 01, 2011
by
Lance Albertson
Browse files
Setup postsync files for portage
parent
83d6b920
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
manifests/postsync.pp
manifests/postsync.pp
+12
-0
templates/postsync.sh.erb
templates/postsync.sh.erb
+3
-0
No files found.
manifests/postsync.pp
0 → 100644
View file @
d792224b
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
;
}
}
templates/postsync.sh.erb
0 → 100644
View file @
d792224b
#!/bin/sh
<%
content
%>
:
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