Displaying 1 result from an estimated 1 matches for "web_config".
Did you mean:
net_config
2011 Aug 11
9
Custom manifest
...execute a command basis on some criteria in puppet. For example, I
would want to execute the following command
svn up; /usr/local/apache/bin/apachectl restart
only if "revision number of file on host = revision number of file on svn"
i.e.
"/usr/bin/svn info /usr/local/apache/conf/Web_Config/httpd.conf | grep
Revision| cut -d: -f2| sed -e''s/ //g''" = "/usr/bin/svn info
http://svn.myhost.com/svn/Configuration_Management/Backup/Web_Config/httpd.conf|
grep Revision| cut -d: -f2| sed -e''s/ //g''"
Is it possible or instead can I do a md5sum...