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