Skip to content

Commit

Permalink
Fix puppet lint errors
Browse files Browse the repository at this point in the history
They make the build fail when using puppet-lint 1.0.0+
  • Loading branch information
Carlos Sanchez committed Aug 23, 2014
1 parent d0040f6 commit 40afa8b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
}

exec { "download-${name}" :
command => "rm -rf ${name} ${name}.* && wget --no-check-certificate ${base_url}${plugin}",
cwd => $plugin_dir,
require => [File[$plugin_dir], Package['wget']],
path => ['/usr/bin', '/usr/sbin', '/bin'],
command => "rm -rf ${name} ${name}.* && wget --no-check-certificate ${base_url}${plugin}",
cwd => $plugin_dir,
require => [File[$plugin_dir], Package['wget']],
path => ['/usr/bin', '/usr/sbin', '/bin'],
}

file { "${plugin_dir}/${plugin}" :
Expand Down
8 changes: 4 additions & 4 deletions manifests/slave.pp
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@
}

exec { 'get_swarm_client':
command => "wget -O ${slave_home}/${client_jar} ${client_url}/${client_jar}",
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
user => $slave_user,
command => "wget -O ${slave_home}/${client_jar} ${client_url}/${client_jar}",
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
user => $slave_user,
#refreshonly => true,
creates => "${slave_home}/${client_jar}",
creates => "${slave_home}/${client_jar}",
## needs to be fixed if you create another version..
}

Expand Down
8 changes: 4 additions & 4 deletions manifests/sysconfig.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
}

file_line { "Jenkins sysconfig setting ${name}":
path => "${path}/jenkins",
line => "${name}=\"${value}\"",
match => "^${name}=",
notify => Service['jenkins'],
path => "${path}/jenkins",
line => "${name}=\"${value}\"",
match => "^${name}=",
notify => Service['jenkins'],
}

}
Expand Down

0 comments on commit 40afa8b

Please sign in to comment.