Last active
August 29, 2015 13:57
-
-
Save thoraxe/9769071 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
class motd ($message = 'This is the default message') { | |
file { '/etc/motd': | |
content => "$message \n", | |
} | |
} |
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
[root@client-10 ~]# puppet agent --test --noop | |
Warning: Unable to fetch my node definition, but the agent run will continue: | |
Warning: Error 400 on SERVER: Failed to find client-10.ejacobs.local via exec: Execution of '/etc/puppet/node.rb client-10.ejacobs.local' returned 1: | |
Info: Retrieving plugin | |
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://satellite.ejacobs.local/plugins | |
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node client-10.ejacobs.local: Failed to find client-10.ejacobs.local via exec: Execution of '/etc/puppet/node.rb client-10.ejacobs.local' returned 1: | |
Warning: Not using cache on failed catalog | |
Error: Could not retrieve catalog; skipping run |
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
Welcome to ACME Corporation! | |
You are logged into <%= host.fqdn %> - be careful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment