Skip to content

Commit

Permalink
Merge pull request #375 from bastelfreak/puppet-lint
Browse files Browse the repository at this point in the history
puppet-lint: fix arrow_on_right_operand_line
  • Loading branch information
rnelson0 authored Apr 3, 2017
2 parents e24f536 + 796d234 commit b44b021
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions manifests/database/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@
path => "/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:${database_path}",
unless => 'test -f /etc/zabbix/.schema.done',
provider => 'shell',
} ->
exec { 'zabbix_server_images.sql':
}
-> exec { 'zabbix_server_images.sql':
command => $zabbix_server_images_sql,
path => "/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:${database_path}",
unless => 'test -f /etc/zabbix/.images.done',
provider => 'shell',
} ->
exec { 'zabbix_server_data.sql':
}
-> exec { 'zabbix_server_data.sql':
command => $zabbix_server_data_sql,
path => "/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:${database_path}",
unless => 'test -f /etc/zabbix/.data.done',
Expand Down
8 changes: 4 additions & 4 deletions manifests/database/postgresql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,17 @@
require => [
Exec['update_pgpass'],
],
} ->
exec { 'zabbix_server_images.sql':
}
-> exec { 'zabbix_server_images.sql':
command => $zabbix_server_images_sql,
path => "/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:${database_path}",
unless => 'test -f /etc/zabbix/.images.done',
provider => 'shell',
require => [
Exec['update_pgpass'],
],
} ->
exec { 'zabbix_server_data.sql':
}
-> exec { 'zabbix_server_data.sql':
command => $zabbix_server_data_sql,
path => "/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:${database_path}",
unless => 'test -f /etc/zabbix/.data.done',
Expand Down
12 changes: 6 additions & 6 deletions manifests/resources/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@
Service['zabbix-server'],
Package['zabbixapi'],
],
} ->
Zabbix_template <<| |>> {
}
-> Zabbix_template <<| |>> {
zabbix_url => $zabbix_url,
zabbix_user => $zabbix_user,
zabbix_pass => $zabbix_pass,
apache_use_ssl => $apache_use_ssl,
} ->
Zabbix_host <<| |>> {
}
-> Zabbix_host <<| |>> {
zabbix_url => $zabbix_url,
zabbix_user => $zabbix_user,
zabbix_pass => $zabbix_pass,
apache_use_ssl => $apache_use_ssl,
} ->
Zabbix_userparameters <<| |>> {
}
-> Zabbix_userparameters <<| |>> {
zabbix_url => $zabbix_url,
zabbix_user => $zabbix_user,
zabbix_pass => $zabbix_pass,
Expand Down
4 changes: 2 additions & 2 deletions manifests/startup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
ensure => file,
mode => '0664',
content => template("zabbix/${name}-systemd.init.erb"),
} ~>
Exec['systemctl-daemon-reload']
}
~> Exec['systemctl-daemon-reload']
file { "/etc/init.d/${name}":
ensure => absent,
}
Expand Down
8 changes: 4 additions & 4 deletions manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@
owner => 'zabbix',
group => 'zabbix',
mode => '0755',
} ->
package { 'zabbixapi':
}
-> package { 'zabbixapi':
ensure => $zabbixapi_version,
provider => $puppetgem,
require => Class['ruby::dev'],
} ->
class { '::zabbix::resources::web':
}
-> class { '::zabbix::resources::web':
zabbix_url => $zabbix_url,
zabbix_user => $zabbix_api_user,
zabbix_pass => $zabbix_api_pass,
Expand Down

0 comments on commit b44b021

Please sign in to comment.