Created
June 18, 2014 15:46
-
-
Save WhatsARanjit/0e7c4976c5f812c43f0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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