diff --git a/balazs/orgfiles/cdist.org b/balazs/orgfiles/cdist.org index 53ffe98..ead91d7 100644 --- a/balazs/orgfiles/cdist.org +++ b/balazs/orgfiles/cdist.org @@ -1,4 +1,6 @@ +--- + * Explain the difference between a singleton and non-singleton type: A single type can only be used once per host. @@ -65,3 +67,33 @@ VERBOSE: localhost: Running object __my_computer/ VERBOSE: localhost: Running object __timezone/Europe/Zurich INFO: localhost: Finished successful run in 7.58 seconds VERBOSE: config: Total processing time for 1 host(s): 7.591623544692993 + + +Lesson 05-07 + +** Comment out *__my_nginx* from the initial manifest, keep the *__my_nginx_site* + - Explain the error that you get (in your cdist.org file) + +The manifest __my_nginx wasn't run (or marked as completed) which haven't fulfilled the requirements for __my_nginx_site + +*** LOG + +ERROR: localhost: The requirements of the following objects could not be resolved: +__file/etc/nginx/conf.d/chee.se.conf requires: + __package/nginx +__file/etc/nginx/conf.d/chee.se.conf autorequires: + +__file/etc/nginx/conf.d/woo.com.conf requires: + __package/nginx +__file/etc/nginx/conf.d/woo.com.conf autorequires: + +__my_nginx_site/woo.com requires: + +__my_nginx_site/woo.com autorequires: + __file/etc/nginx/conf.d/woo.com.conf +__my_nginx_site/chee.se requires: + +__my_nginx_site/chee.se autorequires: + __file/etc/nginx/conf.d/chee.se.conf +VERBOSE: config: Total processing time for 1 host(s): 8.042433500289917 +ERROR: cdist: Failed to configure the following hosts: localhost \ No newline at end of file