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":
|
service { "mt-daapd":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
require => [ Package["mt-daapd"],
|
require => [ Package["mt-daapd"], Service["avahi-daemon"], ],
|
||||||
Service["avahi-daemon"], ],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/etc/mt-daapd.conf":
|
file { "/etc/mt-daapd.conf":
|
||||||
|
|
|
@ -7,7 +7,7 @@ class emacs {
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
|
|
||||||
if $puppetversion =~ /^2\./ {
|
if $::puppetversion =~ /^2\./ {
|
||||||
Package["emacs"] {
|
Package["emacs"] {
|
||||||
flavor => "no_x11",
|
flavor => "no_x11",
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#
|
#
|
||||||
class skype {
|
class skype {
|
||||||
|
|
||||||
case $operatingsystem {
|
case $::operatingsystem {
|
||||||
"fedora": { include yum::repo::skype }
|
"fedora": { include yum::repo::skype }
|
||||||
"ubuntu": { include apt::repo::partner }
|
"ubuntu": { include apt::repo::partner }
|
||||||
default: { fail("Skype module not supported in ${operatingsystem}") }
|
default: { fail("Skype module not supported in ${::operatingsystem}") }
|
||||||
}
|
}
|
||||||
|
|
||||||
package { "skype":
|
package { "skype":
|
||||||
|
|
Loading…
Add table
Reference in a new issue