Created
July 26, 2012 19:12
-
-
Save jblaine/3183894 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# cfengine_stdlib.cf defines | |
body service_method bootstart | |
{ | |
service_autostart_policy => "boot_time"; | |
service_dependence_chain => "start_parent_services"; | |
windows:: | |
service_type => "windows"; | |
} | |
# end cfengine_stdlib.cf snippet | |
# my policy, which uses it: | |
services: | |
supported:: | |
"$(servicename)" | |
service_policy => "start", | |
service_method => bootstart; # from stdlib | |
# Error shown: | |
# | |
# !! A method attempted to use a bundle "standard_services" that was apparently not defined! | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment