Created
August 26, 2010 14:24
-
-
Save panterch/551479 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
node "works" { | |
include rails # where 'rails' can be an empty class... | |
file { "/etc/apache2/sites-available/railsapp": | |
ensure => present, | |
source => "puppet:///modules/rails/apache", | |
} | |
} | |
node "does_not_work" { | |
include rails | |
file { "/etc/apache2/sites-available/rails": | |
ensure => present, | |
source => "puppet:///modules/rails/apache", | |
} | |
} |
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
the node does_not_work produces the following output: | |
debug: Using cached certificate for ca | |
debug: Using cached certificate for lxc2.panter.local | |
debug: Using cached certificate_revocation_list for ca | |
debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using | |
pson | |
debug: importing '/etc/apache2/sites-available/rails' in environment production | |
err: Could not retrieve catalog from remote server: Could not intern from pson: | |
Syntax error at '<' at /etc/apache2/sites-available/rails:2 | |
debug: Using cached catalog for lxc2.panter.local | |
notice: Using cached catalog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment