Fixed some puppet-lint errors.
This commit is contained in:
parent
6f9851ee4b
commit
419021fb2e
3 changed files with 4 additions and 5 deletions
|
@ -12,8 +12,7 @@ class daap::server {
|
|||
service { "mt-daapd":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => [ Package["mt-daapd"],
|
||||
Service["avahi-daemon"], ],
|
||||
require => [ Package["mt-daapd"], Service["avahi-daemon"], ],
|
||||
}
|
||||
|
||||
file { "/etc/mt-daapd.conf":
|
||||
|
|
|
@ -7,7 +7,7 @@ class emacs {
|
|||
ensure => installed,
|
||||
}
|
||||
|
||||
if $puppetversion =~ /^2\./ {
|
||||
if $::puppetversion =~ /^2\./ {
|
||||
Package["emacs"] {
|
||||
flavor => "no_x11",
|
||||
}
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
#
|
||||
class skype {
|
||||
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
"fedora": { include yum::repo::skype }
|
||||
"ubuntu": { include apt::repo::partner }
|
||||
default: { fail("Skype module not supported in ${operatingsystem}") }
|
||||
default: { fail("Skype module not supported in ${::operatingsystem}") }
|
||||
}
|
||||
|
||||
package { "skype":
|
||||
|
|
Loading…
Add table
Reference in a new issue