Last active
January 2, 2016 21:18
-
-
Save mmlb/8362219 to your computer and use it in GitHub Desktop.
gpsd sls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpsd: | |
pkg: | |
- installed | |
- sources: | |
- gpsd: salt://gpsd/gpsd.deb | |
- gpsd-clients: salt://gpsd/gpsd-clients.deb | |
- libgps20: salt://gpsd/libgps20.deb | |
- libgps-dev: salt://gpsd/libgps-dev.deb | |
- python-gps: salt://gpsd/python-gps.deb | |
file.managed: | |
- name: /etc/default/gpsd | |
- source: salt://gpsd/conf | |
- template: jinja | |
- defaults: | |
devices: '/dev/ttyS1' | |
- user: root | |
- group: root | |
- mode: 644 | |
- require: | |
- pkg: chrony | |
service.running: | |
- enable: True | |
- watch: | |
- file.managed: /etc/default/gpsd | |
- require: | |
- pkg: gpsd | |
pkg.set_selections: | |
module.wait: | |
- watch: | |
- pkg: gpsd | |
- selection: | |
hold: | |
- gpsd | |
- gpsd-clients | |
- libgps20 | |
- libgps-dev | |
- python-gps |
dlanderson
commented
Jan 10, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment