Error: Could not find installer script template while bootstrapping GCE

asked 2015-04-09 01:05:31 -0500

Hello All,

I am new to puppet and have been trying to bootstrap a GCE. I am hitting an error (shown below) and really not sure how to overcome it. Any help provided would be really appreciated.

puppet node_gce --trace bootstrap --project t*-*-77890 pe-agent1 n1-standard-1 --image rhel-6 --image-search rhel-cloud --login mylogin --install-script /root/installpuppet.sh

Error: Could not find installer script template for /root/installpuppet.sh /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/cloudpack/installer.rb:38:in find_template' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/cloudpack.rb:444:inblock (2 levels) in addpayloadoptions' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/interface.rb:218:in block in __invoke_decorations' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/interface.rb:217:ineach' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/interface.rb:217:in __invoke_decorations' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/interface/action.rb+eval[wrapper]:241:inbootstrap' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/application/facebase.rb:229:in main' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:389:inruncommand' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/application.rb:381:in block (2 levels) in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:507:inpluginhook' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/application.rb:381:in block in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:488:inexitonfail' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/application.rb:381:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:146:inrun' /opt/puppet/lib/ruby/siteruby/1.9.1/puppet/util/commandline.rb:92:in execute' /opt/puppet/bin/puppet:8:in<main>' Error: Try 'puppet help node_gce bootstrap' for usage

[root@puppet-master ~]# cat installpuppet.sh sh /home/*/puppet-enterprise-3.7.2-el-6-x86_64/puppet-enterprise-installer -a /home/*/puppet-enterprise-3.7.2-el-6-x8664/agentno_cloud.sample &> /installpuppet.log

cat /home/*/puppet-enterprise-3.7.2-el-6-x8664/agentno_cloud.sample

qinstall=y qvendorpackagesinstall=y qpuppetdbinstall=n qpuppetcloudinstall=n qallinoneinstall=n qpuppetagentcertname=hostname -f qpuppetagentinstall=y qpuppetagentserver=puppet-master.c.friendly-medley-88807.internal qpuppetcainstall=n qpuppetdbinstall=n qpuppetmasterinstall=n qrun_updtvpkg=n

Thanks.

edit retag flag offensive close merge delete