Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
Fix the value check when a host is given
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoodlad committed Mar 9, 2013
1 parent 2b8f5cd commit 91b8e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/osx_defaults.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
exec { "osx_defaults write ${host} ${domain}:${key}=>${value}":
command => "${cmd}",
unless => "${defaults_cmd}${host_option} read ${domain} ${key} && (${defaults_cmd} read ${domain} ${key} | awk '{ exit \$0 != \"${value}\" }')",
unless => "${defaults_cmd}${host_option} read ${domain} ${key} && (${defaults_cmd}${host_option} read ${domain} ${key} | awk '{ exit \$0 != \"${value}\" }')",
user => $user
}
} else {
Expand Down

0 comments on commit 91b8e8e

Please sign in to comment.