Skip to content

Commit

Permalink
change :: to :. Use Stdlib::Absolutepath for params
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFedotov authored and Maksim Fedotov committed Sep 6, 2018
1 parent fe84efd commit 0c9e8ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
String $service_name = $proxysql::params::service_name,
String $service_ensure = $proxysql::params::service_ensure,

String $datadir = $proxysql::params::datadir,
Stdlib::Absolutepath $datadir = $proxysql::params::datadir,

String $listen_ip = $proxysql::params::listen_ip,
Integer $listen_port = $proxysql::params::listen_port,
Expand All @@ -170,10 +170,10 @@

Boolean $split_config = $proxysql::params::split_config,

String $proxy_config_file = $proxysql::params::proxy_config_file,
Stdlib::Absolutepath $proxy_config_file = $proxysql::params::proxy_config_file,
Boolean $manage_proxy_config_file = $proxysql::params::manage_proxy_config_file,

String $config_file = $proxysql::params::config_file,
Stdlib::Absolutepath $config_file = $proxysql::params::config_file,
Boolean $manage_config_file = $proxysql::params::manage_config_file,

String $mycnf_file_name = $proxysql::params::mycnf_file_name,
Expand Down
6 changes: 3 additions & 3 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
}
}

group { $::proxysql::sys_group:
group { $proxysql::sys_group:
ensure => 'present',
}

user { $::proxysql::sys_owner:
user { $proxysql::sys_owner:
ensure => 'present',
groups => $::proxysql::sys_group,
groups => $proxysql::sys_group,
}

file { 'proxysql-datadir':
Expand Down
2 changes: 1 addition & 1 deletion manifests/reload_config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
SAVE MYSQL VARIABLES TO DISK; \"
",
subscribe => $subscribe,
require => [ Service[$::proxysql::service_name] , File['root-mycnf-file'] ],
require => [ Service[$proxysql::service_name] , File['root-mycnf-file'] ],
refreshonly => true,
}
}

0 comments on commit 0c9e8ab

Please sign in to comment.