Ask Your Question
0

Using puppet apply oneliner to pull files from puppetmaster

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

dswan gravatar image

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

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
0

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

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

Stats

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

Seen: 32 times

Last updated: May 27