Kevin Stasko
2014-Jun-09 17:16 UTC
[Puppet Users] Beginner: Cannot find class from a very basic manifest.
I'm very new to puppet so this is probably going to be the most trivial
thing but I've been working on this problem for way too long.
I'm creating a Virtual Machine and am using puppet to ensure the four
programs that I need installed are there every time I boot up the VM. These
four programs are SQL, PHP, Apache and Drush. The first three had little to
no issue being installed but Drush is presenting problems. Every time I try
to include the program within my manifest puppet returns...
'Error: Could not find class drush for location [localhost] on node
[mycomputer]'
Like I said my manifest right now is just trying to get the VM running so
it looks something like this...(imagine there are tabs where it needs to be)
node default{
#SETUP
##SQL Install
package {mysql: ensure=>installed}
##PHP Install
package {php: ensure=>installed}
##Apache Install
package {apache: ensure=>installed}
##Drush Install
include drush
}
The drush module I'm using comes from
https://github.com/puphpet/puppet-drush
<https://github.com/puphpet/puppet-drush> which may be the problem but
it's
really the only module available for this program that is up to date. To
clarify I've created a directory with 'drush' as it's name and
am running
this all on Windows 8.1 (I don't know if there are compatibility issues or
not)
I've tried using every method I could find to install this but I get the
same error. Any help or guidance is very much appreciated!
Thanks for your time!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5c81685a-04b8-4726-acbf-20fa48ac9fb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.