Skip to content

Commit

Permalink
Merge pull request #167 from maestrodev/lint
Browse files Browse the repository at this point in the history
Fix puppet lint errors
  • Loading branch information
matthewbarr committed Aug 25, 2014
2 parents d0040f6 + 14922c7 commit 8027c39
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gem 'rake', '>= 10.1.1'
gem 'rspec', '~> 2.99.0'
gem 'puppet-lint', '>= 0.3.2'
gem 'puppet-lint', '>= 0.3.2', '< 1.0.0'
gem 'rspec-puppet', '>= 1.0.1'
gem 'puppetlabs_spec_helper', '>= 0.4.1'
gem 'puppet-syntax', '>= 1.1.0'
Expand Down
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 8027c39

Please sign in to comment.