Skip to content

Commit

Permalink
Merge pull request voxpupuli#217 from oranenj/remove_vardir_fact
Browse files Browse the repository at this point in the history
Make use of the stdlib puppet_vardir fact instead of a custom one
  • Loading branch information
dhollinger authored May 4, 2017
2 parents aa0f9af + 4688cf9 commit 09d3f0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions lib/facter/selinux_agent_vardir.rb

This file was deleted.

2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

$refpolicy_package_name = 'selinux-policy-devel'

$module_build_root = "${::selinux_agent_vardir}/puppet-selinux"
$module_build_root = "${facts['puppet_vardir']}/puppet-selinux"

if $::operatingsystemmajrelease {
$os_maj_release = $::operatingsystemmajrelease
Expand Down
3 changes: 1 addition & 2 deletions spec/default_module_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ operatingsystemmajrelease: '7'
# concat facts
id: 0
path: /tmp
# custom fact for module building:
selinux_agent_vardir: /var/lib/puppet
puppet_vardir: /var/lib/puppet

0 comments on commit 09d3f0e

Please sign in to comment.