Last active
February 26, 2016 11:05
-
-
Save txmoose/c15966b6655259278f49 to your computer and use it in GitHub Desktop.
Simple sls to install repo.saltstack.com for Ubuntu 14.04
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
# cat saltstack/repo.sls | |
salt_repo: | |
pkgrepo.managed: | |
- humanname: saltstack | |
- name: deb http://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main | |
- file: /etc/apt/sources.list.d/saltstack.list | |
- key_url: salt://saltstack/SALTSTACK-GPG-KEY.pub | |
Output of command is: | |
# salt MINION state.sls repo | |
MINION: | |
Data failed to compile: | |
---------- | |
No matching sls found for 'repo' in env 'base' | |
ERROR: Minions returned with non-zero exit code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment