Created
November 9, 2011 02:41
-
-
Save hunner/1350161 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
### output | |
err: /Stage[main]/Keymanager/File[keymanager_dbyml]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /mnt/apigee/keymanager/current/config/database.yml.puppettmp_5679 at /etc/puppet/modules/keymanager/manifests/init.pp:60 | |
notice: /Stage[main]/Keymanager/File[keymanager_current]/ensure: created | |
### manifest | |
file { | |
"keymanager_current": | |
path => "${apigeemnt}/keymanager/current", | |
ensure => link, | |
owner => apache, | |
group => apache, | |
target => "${keymanager_rel}", | |
require => Exec['keymanager_install'], | |
; | |
"keymanager_dbyml": | |
path => "${apigeemnt}/keymanager/current/config/database.yml", | |
owner => apache, | |
group => apache, | |
mode => 644, | |
source => [ | |
"puppet:///dist/keymanager/config/${customer}/${domain}/database.yml.${hostname}", | |
"puppet:///dist/keymanager/config/${customer}/${domain}/database.yml.${apgenv}", | |
"puppet:///dist/keymanager/config/${customer}/database.yml", | |
], | |
require => Exec["keymanager_install"], | |
; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment