When I run puppet apply, puppet does not find the git::config class:
sudo puppet apply --modulepath=/etc/puppet/modules /etc/puppet/manifests/site.pp
config file :
#/etc/puppet/modules/git/manifests/config.pp
define git::config{
//------------
}
git module :
#/etc/puppet/modules/git/manifests/init.pp
class git {
include git::install
include git::config
}
class git::install{
package {'git': => present }
}
I am importing the git module via nodes.pp:
#/etc/puppet/manifests/nodes.pp
node default {
}
include git
site.pp imports nodes.pp as shown below:
#/etc/puppet/manifests/site.pp
import 'nodes.pp'
How do i resolve this?