Ask Your Question

Using puppet apply oneliner to pull files from puppetmaster

asked 2017-05-26 17:49:36 -0600

dswan gravatar image

puppet apply -e "file { '/var/tmp/': ensure => file, source => 'puppet:///modules/base/infrastructure/bash_scripts/' }"

This doesn't work. Tcpdump confirms that it's not even trying to access the puppetmaster.

How to I convince puppet apply to pull from the puppet master?

(Note: puppetmaster is configured in puppet.conf. puppet agent otherwise works fine)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-27 00:50:33 -0600

Red Cricket gravatar image

puppet apply does not contact a puppet master. puppet agent does. Execute puppet help apply for information about your specific version of puppet.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-05-26 17:49:36 -0600

Seen: 42 times

Last updated: May 27 '17