Last active
October 3, 2016 19:22
-
-
Save bluethundr/eb6ebfd5da5bfedbe45042b2cc992de7 to your computer and use it in GitHub Desktop.
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
## I'm trying to rename a service in a salt state file so that it uses the Red Hat name for apache, but it fails | |
---------- | |
ID: apache | |
Function: pkg.installed | |
Result: False | |
Comment: Error occurred installing package(s). Additional info follows: | |
errors: | |
- Running scope as unit run-19945.scope. | |
Loaded plugins: fastestmirror | |
Loading mirror speeds from cached hostfile | |
* base: mirror.clarkson.edu | |
* epel: mirror.sfo12.us.leaseweb.net | |
* extras: mirror.supremebytes.com | |
* updates: mirror.san.fastserv.com | |
No package apache available. | |
Error: Nothing to do | |
Started: 19:20:24.955209 | |
Duration: 8084.84 ms | |
Changes: | |
---------- | |
ID: apache | |
Function: service.running | |
Name: httpd | |
Result: False | |
Comment: One or more requisite failed: webserver.apache | |
Changes: | |
---------- | |
ID: /var/www/index.html | |
Function: file.managed | |
Result: False | |
Comment: The following requisites were not found: | |
require: | |
pkg: httpd | |
Changes: | |
## config file webserver.sls | |
apache: | |
pkg.installed: [] | |
service.running: | |
- name: httpd | |
- require: | |
- pkg: apache | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment