Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

xbps.rb

  • Torbjörn Lönnemark's avatar
    7179a73f
    Fix facter error on non-Linux operating systems · 7179a73f
    Torbjörn Lönnemark authored
    They do not have the 'distro' key in the 'os' fact, which caused an
    error when Puppet attempted determine whether to use the provider:
    
    error while resolving custom facts in /var/puppet/lib/facter/package_provider.rb: Could not autoload puppet/provider/package/xbps: undefined method `[]' for nil:NilClass
    
    One OS where this occured is FreeBSD.
    7179a73f
    History
    Fix facter error on non-Linux operating systems
    Torbjörn Lönnemark authored
    They do not have the 'distro' key in the 'os' fact, which caused an
    error when Puppet attempted determine whether to use the provider:
    
    error while resolving custom facts in /var/puppet/lib/facter/package_provider.rb: Could not autoload puppet/provider/package/xbps: undefined method `[]' for nil:NilClass
    
    One OS where this occured is FreeBSD.