Skip to content

Instantly share code, notes, and snippets.

@igalic
Created October 6, 2013 15:21
Show Gist options
  • Save igalic/6855321 to your computer and use it in GitHub Desktop.
Save igalic/6855321 to your computer and use it in GitHub Desktop.
# special bots
node /bots(32|26)/ {
# make sure our base profile is applied first:
anchor { 'bots-begin': } ->
class { 'base': } ->
# These bots are speshul:
class { 'specialbot': } ->
anchor { 'bots-end': }
}
# all other bots:
node /bots.*/ {
# make sure our base profile is applied first:
anchor { 'bots-begin': } ->
class { 'base': } ->
# then, the bot stuff:
class { 'bot': } ->
anchor { 'bots-end': }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment