Commit 068169c9 authored by Lance Albertson's avatar Lance Albertson
Browse files

misc fixes, typoes, etc

parent d792224b
...@@ -21,7 +21,7 @@ class gentoo { ...@@ -21,7 +21,7 @@ class gentoo {
} }
concat::fragment { "makeconf_base": concat::fragment { "makeconf_base":
target => $makeconf, target => "/etc/make.conf",
content => template("gentoo/makeconf.base.conf.erb"), content => template("gentoo/makeconf.base.conf.erb"),
order => 00, order => 00,
} }
......
...@@ -3,9 +3,9 @@ define gentoo::keywords ($source="", $ensure=present) { ...@@ -3,9 +3,9 @@ define gentoo::keywords ($source="", $ensure=present) {
"gentoo_keywords_${name}": "gentoo_keywords_${name}":
path => "/etc/portage/package.keywords/${name}", path => "/etc/portage/package.keywords/${name}",
source => "${source}", source => "${source}",
ensure => $ensure, ensure => $ensure;
require => File["/etc/portage/package.keywords"]; # require => File["/etc/portage/package.keywords"];
"/etc/portage/package.keywords": # "/etc/portage/package.keywords":
ensure => directory; # ensure => directory;
} }
} }
define gentoo::makeconf( $source="", $content="", comment="", $order=10, define gentoo::makeconf( $source="", $content="", $comment="", $order=10,
ensure=present ) { $ensure=present ) {
include concat::setup include concat::setup
if $content { if $content {
...@@ -7,7 +7,8 @@ define gentoo::makeconf( $source="", $content="", comment="", $order=10, ...@@ -7,7 +7,8 @@ define gentoo::makeconf( $source="", $content="", comment="", $order=10,
target => "/etc/make.conf", target => "/etc/make.conf",
order => $order, order => $order,
ensure => $ensure, ensure => $ensure,
content => template("gentoo/make.conf.erb"), content => template("gentoo/makeconf.conf.erb"),
}
} }
if $source { if $source {
...@@ -16,5 +17,6 @@ define gentoo::makeconf( $source="", $content="", comment="", $order=10, ...@@ -16,5 +17,6 @@ define gentoo::makeconf( $source="", $content="", comment="", $order=10,
order => $order, order => $order,
ensure => $ensure, ensure => $ensure,
source => $source, source => $source,
}
} }
} }
...@@ -4,9 +4,9 @@ define gentoo::postsync ($content="", $ensure=present) { ...@@ -4,9 +4,9 @@ define gentoo::postsync ($content="", $ensure=present) {
path => "/etc/portage/postsync.d/${name}", path => "/etc/portage/postsync.d/${name}",
content => template("gentoo/postsync.sh.erb"), content => template("gentoo/postsync.sh.erb"),
mode => 755, mode => 755,
ensure => $ensure, ensure => $ensure;
require => File["/etc/portage/postsync.d"]; # require => File["/etc/portage/postsync.d"];
"/etc/portage/postsync.d": #"/etc/portage/postsync.d":
ensure => directory; # ensure => directory;
} }
} }
...@@ -3,9 +3,9 @@ define gentoo::unmask ($source="", $ensure=present) { ...@@ -3,9 +3,9 @@ define gentoo::unmask ($source="", $ensure=present) {
"gentoo_unmask_${name}": "gentoo_unmask_${name}":
path => "/etc/portage/package.unmask/${name}", path => "/etc/portage/package.unmask/${name}",
source => "${source}", source => "${source}",
ensure => $ensure, ensure => $ensure;
require => File["/etc/portage/package.unmask"]; # require => File["/etc/portage/package.unmask"];
"/etc/portage/package.unmask": # "/etc/portage/package.unmask":
ensure => directory; # ensure => directory;
} }
} }
define gentoo::use ($source="", $ensure=present) { define gentoo::use ($source='', $ensure=present) {
file { file {
"gentoo_use_${name}": "gentoo_use_${name}":
path => "/etc/portage/package.use/${name}", path => "/etc/portage/package.use/${name}",
source => "${source}", source => $source,
ensure => $ensure, ensure => $ensure;
require => File["/etc/portage/package.use"]; # require => File["/etc/portage/package.use"];
"/etc/portage/package.use": # "/etc/portage/package.use":
ensure => directory; # ensure => directory;
} }
} }
# <%=priority%><%=name%> # <%=order%><%=name%>
<% if comment != ""-%> <% if comment != ""-%>
# <%=comment%> # <%=comment%>
<% end-%> <% end-%>
<% content %> <%=content%>
#!/bin/sh #!/bin/sh
<% content %> <%= 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