Sal Scripts version 0.8.0 and greater on 10.6.8

10 views
Skip to first unread message

Matt Ware

unread,
Feb 18, 2016, 9:40:56 AM2/18/16
to sal-d...@googlegroups.com
We have a single machine that runs 10.6.8 still and it seems to have problems with any version of the sal scripts past 0.7.5. All the newer versions throw an error like this:

  File "/usr/local/munki/postflight.d/sal-postflight", line 489, in <module>
    main()
  File "/usr/local/munki/postflight.d/sal-postflight", line 44, in main
    report['MachineInfo']['SystemProfile'] = get_sys_profile()
  File "/usr/local/munki/postflight.d/sal-postflight", line 153, in get_sys_profile
    stdout = subprocess.check_output(command)
AttributeError: 'module' object has no attribute 'check_output'
Done.


Rolling back to 0.7.5 resolves and lets the machine report in. Anyone else seeing similar issues? Thanks.

--

Graham Gilbert

unread,
Feb 18, 2016, 9:42:30 AM2/18/16
to sal-d...@googlegroups.com
Sorry, I don't think any version of Sal has ever been tested on 10.6. I would definitely take a pull request for a fix though (I don't have any install media for 10.6 so can't even test in a VM). 

Sent from my iPhone




--
You received this message because you are subscribed to the Google Groups "sal-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sal-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages