Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Williams committed Mar 26, 2015
1 parent e738ba1 commit 767e059
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions manifests/direct_download.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# directory for temp files
file { $::jenkins::package_cache_dir:
ensure => directory,
owner => "root",
group => "root",
mode => "0644",
owner => 'root',
group => 'root',
mode => '0644',
}

# equivalent to basename() - get the filename
Expand All @@ -27,15 +27,15 @@
if $::jenkins::version != 'absent' {
# make download optional if we are removing...
staging::file { $package_file:
source => $jenkins::direct_download,
target => $local_file,
before => Package[$::jenkins::package_name],
source => $jenkins::direct_download,
target => $local_file,
before => Package[$::jenkins::package_name],
}
}
}

package { $::jenkins::package_name:
ensure => $::jenkins::version,
provider => $::jenkins::package_provider,
source => $local_file,
}
}
}
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
$repo_ = false
$jenkins_package_class = 'jenkins::direct_download'
} else {
$jenkins_package_class = 'jenkins::package'
$jenkins_package_class = 'jenkins::package'
if $repo {
$repo_ = true
include jenkins::repo
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
case $::osfamily {
'Debian': {
$libdir = '/usr/share/jenkins'
$package_provider = 'dpkg'
$package_provider = 'dpkg'
}
'RedHat': {
$libdir = '/usr/lib/jenkins'
Expand Down

0 comments on commit 767e059

Please sign in to comment.