Question : Module : New to puppet, Needs help in writing a module to copy files from server to agent?
Needs help in writing a module to copy files from server to agent?
tried using the module command on my ubuntu puppet server
The answer got for module subcommand
puppet module generate mpower mymodule The program 'puppet' is currently not installed. You can install it by typing: apt-get install puppet
I confirmed that my puppetmaster is running So tried the same with puppetmasterd, response got is below
puppetmasterd module generate mpower mymodule
Could not run: Could not create PID file: /var/run/puppet/puppetmasterd.pid
What is the command to be used?
Creation of a module can be done manually too, there was a caution given on json file presense What is that?