Hi,
I have installed pe 2015.3.1 and I am doing testing with sample custom modules
test1.pp
class test::test1{
enbl = "running"
}
include test::test1
test2.pp
class test::test2{
include 'test::test1'
service { 'ntpd':
ensure => $test::test1::enbl
}
}
include test::test2
when I run `puppet apply -t --noop test2.pp` getting below error
Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::test::test1 for master.example.com at /etc/puppetlabs/code/environments/production/modules/test/test2.pp:2:1 on node
↧