Created
May 31, 2013 14:29
-
-
Save Freeaqingme/5685354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dolf@dolf-ThinkPad-T530{~/Projects/Puppetmaster/environments/production/modules/openssh}:git diff --patch | |
diff --git a/manifests/key.pp b/manifests/key.pp | |
index c83498a..87d9224 100644 | |
--- a/manifests/key.pp | |
+++ b/manifests/key.pp | |
@@ -97,11 +97,11 @@ define openssh::key ( | |
$module_dir = get_module_path('openssh') | |
if generate( | |
- "${module_dir}/scripts/generate_keys.sh", | |
- $def_server_path, | |
- $naming_scheme, | |
- $def_comment | |
- ) { | |
+ "${module_dir}/scripts/generate_keys.sh", | |
+ $def_server_path, | |
+ $naming_scheme, | |
+ $def_comment) or true | |
+ { | |
file { $def_dir: | |
ensure => directory, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment