modules/nccs_common/init.pp:

class nccs::common {
include nccs::common::hwclock
include nccs::common::lockroot
include nccs::common::login_shells
include nccs::common::network_base
include nccs::common::pam
include nccs::common::passwd
include nccs::common::puppet
include nccs::common::ssh
include nccs::common::sudo
}


then files in modules/nccs_common/:

hwclock.pp
lockroot.pp
...


Error message:

err: Could not retrieve catalog: Could not find class nccs::common::hwclock in namespaces nccs::common at /etc/puppet/modules/nccs_common/manifests/init.pp:3 on node xxxx.yyyy.com