Skip to content

Instantly share code, notes, and snippets.

@WhatsARanjit
Created June 18, 2014 15:46
Show Gist options
  • Save WhatsARanjit/0e7c4976c5f812c43f0b to your computer and use it in GitHub Desktop.
Save WhatsARanjit/0e7c4976c5f812c43f0b to your computer and use it in GitHub Desktop.
exec { '/usr/loca/bin/somescript.sh':
unless => 'yum list mypackage'
}
package { 'mypackage':
ensure => installed,
require => Exec['/usr/loca/bin/somescript.sh'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment