Is there a way to blow away the cache and refresh? We don't use ENC in this environment, just a simple site.pp, which references nodes.pp.
Segue, what I like about ENC is that you can call your homegrown script, get a yaml of params, classes for that node. I wish I could get something similar with site.pp. It would just be another level of debugging that could prove helpful.
This is what I have in a nutshell (simplified version):
nodes.pp
============
node /^stg-resque[0-9][0-9].
mycompany.com$/ inherits base {
$packages = [ 'ImageMagick', 'git', 'libxml2-devel', 'libxslt-devel', ... ]
include network, nrpe, deployenv, deployenv::rvm, ...
}
The problem, is that there are deployenv, deployenv::passenger, and deployenv::rvm. Somehow, deployenv::passenger is being picked up, even though it is not explicitly specified in the nodes.pp.
deployent/manifests/rvm.pp
================
class deployenv::rvm () {
exec { gems: ... }
exec { bundler: ... }
}
deployent/manifests/init.pp
================
class deployenv {
group { deploy: ...}
user { deploy: ...}
file { .ssh: ...}
file { deploy_dirs: ... }
}
deployent/manifests/passenger.pp
================
class deployenv::passenger () {
file { nginx.conf: ... }
exec { nginx_install: ...}