Skip to content

bdemetris/gosal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gosal (sal-client)

Gosal is an alpha project, and should not be considered for production use at this time. There is no support, pull requests accepted :)

Overview

Gosal is intended to be a multi platform client for sal.

Getting Started

Your configuration file should be json formatted as follows:

{
  "key": "your gigantic machine group key",
  "url": "https://urltoyourserver.com/",
  "management": {
    "tool": "puppet",
    "path": "C:\\Program Files\\Puppet Labs\\Puppet\\bin\\puppet.bat",
    "command": "facts"
  }
}

Running gosal

Gosal requires the configuration file to be passed in as an argument like so...

Windows Example

gosal.exe --config "C:\path\to\config.json"

Building

To build the project after cloning:

make deps
make build

New macOS and windows binaries will be added to the build/ directory.

Dependencies

Gosal uses dep to manage external dependencies. Run make deps to install/update the required dependencies. After adding a new dependency, run dep ensure -update, which will update the Gopkg.lock file. See Adding a dependency for more.

Formatting your code

Go has an exceptional formatter - please use it!

gofmt -s -w *.go
gofmt -s -w ./*/*.go

About

A Sal client written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.1%
  • Makefile 9.9%