Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2012 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/55bf738a49edff788aeb to your computer and use it in GitHub Desktop.
Save anonymous/55bf738a49edff788aeb to your computer and use it in GitHub Desktop.
node basics {
ssh::motd::msg { 'global': message => $message }
}
node foo inherits basics {
}
node bar inherits basics {
ssh::motd::msg { 'bar': message => 'custom message only for bar node' } // works, but message from 'basics' is also sent - is it possible to override ssh::motd::msg call from here?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment