Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Stripping hostname removal in the pursuit of indempotence.

  • Loading branch information...
commit f37bb8db447b19457e27a0a38a531295b388e782 1 parent 85828d0
Tim Huegdon authored April 09, 2012

Showing 1 changed file with 0 additions and 8 deletions. Show diff stats Hide diff stats

  1. 8  rename.pp
8  rename.pp
... ...
@@ -1,12 +1,4 @@
1 1
 define rename() {
2  
-    host { [
3  
-            $::hostname,
4  
-            $::fqdn
5  
-        ]:
6  
-        ensure => absent,
7  
-        before => Host['newhost'],
8  
-    }
9  
-
10 2
     $alias = regsubst($name, '^([^.]*).*$', '\1')
11 3
 
12 4
     host { "newhost":

0 notes on commit f37bb8d

Please sign in to comment.
Something went wrong with that request. Please try again.