Skip to content

Instantly share code, notes, and snippets.

@blt
Created August 21, 2011 18:33
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 blt/1160967 to your computer and use it in GitHub Desktop.
Save blt/1160967 to your computer and use it in GitHub Desktop.
node /^db(w|e)(m|s)\d+\.example\.com/ {
include base
}
root@dbwm0:~# puppet agent --server puppet.example.com --test --noop
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'dbwm0.example.com, dbwm0.example, dbwm0' on node dbwm0.example.com
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
# puppet cert --list --all
+ apt.example.com (8E:AE:B7:30:66:45:EC:54:EF:A4:E0:36:3D:33:F2:AE)
+ dbwm0.example.com (1D:92:4C:2A:C1:38:42:94:9D:40:FE:BD:7E:10:16:51)
+ puppet.example.com (E3:34:F8:5D:78:28:D8:08:21:2E:12:71:65:93:56:9F)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment