Skip to content

Instantly share code, notes, and snippets.

@davehewy
Created October 25, 2016 13:53
Show Gist options
  • Save davehewy/b392f661a72019ccf402c8caf925d14d to your computer and use it in GitHub Desktop.
Save davehewy/b392f661a72019ccf402c8caf925d14d to your computer and use it in GitHub Desktop.
hybris build example
exec{'buildhybris':
cwd => 'hybris_install_dir',
cmd => './build.sh',
unless => "/usr/bin/test -f /tmp/hybris_build_done",
timeout => 600,
before => File['/tmp/hybris_build_done']
}
file{'/tmp/hybris_build_done':
ensure => present
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment