mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
Reworked to use Ruby since its needed for Puppet
This commit is contained in:
parent
bff34cde83
commit
4f0169d4fc
21 changed files with 73 additions and 38 deletions
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
if [ -e $1/$2/.r10k-deploy.json ]
|
||||
then
|
||||
/opt/puppetlabs/puppet/bin/ruby $1/$2/scripts/code_manager_config_version.rb $1 $2
|
||||
elif [ -e /opt/puppetlabs/server/pe_version ]
|
||||
then
|
||||
/opt/puppetlabs/puppet/bin/ruby $1/$2/scripts/config_version.rb $1 $2
|
||||
else
|
||||
/usr/bin/git --version > /dev/null 2>&1 &&
|
||||
/usr/bin/git --git-dir $1/$2/.git rev-parse HEAD ||
|
||||
date +%s
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue