Skip to content

Commit

Permalink
remove empty dirs and gitkeeps
Browse files Browse the repository at this point in the history
  • Loading branch information
iglov committed Aug 14, 2019
1 parent a253883 commit a21d296
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Empty file removed lib/puppet/provider/.gitkeep
Empty file.
Empty file removed lib/puppet/type/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
$service_enable = $chrony::params::service_enable,
$service_ensure = $chrony::params::service_ensure,
$service_manage = $chrony::params::service_manage,
$service_name = $chrony::params::service_name,) inherits
chrony::params {
$service_name = $chrony::params::service_name,
) inherits chrony::params {

if ! $config_keys_manage and $chrony_password != 'unset' {
fail("Setting \$config_keys_manage false and \$chrony_password at same time in ${module_name} is not possible.")
Expand Down
3 changes: 2 additions & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# install chrony
class chrony::install (
$package_ensure = $chrony::package_ensure,
$package_name = $chrony::package_name,) inherits chrony {
$package_name = $chrony::package_name,
) inherits chrony {
package { 'chrony':
ensure => $package_ensure,
name => $package_name,
Expand Down
1 change: 0 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,4 @@
$makestep_seconds = 10
$makestep_updates = 3
$bindcmdaddress = ['127.0.0.1', '::1']

}
3 changes: 2 additions & 1 deletion manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
$service_enable = $chrony::service_enable,
$service_ensure = $chrony::service_ensure,
$service_manage = $chrony::service_manage,
$service_name = $chrony::service_name,) inherits chrony {
$service_name = $chrony::service_name,
) inherits chrony {
if !($service_ensure in ['running', 'stopped']) {
fail('service_ensure parameter must be running or stopped')
}
Expand Down

0 comments on commit a21d296

Please sign in to comment.