How to run puppet module
For the life of me I can't figure out how to refresh puppet or maybe I'm not installing the module correctly. Here are my steps:
puppet module generate drm-lumberjack_conf
I write some code under manifests/init.pp which will create /var/tmp/lumberjack.conf then continue with module installation
puppet module build /home/drm/gitrepo/puppet/lumberjackconf
puppet module install /home/drm/gitrepo/puppet/lumberjackconf/pkg/frm-lumberjackconf-0.1.0.tar.gz
puppet apply /home/amocanu/gitrepo/puppet/lumberjackconf/manifests/init.pp
Do I need to both install a module and apply it? Makes no sense to me, a developer.
I restart puppet agent:
sudo /usr/local/bin/puppet agent --test --noop
I check to see if /var/tmp/lumberjack.conf has been created. It never gets created.
What am I missing?
PS - someone pointed out that I need to configure nodes to look for the new module. What does that mean?