Commit 6cce4b76 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

add path parameter to an exec

parent 1556c497
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ define apache::cert::hash(
  # Create the link if ensure is present.
  if ($ensure == 'present') {
    exec { "openssl hash link ${directory}/${name}":
      path    => '/usr/bin',
      command => "ln -s ${directory}/${name} ${directory}/${hashcommand}.0",
      unless  => "[ -f \"${directory}/${hashcommand}.0\" ]",
      require => $::osfamily ? {