Skip to content

Commit fd6493b

Browse files
committed
(PDB-5611) Update legacy facts to structured form
1 parent ff839e3 commit fd6493b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/master/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# installed to revert the change.
5353
if !($puppetdb::params::puppetdb_version in ['present','absent'])
5454
and versioncmp($puppetdb::params::puppetdb_version, '3.0.0') >= 0
55-
and $::osfamily in ['RedHat','Suse'] {
55+
and $facts['os']['family'] in ['RedHat','Suse'] {
5656
exec { 'Remove puppetdb-terminus metadata for upgrade':
5757
command => 'rpm -e --justdb puppetdb-terminus',
5858
path => '/sbin/:/bin/',

0 commit comments

Comments
 (0)