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
830c8cfc
Unverified
Commit
830c8cfc
authored
Sep 25, 2017
by
Robin H. Johnson
Browse files
package: fixup syntax.
Signed-off-by:
Robin H. Johnson
<
robbat2@gentoo.org
>
parent
cd67de89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
manifests/package.pp
manifests/package.pp
+7
-7
metadata.json
metadata.json
+1
-1
No files found.
manifests/package.pp
View file @
830c8cfc
...
@@ -171,7 +171,7 @@ define portage::package (
...
@@ -171,7 +171,7 @@ define portage::package (
$assigned_unmask_target
=
$target
$assigned_unmask_target
=
$target
}
}
if
$use
&&
!
$removing
{
if
(
$use
and
!
$removing
)
{
package_use
{
$name
:
package_use
{
$name
:
use
=>
$use
,
use
=>
$use
,
version
=>
$use_version
,
version
=>
$use_version
,
...
@@ -188,7 +188,7 @@ define portage::package (
...
@@ -188,7 +188,7 @@ define portage::package (
}
}
}
}
if
!
$removing
&&
(
$keywords
or
$keywords_version
)
{
if
(
!
$removing
and
(
$keywords
or
$keywords_version
)
)
{
if
$keywords
==
'all'
{
if
$keywords
==
'all'
{
$assigned_keywords
=
undef
$assigned_keywords
=
undef
}
}
...
@@ -210,7 +210,7 @@ define portage::package (
...
@@ -210,7 +210,7 @@ define portage::package (
notify
=>
[
Exec
[
"rebuild_
${atom}
"
],
Package
[
$name
]],
notify
=>
[
Exec
[
"rebuild_
${atom}
"
],
Package
[
$name
]],
}
}
}
}
if
!
$removing
&&
(
$accept_keywords
or
$accept_keywords_version
)
{
if
(
!
$removing
and
(
$accept_keywords
or
$accept_keywords_version
)
)
{
if
$accept_keywords
==
'all'
{
if
$accept_keywords
==
'all'
{
$assigned_accept_keywords
=
undef
$assigned_accept_keywords
=
undef
}
}
...
@@ -233,7 +233,7 @@ define portage::package (
...
@@ -233,7 +233,7 @@ define portage::package (
}
}
}
}
if
!
$removing
&&
(
$mask_version
or
$mask_slot
)
{
if
(
!
$removing
and
(
$mask_version
or
$mask_slot
)
)
{
if
$mask_version
==
'all'
{
if
$mask_version
==
'all'
{
$assigned_mask_version
=
undef
$assigned_mask_version
=
undef
}
}
...
@@ -255,7 +255,7 @@ define portage::package (
...
@@ -255,7 +255,7 @@ define portage::package (
}
}
}
}
if
!
$removing
&&
(
$unmask_version
or
$unmask_slot
)
{
if
(
!
$removing
and
(
$unmask_version
or
$unmask_slot
)
)
{
if
$unmask_version
==
'all'
{
if
$unmask_version
==
'all'
{
$assigned_unmask_version
=
undef
$assigned_unmask_version
=
undef
}
}
...
@@ -278,8 +278,8 @@ define portage::package (
...
@@ -278,8 +278,8 @@ define portage::package (
}
}
$rebuild_command
=
$removing
?
{
$rebuild_command
=
$removing
?
{
true
=>
"
/bin/true
"
,
true
=>
'
/bin/true
'
,
false
=>
"
${portage::emerge_command}
--changed-use -u1
${atom}
"
false
=>
"
${portage::emerge_command}
--changed-use -u1
${atom}
"
}
}
exec
{
"rebuild_
${atom}
"
:
exec
{
"rebuild_
${atom}
"
:
command
=>
$rebuild_command
,
command
=>
$rebuild_command
,
...
...
metadata.json
View file @
830c8cfc
{
{
"name"
:
"gentoo-portage"
,
"name"
:
"gentoo-portage"
,
"version"
:
"2.4.
1
"
,
"version"
:
"2.4.
2
"
,
"author"
:
"Gentoo"
,
"author"
:
"Gentoo"
,
"summary"
:
"Puppet types and providers for Gentoo portage"
,
"summary"
:
"Puppet types and providers for Gentoo portage"
,
"license"
:
"GPL-2.0"
,
"license"
:
"GPL-2.0"
,
...
...
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