Created
May 3, 2012 05:19
-
-
Save donjohnson/2583422 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
[[email protected] ~]# date;puppet agent --onetime --test --noop | |
Thu May 3 01:16:16 EDT 2012 | |
info: Caching catalog for ps7.p | |
info: Applying configuration version '1336022164' | |
notice: Finished catalog run in 0.10 seconds | |
[[email protected] ~]# date;puppet agent --onetime --test --noop | |
Thu May 3 01:16:19 EDT 2012 | |
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template sitefiles/motd/default: Could not find value for 'ys_catalog_version' at 7:/etc/puppet/modules/site/sitefiles/templates/motd/default at /etc/puppet/modules/dist/motd/manifests/init.pp:6 on node ps7.p | |
warning: Not using cache on failed catalog | |
err: Could not retrieve catalog; skipping run | |
[[email protected] ~]# date;puppet agent --onetime --test --noop | |
Thu May 3 01:16:24 EDT 2012 | |
info: Caching catalog for ps7.p | |
info: Applying configuration version '1336022181' | |
notice: Finished catalog run in 0.10 seconds | |
_____________ | |
/etc/motd template: | |
<%= fqdn %> :: <%= scope.lookupvar('::temp_name') %> :: <%= ipaddress %> | |
<%= "#{operatingsystem.downcase} #{operatingsystemrelease.strip} (#{architecture})" %> :: <%= "#{kernel.downcase} #{kernelrelease}" %> | |
<%= scope.lookupvar('::description') %> <%= " (#{ys_server_role.upcase})" if has_variable?("ys_server_role") %> | |
<%= ys_build_notes.strip.chomp if has_variable?("ys_build_notes") %> | |
catalog version <%= ys_catalog_version %> | |
catalog date <%= ys_catalog_date %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment