FAQ
Hi,

Class ['pythonpip'] -> Class ['myapp']

… should do the trick for you.

Regards,
Tom
On 14 May 2013, at 20:36, Matt F wrote:

I have two modules, and I'm having some dependacy problems:

1 - Install python "pip":

class pythonpip::install {
file {"/root/.pip":
ensure => directory,
owner => root,
group => root,
mode => 755
}
file {"/root/.pip/pip.conf":
ensure => present,
source => 'puppet:///modules/pythonlinux/pip.conf',
mode => 0644,
}
}


2 - install some python packages via "pip":

class myapp::install {
package {
"mechanize":
provider => pip;
"numpy":
provider => pip;
"pandas":
provider => pip;
"reportlab":
provider => pip;
}
}

I want to make sure tha the "pythonpip::install" is alway run before the "myapp::install". How can I do that?

--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMay 14, '13 at 6:36p
activeMay 29, '13 at 12:13p
posts3
users3
websitepuppetlabs.com

3 users in discussion

Matt F: 1 post Tom De Vylder: 1 post Joe: 1 post

People

Translate

site design / logo © 2022 Grokbase