Set systemsetup OS X

asked 2016-08-02 04:16:51 -0500

marawu gravatar image

updated 2016-08-02 04:20:49 -0500

Hi, i want use Puppet for manage OS X. I need set systemsetup. I find two solution:

  1. - it require "boxen"? "Boxen" must install on OS X?

  2. - I had tried set. I got error:

Failed to apply catalog: Validation of Exec[ | /usr/sbin/systemsetup -settimezone Europe/London] failed: ' | /usr/sbin/systemsetup -settimezone Europe/London' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppetlabs/code/environments/production/modules/systemsetup/manifests/run.pp:51

51 string:

exec { $exec_cmd:
    onlyif =>
      "/usr/sbin/systemsetup -get${key} | grep ${_invert_when_match}'${when_match}'"

How to do it?

edit retag flag offensive close merge delete