Fetching updates from github repos with chef-solo

Can chef-solo check a github repository for updates, put the updates
on the local system and then run itself? Or would a separate cron job,
for example, need to check for new files, then call chef-solo?

Thanks,

mjb.

short - yes. look at the git resource.
long - chef solo differs from chef-client in that it doesn't talk to a chef server… most everything else is the same.

On Jun 5, 2013, at 11:17 PM, Mark J Bradakis mark@bradakis.com wrote:

Can chef-solo check a github repository for updates, put the updates
on the local system and then run itself? Or would a separate cron job,
for example, need to check for new files, then call chef-solo?

Thanks,

mjb.

U need a post receive hook and something like salt or mcollective or
ansible for that
On Jun 5, 2013 8:15 PM, "Mark J Bradakis" mark@bradakis.com wrote:

Can chef-solo check a github repository for updates, put the updates
on the local system and then run itself? Or would a separate cron job,
for example, need to check for new files, then call chef-solo?

Thanks,

mjb.