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
533b20dc
Commit
533b20dc
authored
Aug 11, 2011
by
Lance Albertson
Browse files
gentoo: cleanup params and remove the old global parameters
We don't need these anymore with the parameterized class.
parent
b9a3870c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
49 deletions
+26
-49
manifests/params.pp
manifests/params.pp
+26
-49
No files found.
manifests/params.pp
View file @
533b20dc
class
gentoo::params
{
class
gentoo::params
{
# settings that the user can define (if not defined, defaults set here apply).
# settings that the user can define (if not defined, defaults set here
# apply).
# Global use flags
$global_use
=
$gentoo_global_use
?
{
# Global use flags
''
=>
'$USE'
,
$global_use
=
'$USE'
default
=>
"
\$
USE
$gentoo_global_use
"
,
}
# FEATURES
$features
=
'$FEATURES'
# FEATURES
$features
=
$gentoo_features
?
{
# GENTOO_MIRRORS
''
=>
'$FEATURES'
,
$mirrors
=
"http://distfiles.gentoo.org"
default
=>
"
\$
FEATURES
$gentoo_features
"
,
}
# SYNC
$sync
=
"rsync://rsync.gentoo.org/gentoo-portage"
# GENTOO_MIRRORS
$mirrors
=
$gentoo_mirrors
?
{
# PORTAGE_BINHOST
''
=>
"http://distfiles.gentoo.org"
,
$binhost
=
""
default
=>
$gentoo_mirrors
,
}
# PORTDIR_OVERLAY
$portdir_overlay
=
'$PORTDIR_OVERLAY'
# SYNC
$sync
=
$gentoo_sync
?
{
# ACCEPT_LICENSE
''
=>
"rsync://rsync.gentoo.org/gentoo-portage"
,
$accept_license
=
'$ACCEPT_LICENSE'
default
=>
$gentoo_sync
,
}
# EMERGE_DEFAULT_OPTS
$emerge_opts
=
""
# PORTAGE_BINHOST
$binhost
=
$gentoo_binhost
?
{
''
=>
''
,
default
=>
$gentoo_binhost
,
}
# PORTDIR_OVERLAY
$portdir_overlay
=
$gentoo_portdir_overlay
?
{
''
=>
'$PORTDIR_OVERLAY'
,
default
=>
"
\$
PORTDIR_OVERLAY
$gentoo_portdir_overlay
"
,
}
# ACCEPT_LICENSE
$accept_license
=
$gentoo_accept_license
?
{
''
=>
'$ACCEPT_LICENSE'
,
default
=>
"
\$
ACCEPT_LICENSE
$gentoo_accept_license
"
,
}
# EMERGE_DEFAULT_OPTS
$emerge_opts
=
$gentoo_emerge_opts
?
{
''
=>
''
,
default
=>
$gentoo_emerge_opts
,
}
}
}
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