Skip to content

Commit

Permalink
Merge pull request #426 from unki/force-config-dir-removal
Browse files Browse the repository at this point in the history
if $purge_config_dir=true, force-manage config_dir
  • Loading branch information
baurmatt authored Feb 27, 2020
2 parents bb377e2 + 128dc40 commit a79dae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@
mode => $prometheus::server::config_mode,
purge => $prometheus::server::purge_config_dir,
recurse => $prometheus::server::purge_config_dir,
force => $prometheus::server::purge_config_dir,
}
}
3 changes: 2 additions & 1 deletion spec/classes/prometheus_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
'owner' => 'root',
'group' => 'prometheus',
'purge' => true,
'recurse' => true
'recurse' => true,
'force' => true
)
}

Expand Down

0 comments on commit a79dae2

Please sign in to comment.