Closed sibrcode closed 6 years ago
Sierra systems where facter was installed while using macOS 12.0 or 12.1 won't have issues, but 12.2 or later systems will. Main issue is installer trying to create file at /usr/bin/facter
, and SIP does not allow any new files to be created in /usr/bin
.
From a working install:
/usr/bin/facter
to /usr/local/bin/facter
on targetsudo chmod ugo+x /usr/local/bin/facter
/Library/Ruby/Sites/facter.rb
to the same location on target/Library/Ruby/Sites/facter
to the same location on targetNow recommending to use the gem command, which currently installs facter 2.5.1.
Issue #18 addresses a new problem, which is how to best add in the new facts.
Puppet hasn't releases a 2.x installer that is compatible with all 10.12 systems.
When running the installer you may get a message saying:
I haven't found a convenient workaround yet, although it may simply be some missing directories that normally aren't allowed with SIP.