Fix lint warnings about ensure placement
This commit is contained in:
parent
a8ebd9417c
commit
96fb1bacbc
21 changed files with 53 additions and 48 deletions
|
@ -3,12 +3,12 @@
|
|||
class cairo {
|
||||
|
||||
package { "cairo":
|
||||
ensure => installed,
|
||||
name => $::operatingsystem ? {
|
||||
debian => "libcairo2",
|
||||
ubuntu => "libcairo2",
|
||||
default => "cairo",
|
||||
},
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ class cairo {
|
|||
class cairo::python inherits cairo {
|
||||
|
||||
package { "pycairo":
|
||||
ensure => installed,
|
||||
name => $::operatingsystem ? {
|
||||
debian => "python-cairo",
|
||||
ubuntu => "python-cairo",
|
||||
default => "pycairo",
|
||||
},
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue