require 'rugged' environmentpath = ARGV[0] environment = ARGV[1] repo = Rugged::Repository.discover(File.join(environmentpath, environment)) head = repo.head #sha1 hash of the newest commit head_sha = head.target_id #the commit message associated the newest commit commit = repo.lookup(head_sha) #add something to find the remote url puts head_sha m+xml'/>

git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/example.pp
blob: 0b48c3a10fc62e2ce49319ffa37c54f9fb6c114b (plain)
1
2
3
class profile::example {

}