small medium large xlarge

03 Sep 2012, 15:04
Alistair Young (5 posts)

Trying to install database.yml from p48 I get this error:

err: /Stage[main]/Massiveapp/File[/var/massiveapp/shared/config/database.yml]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/massiveapp/files/database.yml at /etc/puppet/modules/massiveapp/manifests/init.pp:18

with this config:

class massiveapp { file { [“/var/massiveapp/”, “/var/massiveapp/shared/”, “/var/massiveapp/shared/config/”]: ensure => directory, owner => vagrant, group => vagrant, mode => 775 } file { “/var/massiveapp/shared/config/database.yml”: ensure => present, owner => vagrant, group => vagrant, mode => 600, source => “puppet:///modules/massiveapp/files/database.yml” } }

03 Sep 2012, 15:09
Alistair Young (5 posts)

Looks like too much confusion on my part! Forgot database.yml is not the same path as ‘source’ and it has to go in the files directory. All working now and thoroughly enjoying this book.

14 Sep 2012, 00:13
Tom Copeland (78 posts)

Great, glad to hear it!

You must be logged in to comment