Permalink
Browse files

Stripping hostname removal in the pursuit of indempotence.

  • Loading branch information...
nefarioustim committed Apr 9, 2012
1 parent 85828d0 commit f37bb8db447b19457e27a0a38a531295b388e782
Showing with 0 additions and 8 deletions.
  1. +0 −8 rename.pp
View
@@ -1,12 +1,4 @@
define rename() {
- host { [
- $::hostname,
- $::fqdn
- ]:
- ensure => absent,
- before => Host['newhost'],
- }
-
$alias = regsubst($name, '^([^.]*).*$', '\1')
host { "newhost":

0 comments on commit f37bb8d

Please sign in to comment.