On 6/9/14, 1:16 PM, Kevin Stasko wrote:
> 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!
>
Hi Kevin,
This indicates that the code is not in the modulepath. Look at the
results from `puppet config print modulepath` and check that at least
one of the returned path's has your module present.
$modulepath/drush/manifests/init.pp must exist.
likely you have $modulepath/puppet-drush or a simple permissions issue.
Best regards,
-g
--
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile: +1.206.414.8658
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5395F19A.4020705%40garretthoneycutt.com.
For more options, visit https://groups.google.com/d/optout.