Issue #8351 has been updated by Dan Bode.
There have been a few internal requests for this information to be posted:
here is a blurb that I sent out recently in an email:
<pre>
The ability to drop in arbitrary scripts to execute via ssh with the cloud
provisioner is easy.
Scripts are loaded out of the following directory:
Puppet[:confdir]/scripts/SCRIPT_NAME.erb
the script to use can be specified with the --install-script option to the
install action of the cloud provisioner
puppet node install --install-script SCRIPT_NAME
The script will be compiled as an erb template before it is copied to the
remote node to be executed.
The script has access to all of the options passed to the cloud provisioner via
the options hash, it also has access to these additional values:
# hostname of puppetmaster
options[:server]
# environment to be used
options[:environment]
</pre>
----------------------------------------
Feature #8351: should document how to write custom template
https://projects.puppetlabs.com/issues/8351
Author: Dan Bode
Status: Accepted
Priority: Normal
Assignee:
Category: cloudpack
Target version:
Keywords:
Branch:
Roadmapped: No
The install-script option actually can take any arbitrary template from the
users
Puppet[:confdir/scripts/your_script.erb
This needs to be documented as well as what options it can access via
options[:opt]
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.