Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

another kind of error "Could not find class"

$
0
0
i use "puppet apply" to test the code: module name: zx file /etc/puppet/modules/test/manifests/init.pp: class zx { include zx::install } include zx file /etc/puppet/modules/test/manifests/install.pp: class zx::install { (some resource code) } and then, i use "puppet apply -tv --noop /etc/puppet/modules/zx/manifests/init.pp", and error : Error: Could not find class zx::install for xxxx on node xxxx i want to know why??? because i use "puppet apply modules/zx/test/init.pp", it works. and i copy modules/zx/manifests/init.pp to another dir, then "puppet apply", it works too. that is very strange.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>