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
0b76d15f
Commit
0b76d15f
authored
Sep 15, 2010
by
Lance Albertson
Browse files
Fix typo in documentation
parent
d25212f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/puppet/provider/package_use/parsed.rb
lib/puppet/provider/package_use/parsed.rb
+1
-1
lib/puppet/type/package_use.rb
lib/puppet/type/package_use.rb
+1
-1
No files found.
lib/puppet/provider/package_use/parsed.rb
View file @
0b76d15f
...
@@ -44,7 +44,7 @@ Puppet::Type.type(:package_use).provide(:parsed,
...
@@ -44,7 +44,7 @@ Puppet::Type.type(:package_use).provide(:parsed,
def
self
.
to_line
(
hash
)
def
self
.
to_line
(
hash
)
return
super
unless
hash
[
:record_type
]
==
:parsed
return
super
unless
hash
[
:record_type
]
==
:parsed
unless
hash
[
:name
]
and
hash
[
:name
]
!=
:absent
unless
hash
[
:name
]
and
hash
[
:name
]
!=
:absent
raise
ArgumentError
,
"package is a required attribute for packageuse"
raise
ArgumentError
,
"package is a required attribute for package
_
use"
end
end
str
=
hash
[
:name
]
str
=
hash
[
:name
]
...
...
lib/puppet/type/package_use.rb
View file @
0b76d15f
Puppet
::
Type
.
newtype
(
:package_use
)
do
Puppet
::
Type
.
newtype
(
:package_use
)
do
@doc
=
"Set use flags for a package
@doc
=
"Set use flags for a package
packageuse { 'puppet':
package
_
use { 'puppet':
package => 'app-admin/puppet',
package => 'app-admin/puppet',
use_flags => ['augeas', '-rrdtool'],
use_flags => ['augeas', '-rrdtool'],
}"
}"
...
...
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